aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarck <marck@FreeBSD.org>2013-10-16 21:03:53 +0800
committermarck <marck@FreeBSD.org>2013-10-16 21:03:53 +0800
commit895aff24444351a44e5a270d0cc316bc97f36c99 (patch)
tree36d23b709309cc320a3d604c2d94108fa0d669df
parent0f7a0e850f8b3119299986f70c4d8eacae775657 (diff)
downloadfreebsd-ports-gnome-895aff24444351a44e5a270d0cc316bc97f36c99.tar.gz
freebsd-ports-gnome-895aff24444351a44e5a270d0cc316bc97f36c99.tar.zst
freebsd-ports-gnome-895aff24444351a44e5a270d0cc316bc97f36c99.zip
Actually do stage support
PR: 183008 Submitted by: marino Pointy hat to: marck
-rw-r--r--net-mgmt/ehnt/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/net-mgmt/ehnt/Makefile b/net-mgmt/ehnt/Makefile
index b71c06e2e1c5..b816f246fa57 100644
--- a/net-mgmt/ehnt/Makefile
+++ b/net-mgmt/ehnt/Makefile
@@ -15,6 +15,7 @@ PLIST_FILES= bin/ehnt etc/rc.d/ehntserv.sh.sample \
PLIST_DIRS+= share/ehnt
PORTDOCS= README
+STPREFIX= ${STAGEDIR}${PREFIX}
MAN1= ehnt.1
MAN8= ehntserv.8
@@ -23,16 +24,16 @@ post-extract:
${TOUCH} ${WRKSRC}/asnc.txt
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ehnt ${PREFIX}/bin/
- ${INSTALL_PROGRAM} ${WRKSRC}/ehntserv ${PREFIX}/sbin/
- ${INSTALL_SCRIPT} ${FILESDIR}/ehntserv.sh.sample ${PREFIX}/etc/rc.d/
- ${INSTALL_MAN} ${WRKSRC}/ehnt.1 ${PREFIX}/man/man1/
- ${INSTALL_MAN} ${WRKSRC}/ehntserv.8 ${PREFIX}/man/man8/
- ${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/asnc.txt ${DATADIR}/
+ ${INSTALL_PROGRAM} ${WRKSRC}/ehnt ${STPREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/ehntserv ${STPREFIX}/sbin/
+ ${INSTALL_SCRIPT} ${FILESDIR}/ehntserv.sh.sample ${STPREFIX}/etc/rc.d/
+ ${INSTALL_MAN} ${WRKSRC}/ehnt.1 ${STPREFIX}/man/man1/
+ ${INSTALL_MAN} ${WRKSRC}/ehntserv.8 ${STPREFIX}/man/man8/
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/asnc.txt ${STAGEDIR}${DATADIR}/
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}/
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
.endif
.include <bsd.port.mk>