diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-11 21:43:39 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-11 21:43:39 +0000 |
commit | 8a7d95efaa5598453a1b107fc629f7b64a817ca8 (patch) | |
tree | f932f0ce70213613dcc731f922e8a872c0a0285e /net/jwhois | |
parent | 53912abe3b272dcd48ec653f1a31c8e81425f268 (diff) | |
download | pkgsrc-8a7d95efaa5598453a1b107fc629f7b64a817ca8.tar.gz |
DESTDIR support
Diffstat (limited to 'net/jwhois')
-rw-r--r-- | net/jwhois/Makefile | 9 |
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" |