pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics DESTDIR support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/acc177896e79
branches:  trunk
changeset: 570575:acc177896e79
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Feb 01 02:52:51 2010 +0000

description:
DESTDIR support

diffstat:

 graphics/cnxtview/Makefile  |  6 +++++-
 graphics/cpia2view/Makefile |  8 +++++---
 2 files changed, 10 insertions(+), 4 deletions(-)

diffs (58 lines):

diff -r d494506ee386 -r acc177896e79 graphics/cnxtview/Makefile
--- a/graphics/cnxtview/Makefile        Mon Feb 01 02:41:52 2010 +0000
+++ b/graphics/cnxtview/Makefile        Mon Feb 01 02:52:51 2010 +0000
@@ -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 @@
 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 -r d494506ee386 -r acc177896e79 graphics/cpia2view/Makefile
--- a/graphics/cpia2view/Makefile       Mon Feb 01 02:41:52 2010 +0000
+++ b/graphics/cpia2view/Makefile       Mon Feb 01 02:52:51 2010 +0000
@@ -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 @@
 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-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
 



Home | Main Index | Thread Index | Old Index