summaryrefslogtreecommitdiff
path: root/net/jwhois
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-11 21:43:39 +0000
committerjoerg <joerg>2010-02-11 21:43:39 +0000
commitdbe289c6c19e26c66e173244c745f612b92e259d (patch)
treef932f0ce70213613dcc731f922e8a872c0a0285e /net/jwhois
parent5245717243fd967c77db29f8e740da071d165a68 (diff)
downloadpkgsrc-dbe289c6c19e26c66e173244c745f612b92e259d.tar.gz
DESTDIR support
Diffstat (limited to 'net/jwhois')
-rw-r--r--net/jwhois/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/net/jwhois/Makefile b/net/jwhois/Makefile
index 5d1df05cbfd..48600e94aa0 100644
--- a/net/jwhois/Makefile
+++ b/net/jwhois/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2009/05/19 08:59:27 wiz Exp $
+# $NetBSD: Makefile,v 1.63 2010/02/11 21:53:00 joerg Exp $
#
DISTNAME= jwhois-4.0
@@ -10,6 +10,8 @@ HOMEPAGE= http://www.gnu.org/software/jwhois/
COMMENT= Configurable WHOIS client
LICENSE= gnu-gpl-v3
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
@@ -27,10 +29,11 @@ INFO_FILES= YES
.include "../../devel/gettext-lib/buildlink3.mk"
CONFIGURE_ARGS+= --with-libintl-prefix=${BUILDLINK_PREFIX.gettext}
+INSTALLATION_DIRS+= ${EGDIR}
+
post-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/example/jwhois.conf \
- ${EGDIR}/jwhois.conf.default
+ ${DESTDIR}${EGDIR}/jwhois.conf.default
.include "../../devel/libidn/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"