aboutsummaryrefslogtreecommitdiffstats
path: root/lang/smarteiffel
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-01-29 19:24:09 +0800
committerknu <knu@FreeBSD.org>2002-01-29 19:24:09 +0800
commitf6e00c6523a54ccae8d9221d4c43c1bebbe1592d (patch)
tree31ce147ffecf3f2de724e507ca8926196bdc04cd /lang/smarteiffel
parent2a436f8061602989d2bc9da2badeb810b25743fe (diff)
downloadfreebsd-ports-gnome-f6e00c6523a54ccae8d9221d4c43c1bebbe1592d.tar.gz
freebsd-ports-gnome-f6e00c6523a54ccae8d9221d4c43c1bebbe1592d.tar.zst
freebsd-ports-gnome-f6e00c6523a54ccae8d9221d4c43c1bebbe1592d.zip
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 fa6c73159dae..486ca3aa9e6b 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 \