summaryrefslogtreecommitdiff
path: root/net/portmap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/portmap/Makefile')
-rw-r--r--net/portmap/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/net/portmap/Makefile b/net/portmap/Makefile
new file mode 100644
index 00000000000..5305d431d6f
--- /dev/null
+++ b/net/portmap/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/03/07 23:40:06 reed Exp $
+
+DISTNAME= portmap_4
+PKGNAME= portmap-4
+PKGREVISION= 3
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.porcupine.org/pub/security/
+
+MAINTAINER= reed@reedmedia.net
+HOMEPAGE= ftp://ftp.porcupine.org/pub/security/index.html
+COMMENT= RPC portmapper with access control
+
+# TODO: maybe look at portmap_5beta ?
+
+# XXX allow this to install on NetBSD, because this also
+# XXX provides pmap_dump and pmap_set
+
+INSTALLATION_DIRS+= sbin share/doc/portmap
+MAKE_FLAGS+= WRAP_DIR=${BUILDLINK_PREFIX.tcp_wrappers}/lib
+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/
+
+.include "../../security/tcp_wrappers/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"