1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Stage support

PR:		190151
This commit is contained in:
Martin Wilke 2014-06-05 06:18:45 +00:00
parent 5cd9988e83
commit fc41d7f5ca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356593

View File

@ -15,16 +15,19 @@ NO_WRKSUBDIR= yes
NO_BUILD= yes
USE_PHP= yes
WANT_PHP_WEB= yes
DEFAULT_PHP_VER=5
DEFAULT_PHP_VER= 5
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
NO_STAGE= yes
do-install:
${MKDIR} ${WWWDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${WWWDIR}
@${MKDIR} ${STAGEDIR}/${WWWDIR}
@cd ${WRKSRC}; ${FIND} . ! -path '*stage*' -print |\
${CPIO} --quiet -pdum -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}/${WWWDIR}
@${RM} -f ${STAGEDIR}${WWWDIR}/.PLIST.mktmp \
${STAGEDIR}${WWWDIR}/.build_done.jawstats._usr_local \
${STAGEDIR}${WWWDIR}/.configure_done.jawstats._usr_local \
${STAGEDIR}${WWWDIR}/.extract_done.jawstats._usr_local \
${STAGEDIR}${WWWDIR}/.patch_done.jawstats._usr_local
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>