diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 3b0d97b0de8516db29699676c860489da3f7f0e1 (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /net/awhois | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'net/awhois')
-rw-r--r-- | net/awhois/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/awhois/Makefile b/net/awhois/Makefile index c957b9e4316..53af8409282 100644 --- a/net/awhois/Makefile +++ b/net/awhois/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2005/06/17 03:50:24 jlam Exp $ +# $NetBSD: Makefile,v 1.6 2008/06/20 01:09:29 joerg Exp $ # DISTNAME= awhois.sh-v1.61 @@ -11,6 +11,8 @@ MAINTAINER= cjep@NetBSD.org HOMEPAGE= ftp://ftp.planix.com/pub/Planix/ COMMENT= All-encompassing whois client wrapper +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} INSTALLATION_DIRS= bin @@ -21,6 +23,6 @@ do-build: cd ${WRKSRC}; ${CP} ${DISTFILES} awhois; ${CHMOD} +x awhois; do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/awhois ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/awhois ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" |