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 | 3b0d97b0de8516db29699676c860489da3f7f0e1 (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /net/whoson/Makefile | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.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" |