aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-04-12 05:36:04 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-04-12 05:36:04 +0800
commit72520ec2d06a8b7a1459de0f9bce2405f609d124 (patch)
tree268e8afed991e384ab7ae4abb2830d593643aabe
parente8fe0ebd50ceb0c7997e0162c25e16f7d986c3c4 (diff)
downloadfreebsd-ports-gnome-72520ec2d06a8b7a1459de0f9bce2405f609d124.tar.gz
freebsd-ports-gnome-72520ec2d06a8b7a1459de0f9bce2405f609d124.tar.zst
freebsd-ports-gnome-72520ec2d06a8b7a1459de0f9bce2405f609d124.zip
Support staging
-rw-r--r--net-mgmt/nat/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/net-mgmt/nat/Makefile b/net-mgmt/nat/Makefile
index af293fcf9d33..ae5d7cf6863e 100644
--- a/net-mgmt/nat/Makefile
+++ b/net-mgmt/nat/Makefile
@@ -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>