diff options
Diffstat (limited to 'net/6tunnel/Makefile')
-rw-r--r-- | net/6tunnel/Makefile | 8 |
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" |