summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-01 02:52:51 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-01 02:52:51 +0000
commitd511f2fbc1ad50c3af6acd4e521396e9f7aa25c4 (patch)
treee7a7fdcc2671f79686b04b4209225bf6f118bdf1 /graphics
parent91651adf9f2f8a6238c794fb3014724154881300 (diff)
downloadpkgsrc-d511f2fbc1ad50c3af6acd4e521396e9f7aa25c4.tar.gz
DESTDIR support
Diffstat (limited to 'graphics')
-rw-r--r--graphics/cnxtview/Makefile6
-rw-r--r--graphics/cpia2view/Makefile8
2 files changed, 10 insertions, 4 deletions
diff --git a/graphics/cnxtview/Makefile b/graphics/cnxtview/Makefile
index 2bd38728cad..cf1626721bb 100644
--- a/graphics/cnxtview/Makefile
+++ b/graphics/cnxtview/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2010/01/18 09:58:57 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2010/02/01 02:52:51 joerg Exp $
#
DISTNAME= cnxtutil-0.00-alpha
@@ -11,12 +11,16 @@ MAINTAINER= hamajima@NetBSD.org
HOMEPAGE= http://www.medias.ne.jp/~takam/bsd/NetBSD.html#webcamnote
COMMENT= Creative WEBCAM Notebook Utility Programs
+PKG_DESTDIR_SUPPORT= user-destdir
+
NOT_FOR_PLATFORM= SunOS-*-* # needs <err.h> and <dev/usb/usb.h>
USE_BSD_MAKEFILE= yes
USE_TOOLS+= groff nroff
MAKE_ENV+= NOGCCERROR=
+INSTALLATION_DIRS+= bin
+
.include "../../graphics/imlib/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"
diff --git a/graphics/cpia2view/Makefile b/graphics/cpia2view/Makefile
index 89ceea11634..0ea9916525e 100644
--- a/graphics/cpia2view/Makefile
+++ b/graphics/cpia2view/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2010/01/18 09:58:57 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2010/02/01 02:57:04 joerg Exp $
#
DISTNAME= cpia2_driver-1.0
@@ -16,10 +16,12 @@ MAINTAINER= hamajima@NetBSD.org
HOMEPAGE= http://home.384.jp/takam/bsd/NetBSD.html#cpia2
COMMENT= USB cameras based CPiA2 Utility Programs
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_BSD_MAKEFILE= yes
USE_TOOLS+= groff nroff
-INSTALLATION_DIRS= ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1
+INSTALLATION_DIRS= bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1
.include "../../mk/bsd.prefs.mk"
@@ -32,7 +34,7 @@ do-build:
do-install:
for f in cpia2shot cpia2view ; do \
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
+ cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ${MAKE_ENV} \
${MAKE_PROGRAM} -f ${MAKE_FILE}.$$f install ; \
done