summaryrefslogtreecommitdiff
path: root/graphics/cqcam/Makefile
blob: 4d964e0c1ec325e9781d4d88451964bff3037842 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $NetBSD: Makefile,v 1.26 2006/03/04 21:29:46 jlam Exp $
#

DISTNAME=		cqcam-0.45a
PKGREVISION=		3
CATEGORIES=    		graphics x11
MASTER_SITES=		http://www.cs.duke.edu/~reynolds/cqcam/
EXTRACT_SUFX=		.tgz

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.cs.duke.edu/~reynolds/cqcam/
COMMENT=		Free Color QuickCam control program

ONLY_FOR_PLATFORM=	NetBSD-*-i386 NetBSD-*-alpha

LICENSE=		no-profit

HAS_CONFIGURE=		YES
USE_LANGUAGES=		c c++

CONFIGURE_ENV+=		CAT=${CAT:Q} ECHO=${ECHO:Q}			\
			TCLCONFIG_SH=${TCLCONFIG_SH:Q}

.include "../../graphics/jpeg/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"

post-patch:
	${CHMOD} a+x ${WRKSRC}/configure
	${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.in

post-install:
	${RM} ${PREFIX}/man/man1/webcam.1.gz
	${RM} ${PREFIX}/man/man1/xcqcam.1.gz
	${LN} ${PREFIX}/man/man1/cqcam.1 ${PREFIX}/man/man1/webcam.1
	${LN} ${PREFIX}/man/man1/cqcam.1 ${PREFIX}/man/man1/xcqcam.1

.include "../../mk/bsd.pkg.mk"