summaryrefslogtreecommitdiff
path: root/net/6tunnel
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-12 02:14:13 +0000
committerjoerg <joerg>2008-06-12 02:14:13 +0000
commit39d7fb93432416d872ed34e0025741cc93068c06 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /net/6tunnel
parentcce8b72ae5b66d3a54ac565ef8ac6780597301bc (diff)
downloadpkgsrc-39d7fb93432416d872ed34e0025741cc93068c06.tar.gz
Add DESTDIR support.
Diffstat (limited to 'net/6tunnel')
-rw-r--r--net/6tunnel/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/6tunnel/Makefile b/net/6tunnel/Makefile
index 97a295bed15..70ff309cdc4 100644
--- a/net/6tunnel/Makefile
+++ b/net/6tunnel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2007/01/07 09:14:01 rillig Exp $
+# $NetBSD: Makefile,v 1.10 2008/06/12 02:14:38 joerg Exp $
#
DISTNAME= 6tunnel-0.09
@@ -8,6 +8,8 @@ MASTER_SITES= ftp://amba.bydg.pdi.net/pub/wojtekka/
MAINTAINER= zuntum@NetBSD.org
COMMENT= v4/v6 protocol translation
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/6tunnel
NOT_FOR_PLATFORM+= Interix-*-* # no IPv6 support
@@ -24,7 +26,7 @@ do-build:
${CC} ${CFLAGS} -o ${WRKSRC}/6tunnel ${WRKSRC}/6tunnel.c ${LDFLAGS}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/6tunnel ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/6tunnel.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/6tunnel ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/6tunnel.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"