diff options
author | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
commit | 7d15c2c527b0cb171788f5360a5baca8cd9db73e (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /net/awhois | |
parent | 534b5bd9ce0ca747418c84f41f29a7fd1e7121a2 (diff) | |
download | pkgsrc-7d15c2c527b0cb171788f5360a5baca8cd9db73e.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" |