diff --git a/www/repos-style/Makefile b/www/repos-style/Makefile index dc6fc23..94e3436 100644 --- a/www/repos-style/Makefile +++ b/www/repos-style/Makefile @@ -24,18 +24,14 @@ WRKSRC= ${WRKDIR}/repos-web SUB_LIST+= PORTNAME=${PORTNAME} SUB_FILES+= pkg-message -NO_STAGE= yes pre-install: # Prevent installation of .orig files by deleting them. @${FIND} ${WRKSRC} -name '*.orig' -delete ${MV} ${WRKSRC}/open/log/index.php ${WRKSRC}/open/log/index.dist.php do-install: - @${MKDIR} ${WWWDIR} - @(cd ${WRKSRC} && ${PAX} -r -w . ${WWWDIR}) - if [ ! -f ${WWWDIR}/open/log/index.php ]; then \ - ${CP} -p ${WWWDIR}/open/log/index.dist.php ${WWWDIR}/open/log/index.php; \ - fi + @${MKDIR} ${STAGEDIR}${WWWDIR} + @(cd ${WRKSRC} && ${PAX} -r -w . ${STAGEDIR}${WWWDIR}) post-install: @${CAT} ${PKGMESSAGE}