From eb3a0ce654e3a5339142b8a4c954020b159e24d0 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Fri, 11 Apr 2014 21:36:04 +0000 Subject: Support staging --- net-mgmt/nat/Makefile | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'net-mgmt') 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 -- cgit v1.2.3