1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- Stage support

This commit is contained in:
Martin Wilke 2014-02-28 16:21:29 +00:00
parent 87cd6bfc41
commit 4b9a981018
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346553

View File

@ -16,7 +16,6 @@ USE_PHP= yes
OPTIONS_DEFINE= MYSQL PGSQL SQLITE
OPTIONS_DEFAULT= MYSQL
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMYSQL}
@ -36,11 +35,9 @@ do-extract:
@${TAR} -yxf ${DISTDIR}/${DISTFILES} -C ${WRKSRC}
do-install:
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' >> ${TMPPLIST}
post-install:
@${CAT} ${PKGMESSAGE}
${MKDIR} ${STAGEDIR}${WWWDIR}
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}' >> ${TMPPLIST}
.include <bsd.port.mk>