1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- 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
This commit is contained in:
Pawel Pekala 2012-11-10 15:07:09 +00:00
parent 5745335656
commit 15472c216b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307285
2 changed files with 15 additions and 17 deletions

View File

@ -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>

View File

@ -1,4 +0,0 @@
bin/nat
share/nat/passlist.txt
share/nat/userlist.txt
@dirrm share/nat