Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2014 21:36:04 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r351046 - head/net-mgmt/nat
Message-ID:  <201404112136.s3BLa4Lr059455@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Apr 11 21:36:04 2014
New Revision: 351046
URL: http://svnweb.freebsd.org/changeset/ports/351046
QAT: https://qat.redports.org/buildarchive/r351046/

Log:
  Support staging

Modified:
  head/net-mgmt/nat/Makefile

Modified: head/net-mgmt/nat/Makefile
==============================================================================
--- head/net-mgmt/nat/Makefile	Fri Apr 11 21:33:48 2014	(r351045)
+++ head/net-mgmt/nat/Makefile	Fri Apr 11 21:36:04 2014	(r351046)
@@ -20,16 +20,14 @@ IA32_BINARY_PORT=yes
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
 
-MAN1=		nat.1
-PLIST_FILES=	bin/nat %%DATADIR%%/passlist.txt %%DATADIR%%/userlist.txt
+PLIST_FILES=	bin/nat %%DATADIR%%/passlist.txt %%DATADIR%%/userlist.txt man/man1/nat.1.gz
 PLIST_DIRS=	%%DATADIR%%
 
-NO_STAGE=	yes
 do-install:
-	${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}
+	${INSTALL_SCRIPT} ${WRKSRC}/nat ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/nat.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/passlist.txt ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/userlist.txt ${STAGEDIR}${DATADIR}
 
 .include <bsd.port.mk>



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