summaryrefslogtreecommitdiff
path: root/www/www6to4/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-07 18:36:12 +0000
committerjoerg <joerg>2009-07-07 18:36:12 +0000
commit7d9ab15bfb5ee3ca16eebca6db87bae22855aed4 (patch)
treeef0938f0a2ee559d08b9a0ba18b2760cd6e1114a /www/www6to4/Makefile
parent4b6d322a4fda4c9d2176ebad15408b151eedfa6b (diff)
downloadpkgsrc-7d9ab15bfb5ee3ca16eebca6db87bae22855aed4.tar.gz
user-destdir support
Diffstat (limited to 'www/www6to4/Makefile')
-rw-r--r--www/www6to4/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/www/www6to4/Makefile b/www/www6to4/Makefile
index da1ea94575d..2e321567892 100644
--- a/www/www6to4/Makefile
+++ b/www/www6to4/Makefile
@@ -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 @@ MAINTAINER= feico@pasta.cs.uit.no
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