summaryrefslogtreecommitdiff
path: root/net/nstx
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-11 22:14:30 +0000
committerjoerg <joerg>2010-02-11 22:14:30 +0000
commit2bb3117590b67f1fe0a0c6ab3915e3876f19e80e (patch)
tree158a207e58929596737a90cde12a40358acd9b2d /net/nstx
parent899cbf4f8e2b987e61ce3c40f894971c69412cd3 (diff)
downloadpkgsrc-2bb3117590b67f1fe0a0c6ab3915e3876f19e80e.tar.gz
DESTDIR support
Diffstat (limited to 'net/nstx')
-rw-r--r--net/nstx/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/net/nstx/Makefile b/net/nstx/Makefile
index eda2665342a..eacc13c88eb 100644
--- a/net/nstx/Makefile
+++ b/net/nstx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2005/11/16 02:09:49 minskim Exp $
+# $NetBSD: Makefile,v 1.4 2010/02/11 22:20:52 joerg Exp $
#
DISTNAME= nstx-1.1-beta6
@@ -11,10 +11,13 @@ MAINTAINER= pancake@phreaker.net
HOMEPAGE= http://nstx.dereference.de/nstx/
COMMENT= Nameserver Transfer Protocol
+PKG_DESTDIR_SUPPORT= user-destdir
+
+INSTALLATION_DIRS+= bin share/doc/nstx
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/nstxcd ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/nstxd ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nstx
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/nstx/
+ ${INSTALL_PROGRAM} ${WRKSRC}/nstxcd ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/nstxd ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/nstx
.include "../../mk/bsd.pkg.mk"