diff --git a/www/xoops/Makefile b/www/xoops/Makefile index 8f500f7e52fc..350efb793b8a 100644 --- a/www/xoops/Makefile +++ b/www/xoops/Makefile @@ -14,25 +14,19 @@ USE_PHP= mysql NO_BUILD= yes SUB_FILES= pkg-message -NO_STAGE= yes -.include - do-install: - ${MKDIR} ${WWWDIR} + ${MKDIR} ${STAGEDIR}${WWWDIR} .for i in checksum.md5 checksum.php - @cd ${WRKSRC} && ${CP} ${i} ${WWWDIR}/ + @cd ${WRKSRC} && ${CP} ${i} ${STAGEDIR}${WWWDIR}/ .endfor .for d in docs extras htdocs - @cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${WWWDIR} + @cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${WWWDIR} .endfor - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} - @${CHMOD} -R 755 ${WWWDIR} - @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \ + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} + @${CHMOD} -R 755 ${STAGEDIR}${WWWDIR} + @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}' \ >> ${TMPPLIST} - @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' \ + @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}' \ >> ${TMPPLIST} -post-install: - @${CAT} ${PKGMESSAGE} - -.include +.include