summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorabs <abs>2009-05-19 22:21:48 +0000
committerabs <abs>2009-05-19 22:21:48 +0000
commit9271b84040b052b655177c2ffac8ab20287e8579 (patch)
tree0c41fdff02de454ffd9a7952a3f166bb34e8e8b5
parent094854ad60661a98d805c6ab3cdc084c5a707a8c (diff)
downloadpkgsrc-9271b84040b052b655177c2ffac8ab20287e8579.tar.gz
+PKG_DESTDIR_SUPPORT
-rw-r--r--net/ipw/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/ipw/Makefile b/net/ipw/Makefile
index ee142d24475..1b81256b0e1 100644
--- a/net/ipw/Makefile
+++ b/net/ipw/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2007/02/22 19:26:53 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2009/05/19 22:21:48 abs Exp $
#
DISTNAME= ipw-3.3a
@@ -13,12 +13,14 @@ COMMENT= "whois" replacement that automatically queries several databases
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin share/doc
+PKG_DESTDIR_SUPPORT= user-destdir
LIBS.SunOS+= -lnsl -lsocket
MAKE_ENV+= LIBS=${LIBS:M*:Q}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ipw ${PREFIX}/bin
- ${INSTALL_DATA} ${FILESDIR}/README ${PREFIX}/share/doc/ipw.README
+ ${INSTALL_PROGRAM} ${WRKSRC}/ipw ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${FILESDIR}/README \
+ ${DESTDIR}${PREFIX}/share/doc/ipw.README
.include "../../mk/bsd.pkg.mk"