diff options
author | pawel <pawel@FreeBSD.org> | 2012-11-10 23:07:09 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2012-11-10 23:07:09 +0800 |
commit | e2ebe5954bee1dfe6cbe0abcdb4af3ba3a2c74f9 (patch) | |
tree | dee082401e3fb96eb47e91b4145124250d57ec0e /net-mgmt | |
parent | bd76303dbc92318490357c07bcdb414f9e66c39d (diff) | |
download | freebsd-ports-gnome-e2ebe5954bee1dfe6cbe0abcdb4af3ba3a2c74f9.tar.gz freebsd-ports-gnome-e2ebe5954bee1dfe6cbe0abcdb4af3ba3a2c74f9.tar.zst freebsd-ports-gnome-e2ebe5954bee1dfe6cbe0abcdb4af3ba3a2c74f9.zip |
- Update MASTER_SITES
- Add LICENSE_FILE
- Add IA32_BINARY_PORT
- Use PLIST_FILE
PR: ports/172046
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Feature safe: yes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/nat/Makefile | 28 | ||||
-rw-r--r-- | net-mgmt/nat/pkg-plist | 4 |
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 |