Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Nov 2012 15:07:09 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r307285 - head/net-mgmt/nat
Message-ID:  <201211101507.qAAF7AAJ039707@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sat Nov 10 15:07:09 2012
New Revision: 307285
URL: http://svnweb.freebsd.org/changeset/ports/307285

Log:
  - 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

Deleted:
  head/net-mgmt/nat/pkg-plist
Modified:
  head/net-mgmt/nat/Makefile

Modified: head/net-mgmt/nat/Makefile
==============================================================================
--- head/net-mgmt/nat/Makefile	Sat Nov 10 15:05:58 2012	(r307284)
+++ head/net-mgmt/nat/Makefile	Sat Nov 10 15:07:09 2012	(r307285)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211101507.qAAF7AAJ039707>