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 | 80f8f7c3b3aa5f5f64de1111703eed75cf2b333b (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /net/whoson/Makefile | |
parent | df12796d2c7ff30316099a62cbdf43f49006d442 (diff) | |
download | pkgsrc-80f8f7c3b3aa5f5f64de1111703eed75cf2b333b.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'net/whoson/Makefile')
-rw-r--r-- | net/whoson/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/net/whoson/Makefile b/net/whoson/Makefile index 3627f080734..246a12d17be 100644 --- a/net/whoson/Makefile +++ b/net/whoson/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2007/02/22 19:27:01 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2008/06/20 01:09:32 joerg Exp $ # DISTNAME= whoson-2.03 @@ -10,6 +10,8 @@ MAINTAINER= abs@NetBSD.org HOMEPAGE= http://whoson.sourceforge.net/ COMMENT= Check if (dynamic) IP address is connected +PKG_DESTDIR_SUPPORT= user-destdir + USE_PKGLOCALEDIR= yes USE_LIBTOOL= yes GNU_CONFIGURE= yes @@ -21,13 +23,14 @@ OWN_DIRS+= ${WHOSOND_CHROOT} EXDIR= ${PREFIX}/share/examples/whoson CONF_FILES= ${EXDIR}/whoson.conf ${PKG_SYSCONFDIR}/whoson.conf +INSTALLATION_DIRS= ${EXDIR} + # Run this here as whoson's 'install' target will install if not present pre-build: ${SED} 's:@@CHROOTDIR@@:${WHOSOND_CHROOT}:g' < ${FILESDIR}/whoson.conf \ > ${WRKSRC}/whoson.conf post-install: - ${INSTALL_DATA_DIR} ${EXDIR} - ${INSTALL_DATA} ${WRKSRC}/whoson.conf ${EXDIR}/whoson.conf + ${INSTALL_DATA} ${WRKSRC}/whoson.conf ${DESTDIR}${EXDIR}/whoson.conf .include "../../mk/bsd.pkg.mk" |