diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/wikicalc/Makefile | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/www/wikicalc/Makefile b/www/wikicalc/Makefile index 66e3ba8bcff9..dbf45bac4a24 100644 --- a/www/wikicalc/Makefile +++ b/www/wikicalc/Makefile @@ -20,7 +20,6 @@ USE_PERL5= yes NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME} SUB_FILES= setup.sh -SUB_LIST= DATADIR=${DATADIR} post-extract: @${RM} -f ${WRKSRC}/gpl.txt @@ -31,12 +30,10 @@ post-patch: do-install: ${MKDIR} ${DATADIR} cd ${WRKSRC} && \ - for i in `${FIND} . -type f -a ! -name \*.pl -a ! -name \*.bak`; do \ - ${INSTALL_DATA} $${i} ${DATADIR}/$${i}; \ - done; \ - for i in `${FIND} . -type f -a -name \*.pl`; do \ - ${INSTALL_SCRIPT} $${i} ${DATADIR}/$${i}; \ - done + ${FIND} . -type f -a ! -name \*.pl -a ! -name \*.bak | \ + ${XARGS} -J % ${INSTALL_DATA} % ${DATADIR}/$${i}; \ + ${FIND} . -type f -a -name \*.pl | \ + ${XARGS} -J % ${INSTALL_SCRIPT} % ${DATADIR}/$${i}; \ ${INSTALL_SCRIPT} ${WRKDIR}/setup.sh ${DATADIR} .include <bsd.port.mk> |