aboutsummaryrefslogtreecommitdiffstats
path: root/finance
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-06 18:47:47 +0800
committermiwi <miwi@FreeBSD.org>2014-02-06 18:47:47 +0800
commit17e67c31b56fd264dc25dfb21fd458a9c7760953 (patch)
tree95570b22e3e87bddfb2a86d8aaddde6ea771a475 /finance
parent81470361420a04f046c2a88fc9c5ceb075656226 (diff)
downloadfreebsd-ports-gnome-17e67c31b56fd264dc25dfb21fd458a9c7760953.tar.gz
freebsd-ports-gnome-17e67c31b56fd264dc25dfb21fd458a9c7760953.tar.zst
freebsd-ports-gnome-17e67c31b56fd264dc25dfb21fd458a9c7760953.zip
- Stage support
Diffstat (limited to 'finance')
-rw-r--r--finance/weberp/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/finance/weberp/Makefile b/finance/weberp/Makefile
index 5da57eb2c9a1..72c951b09736 100644
--- a/finance/weberp/Makefile
+++ b/finance/weberp/Makefile
@@ -20,13 +20,10 @@ WRKSRC= ${WRKDIR}/webERP${PORTVERSION}
NO_BUILD= yes
SUB_FILES= pkg-message
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
do-install:
- @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
- @${CHMOD} -R 755 ${WWWDIR}
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
+ @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
+ @${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}
post-install:
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
@@ -34,6 +31,4 @@ post-install:
@${ECHO_CMD} '@exec ${CHMOD} 755 -R ${WWWDIR}' \
>> ${TMPPLIST}
- ${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>