aboutsummaryrefslogtreecommitdiff
path: root/www/wikicalc
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2007-06-25 06:43:39 +0000
committerHiroki Sato <hrs@FreeBSD.org>2007-06-25 06:43:39 +0000
commit985c2ad77c9d4002e31e13d285f1c27518d34b75 (patch)
tree5b216dcab2a422003b1941d642a3036de5962e84 /www/wikicalc
parent868a310e0bf1201cd47ae3cbd791a5b186697d79 (diff)
downloadports-985c2ad77c9d4002e31e13d285f1c27518d34b75.tar.gz
ports-985c2ad77c9d4002e31e13d285f1c27518d34b75.zip
Notes
Diffstat (limited to 'www/wikicalc')
-rw-r--r--www/wikicalc/Makefile11
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>