1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

- Stage support

This commit is contained in:
Martin Wilke 2014-02-06 10:47:47 +00:00
parent f1c973ce6f
commit 49776a50b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343019

View File

@ -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>