From 7d15c2c527b0cb171788f5360a5baca8cd9db73e Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 20 Jun 2008 01:09:05 +0000 Subject: Add DESTDIR support. --- net/awhois/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'net/awhois') 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" -- cgit v1.2.3