summaryrefslogtreecommitdiffstats
path: root/lang/smarteiffel
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-01-29 11:24:09 +0000
committerknu <knu@FreeBSD.org>2002-01-29 11:24:09 +0000
commitf6e00c6523a54ccae8d9221d4c43c1bebbe1592d (patch)
tree31ce147ffecf3f2de724e507ca8926196bdc04cd /lang/smarteiffel
parent2a436f8061602989d2bc9da2badeb810b25743fe (diff)
downloadFreeBSD-ports-f6e00c6523a54ccae8d9221d4c43c1bebbe1592d.zip
FreeBSD-ports-f6e00c6523a54ccae8d9221d4c43c1bebbe1592d.tar.gz
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.
Diffstat (limited to 'lang/smarteiffel')
-rw-r--r--lang/smarteiffel/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/lang/smarteiffel/Makefile b/lang/smarteiffel/Makefile
index fa6c731..486ca3a 100644
--- a/lang/smarteiffel/Makefile
+++ b/lang/smarteiffel/Makefile
@@ -34,8 +34,8 @@ PKGINSTALL= ${WRKDIR}/INSTALL
# Make sure we can set the symbolic link SmallEiffel
# to the actual release directory.
do-install:
- @(if test -e ${ALIASDIR} ; then \
- if ! test -L ${ALIASDIR} ; then \
+ @(if ${TEST} -e ${ALIASDIR} ; then \
+ if ! ${TEST} -L ${ALIASDIR} ; then \
${ECHO} "Make sure ${ALIASDIR} is a symbolic link"; \
${ECHO} "or does not exist. This directory will point to "; \
${ECHO} "the actual SmallEiffel installation directory."; \
@@ -44,16 +44,16 @@ do-install:
${RM} ${ALIASDIR}; \
fi; \
${LN} -fs ${SEDIR} ${ALIASDIR})
- @(if test -e ${SEDIR} ; then ${RM} -rf ${SEDIR}; fi; \
+ @(if ${TEST} -e ${SEDIR} ; then ${RM} -rf ${SEDIR}; fi; \
${MKDIR} ${SEDIR}; \
${CP} -pR ${WRKSRC}/* ${SEDIR}; \
- ${ECHO} ./ > ${SEDIR}/sys/loadpath.UNIX; \
- ${ECHO} ${SEDIR}/lib_std/ >> ${SEDIR}/sys/loadpath.UNIX; \
- ${ECHO} ${SEDIR}/lib_iterator/ >> ${SEDIR}/sys/loadpath.UNIX; \
- ${ECHO} ${SEDIR}/lib_random/ >> ${SEDIR}/sys/loadpath.UNIX; \
- ${ECHO} ${SEDIR}/lib_number/ >> ${SEDIR}/sys/loadpath.UNIX; \
- ${ECHO} ${SEDIR}/lib_show/ >> ${SEDIR}/sys/loadpath.UNIX; \
- ${ECHO} ${SEDIR}/lib_se/ >> ${SEDIR}/sys/loadpath.UNIX)
+ ${ECHO_CMD} ./ > ${SEDIR}/sys/loadpath.UNIX; \
+ ${ECHO_CMD} ${SEDIR}/lib_std/ >> ${SEDIR}/sys/loadpath.UNIX; \
+ ${ECHO_CMD} ${SEDIR}/lib_iterator/ >> ${SEDIR}/sys/loadpath.UNIX; \
+ ${ECHO_CMD} ${SEDIR}/lib_random/ >> ${SEDIR}/sys/loadpath.UNIX; \
+ ${ECHO_CMD} ${SEDIR}/lib_number/ >> ${SEDIR}/sys/loadpath.UNIX; \
+ ${ECHO_CMD} ${SEDIR}/lib_show/ >> ${SEDIR}/sys/loadpath.UNIX; \
+ ${ECHO_CMD} ${SEDIR}/lib_se/ >> ${SEDIR}/sys/loadpath.UNIX)
@${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${PKGDIR}/pkg-message \
> ${PKGMESSAGE}
@${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${PKGDIR}/pkg-install \
OpenPOWER on IntegriCloud