summaryrefslogtreecommitdiff
path: root/net/ipw/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipw/Makefile')
-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"