diff --git a/www/jawstats/Makefile b/www/jawstats/Makefile index dd3802b7c1dd..39592295caca 100644 --- a/www/jawstats/Makefile +++ b/www/jawstats/Makefile @@ -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