summaryrefslogtreecommitdiff
path: root/lang/eperl
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-01-29 11:24:09 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-01-29 11:24:09 +0000
commitc982f5faf1c27ba011ef14e71aadc2182660d704 (patch)
tree2b0b412c02b07adeb72e10a7417749a64cea16ec /lang/eperl
parentUse ${ECHO_CMD} instead of ${ECHO} where you mean the echo command; (diff)
Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if make(1) is invoked with the -s option while ECHO_CMD is always set to the echo command. Use command macros where appropriate.
Notes
Notes: svn path=/head/; revision=53957
Diffstat (limited to 'lang/eperl')
-rw-r--r--lang/eperl/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/lang/eperl/Makefile b/lang/eperl/Makefile
index 3a5066044ed7..f1e00908ab22 100644
--- a/lang/eperl/Makefile
+++ b/lang/eperl/Makefile
@@ -33,11 +33,11 @@ CONFIGURE_ARGS= --with-perl=${PERL5}
MAN1= eperl.1
test:
- @(cd ${WRKSRC}; make test)
+ @(cd ${WRKSRC}; ${MAKE} test)
post-patch:
- @find ${WRKSRC} -type f -name "*.[ch]" | xargs ${GREP} -l strnstr | \
- xargs ${PERL} -pi -e 's|strnstr|ePerl_strnstr|g'
+ @${FIND} ${WRKSRC} -type f -name "*.[ch]" | xargs ${GREP} -l strnstr | \
+ ${XARGS} ${PERL} -pi -e 's|strnstr|ePerl_strnstr|g'
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/eperl ${PREFIX}/bin/eperl
@@ -54,9 +54,9 @@ do-install:
fi
${INSTALL_PROGRAM} ${WRKSRC}/eperl ${PREFIX}/www/cgi-bin/nph-eperl
@if [ ".`${GREP} x-httpd-eperl ${PREFIX}/etc/apache/srm.conf`" = . ]; then \
- ${ECHO} "AddType application/x-httpd-eperl .phtml .eperl .epl" \
+ ${ECHO_CMD} "AddType application/x-httpd-eperl .phtml .eperl .epl" \
>>${PREFIX}/etc/apache/srm.conf; \
- ${ECHO} "Action application/x-httpd-eperl /cgi-bin/nph-eperl" \
+ ${ECHO_CMD} "Action application/x-httpd-eperl /cgi-bin/nph-eperl" \
>>${PREFIX}/etc/apache/srm.conf; \
${ECHO} "Added knowledge about ePerl to Apache's srm.conf"; \
else \