aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/nat/Makefile28
-rw-r--r--net-mgmt/nat/pkg-plist4
2 files changed, 15 insertions, 17 deletions
diff --git a/net-mgmt/nat/Makefile b/net-mgmt/nat/Makefile
index c84b9b218835..55f81e809965 100644
--- a/net-mgmt/nat/Makefile
+++ b/net-mgmt/nat/Makefile
@@ -1,32 +1,34 @@
-# Ports collection makefile for: nat
-# Date created: May 24 2001
-# Whom: Roman Shterenzon <roman@xpert.com>
-#
+# Created by: Roman Shterenzon <roman@xpert.com>
# $FreeBSD$
-#
PORTNAME= nat
PORTVERSION= 20
CATEGORIES= net-mgmt security
MASTER_SITES= http://www.tux.org/pub/security/secnet/tools/nat20beta/ \
- ftp://ftp.cert.dfn.de/pub/tools/net-mgmt/nat/nat20beta/ \
- ftp://ftp.spin.ad.jp/pub/Security/nat/nat20beta/
+ http://apache.uasw.edu/pub/security/dfn-cert/tools/net/nat/
DISTNAME= ${PORTNAME}${PORTVERSION}.freebsd
MAINTAINER= ports@FreeBSD.org
COMMENT= NetBIOS auditing tool
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
RESTRICTED= Redistribution prohibited by the license
+IA32_BINARY_PORT=yes
+
NO_BUILD= yes
-WRKSRC= ${WRKDIR}
+NO_WRKSUBDIR= yes
+
MAN1= nat.1
+PLIST_FILES= bin/nat %%DATADIR%%/passlist.txt %%DATADIR%%/userlist.txt
+PLIST_DIRS= %%DATADIR%%
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/nat ${LOCALBASE}/bin
- ${INSTALL_MAN} ${WRKSRC}/nat.1 ${LOCALBASE}/man/man1
- ${MKDIR} ${LOCALBASE}/share/nat
- ${INSTALL_DATA} ${WRKSRC}/passlist.txt ${LOCALBASE}/share/nat
- ${INSTALL_DATA} ${WRKSRC}/userlist.txt ${LOCALBASE}/share/nat
+ ${INSTALL_SCRIPT} ${WRKSRC}/nat ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/nat.1 ${MANPREFIX}/man/man1
+ @${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/passlist.txt ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/userlist.txt ${DATADIR}
.include <bsd.port.mk>
diff --git a/net-mgmt/nat/pkg-plist b/net-mgmt/nat/pkg-plist
deleted file mode 100644
index faa3d13a2275..000000000000
--- a/net-mgmt/nat/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/nat
-share/nat/passlist.txt
-share/nat/userlist.txt
-@dirrm share/nat