summaryrefslogtreecommitdiff
path: root/net/portmap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/portmap/Makefile')
-rw-r--r--net/portmap/Makefile12
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"