Thu Feb 11 23:07:16 2010 UTC ()
DESTDIR support


(joerg)
diff -r1.6 -r1.7 pkgsrc/net/udptunnel/Makefile

cvs diff -r1.6 -r1.7 pkgsrc/net/udptunnel/Makefile (expand / switch to context diff)
--- pkgsrc/net/udptunnel/Makefile 2006/10/04 21:53:18 1.6
+++ pkgsrc/net/udptunnel/Makefile 2010/02/11 23:07:16 1.7
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2006/10/04 21:53:18 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2010/02/11 23:07:16 joerg Exp $
 #
 
 DISTNAME=	udptunnel-1.1
@@ -10,10 +10,12 @@
 HOMEPAGE=	http://www1.cs.columbia.edu/~lennox/udptunnel/
 COMMENT=	Tunnel UDP packets over a TCP connection
 
+PKG_DESTDIR_SUPPORT=	user-destdir
+
 GNU_CONFIGURE=		YES
 INSTALLATION_DIRS=	bin share/doc/html
 
 post-install:
-	${INSTALL_DATA} ${WRKSRC}/udptunnel.html ${PREFIX}/share/doc/html/
+	${INSTALL_DATA} ${WRKSRC}/udptunnel.html ${DESTDIR}${PREFIX}/share/doc/html/
 
 .include "../../mk/bsd.pkg.mk"