pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/www6to4 user-destdir support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dbacbf4bc8f5
branches:  trunk
changeset: 395217:dbacbf4bc8f5
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jul 07 18:36:12 2009 +0000

description:
user-destdir support

diffstat:

 www/www6to4/Makefile |  13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diffs (35 lines):

diff -r 88547fd1ec33 -r dbacbf4bc8f5 www/www6to4/Makefile
--- a/www/www6to4/Makefile      Tue Jul 07 18:35:39 2009 +0000
+++ b/www/www6to4/Makefile      Tue Jul 07 18:36:12 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/10/28 03:00:35 obache Exp $
+# $NetBSD: Makefile,v 1.12 2009/07/07 18:36:12 joerg Exp $
 #
 
 DISTNAME=      www6to4-1.6
@@ -9,19 +9,20 @@
 HOMEPAGE=      http://www.vermicelli.pasta.cs.uit.no/ipv6/software.html
 COMMENT=       Lightweight http proxy, helps IPv4 only browsers
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 BUILD_TARGET=  # empty
 
 WRKSRC=                ${WRKDIR}/www6to4-1-6
 
-INSTALLATION_DIRS=     sbin
+INSTALLATION_DIRS=     sbin share/examples/www6to4
 
 do-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/www6to4
-       ${INSTALL_PROGRAM} ${WRKSRC}/www6to4 ${PREFIX}/sbin
+       ${INSTALL_PROGRAM} ${WRKSRC}/www6to4 ${DESTDIR}${PREFIX}/sbin
        ${INSTALL_DATA} ${WRKSRC}/www6to4.conf \
-               ${PREFIX}/share/examples/www6to4
+               ${DESTDIR}${PREFIX}/share/examples/www6to4
        ${INSTALL_DATA} ${WRKSRC}/www6to4_forward.conf \
-               ${PREFIX}/share/examples/www6to4
+               ${DESTDIR}${PREFIX}/share/examples/www6to4
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.www6to4
 PKG_OPTIONS_REQUIRED_GROUPS=   inet6 # require inet6 capability



Home | Main Index | Thread Index | Old Index