diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
commit | ba171a91fab519f587b027c1a2888cb6e3fce049 (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /net/portmap/Makefile | |
parent | 3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff) | |
download | pkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'net/portmap/Makefile')
-rw-r--r-- | net/portmap/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/net/portmap/Makefile b/net/portmap/Makefile index 5305d431d6f..b426835e90a 100644 --- a/net/portmap/Makefile +++ b/net/portmap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2008/03/07 23:40:06 reed Exp $ +# $NetBSD: Makefile,v 1.2 2008/06/12 02:14:41 joerg Exp $ DISTNAME= portmap_4 PKGNAME= portmap-4 @@ -10,6 +10,8 @@ MAINTAINER= reed@reedmedia.net HOMEPAGE= ftp://ftp.porcupine.org/pub/security/index.html COMMENT= RPC portmapper with access control +PKG_DESTDIR_SUPPORT= user-destdir + # TODO: maybe look at portmap_5beta ? # XXX allow this to install on NetBSD, because this also @@ -21,10 +23,10 @@ NO_CONFIGURE= yes RCD_SCRIPTS= portmap do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/portmap ${PREFIX}/sbin/ - ${INSTALL_PROGRAM} ${WRKSRC}/pmap_dump ${PREFIX}/sbin/ - ${INSTALL_PROGRAM} ${WRKSRC}/pmap_set ${PREFIX}/sbin/ - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/portmap/ + ${INSTALL_PROGRAM} ${WRKSRC}/portmap ${DESTDIR}${PREFIX}/sbin/ + ${INSTALL_PROGRAM} ${WRKSRC}/pmap_dump ${DESTDIR}${PREFIX}/sbin/ + ${INSTALL_PROGRAM} ${WRKSRC}/pmap_set ${DESTDIR}${PREFIX}/sbin/ + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/portmap/ .include "../../security/tcp_wrappers/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |