summaryrefslogtreecommitdiff
path: root/graphics/cqcam/Makefile
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-01-22 03:04:31 +0000
committerminskim <minskim@pkgsrc.org>2005-01-22 03:04:31 +0000
commit75c80456d16de72f4b3ce9dc0723bfad13c49ad8 (patch)
treeba94446afdaee3aa0c3a1be6d993e1d071839ddc /graphics/cqcam/Makefile
parente5990c1199fc653275e13a6f97347409cb230525 (diff)
downloadpkgsrc-75c80456d16de72f4b3ce9dc0723bfad13c49ad8.tar.gz
Switch to Tcl/Tk-8.4.
Bump PKGREVISION due to dependency changes.
Diffstat (limited to 'graphics/cqcam/Makefile')
-rw-r--r--graphics/cqcam/Makefile18
1 files changed, 14 insertions, 4 deletions
diff --git a/graphics/cqcam/Makefile b/graphics/cqcam/Makefile
index ebb23ec8c3b..5acf6e34be6 100644
--- a/graphics/cqcam/Makefile
+++ b/graphics/cqcam/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.21 2004/10/03 00:14:49 tv Exp $
+# $NetBSD: Makefile,v 1.22 2005/01/22 03:04:31 minskim Exp $
#
DISTNAME= cqcam-0.45a
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= graphics x11
MASTER_SITES= http://www.cs.duke.edu/~reynolds/cqcam/
EXTRACT_SUFX= .tgz
@@ -15,16 +15,26 @@ ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-alpha
LICENSE= no-profit
+HAS_CONFIGURE= YES
USE_BUILDLINK3= YES
USE_LANGUAGES= c c++
USE_X11= YES
+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 "../../graphics/jpeg/buildlink3.mk"
-.include "../../x11/tk83/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"