diff options
author | joerg <joerg> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-06-12 02:14:13 +0000 |
commit | 39d7fb93432416d872ed34e0025741cc93068c06 (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /net/pfnet | |
parent | cce8b72ae5b66d3a54ac565ef8ac6780597301bc (diff) | |
download | pkgsrc-39d7fb93432416d872ed34e0025741cc93068c06.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'net/pfnet')
-rw-r--r-- | net/pfnet/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/net/pfnet/Makefile b/net/pfnet/Makefile index d88b86d80ae..257b8a70299 100644 --- a/net/pfnet/Makefile +++ b/net/pfnet/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2006/10/04 21:53:17 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2008/06/12 02:14:41 joerg Exp $ # DISTNAME= fnet.pl-1.4 @@ -11,18 +11,19 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://web.archive.org/web/20021123084932/http://www.abattoir.com/~banshee/Tech/ COMMENT= Minimal FNET-like ICB client written in Perl +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/fnet-1.4 USE_TOOLS+= perl:run -INSTALLATION_DIRS= bin +INSTALLATION_DIRS= bin ${PERL5_INSTALLVENDORLIB} do-build: ${SED} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/fnet.pl >${WRKSRC}/pfnet do-install: - ${INSTALL_DATA_DIR} ${PERL5_INSTALLVENDORLIB} ${INSTALL_DATA} ${WRKSRC}/CMDLINE.pm ${WRKSRC}/FNET.pm \ - ${PERL5_INSTALLVENDORLIB} - ${INSTALL_SCRIPT} ${WRKSRC}/pfnet ${PREFIX}/bin + ${DESTDIR}${PERL5_INSTALLVENDORLIB} + ${INSTALL_SCRIPT} ${WRKSRC}/pfnet ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" |