aboutsummaryrefslogtreecommitdiffstats
path: root/www/seamonkey
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-10-24 00:13:29 +0800
committermarcus <marcus@FreeBSD.org>2002-10-24 00:13:29 +0800
commit7c0f6dc01eee9535475f668a2c522a575733e979 (patch)
tree98c1381eb3fcebd37c057a4f304cd7453813b3a3 /www/seamonkey
parent00587d7c2b880a9c87912293818dbd9a817b9b15 (diff)
downloadfreebsd-ports-gnome-7c0f6dc01eee9535475f668a2c522a575733e979.tar.gz
freebsd-ports-gnome-7c0f6dc01eee9535475f668a2c522a575733e979.tar.zst
freebsd-ports-gnome-7c0f6dc01eee9535475f668a2c522a575733e979.zip
Properly handle if blocks in the Makefile.
Submitted by: daichi
Diffstat (limited to 'www/seamonkey')
-rw-r--r--www/seamonkey/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile
index e4dd833c8f51..92bbd15b7958 100644
--- a/www/seamonkey/Makefile
+++ b/www/seamonkey/Makefile
@@ -135,12 +135,12 @@ post-build:
pre-install:
${TOUCH} -f ${PLIST}
- if [ ! -x ${PREFIX}/bin/mozilla -a ! -L ${PREFIX}/bin/mozilla ]; then
- ${ECHO_CMD} bin/mozilla >> ${PLIST}
+ if [ ! -x ${PREFIX}/bin/mozilla -a ! -L ${PREFIX}/bin/mozilla ]; then \
+ ${ECHO_CMD} bin/mozilla >> ${PLIST} ; \
fi
${ECHO_CMD} bin/mozilla-devel >> ${PLIST}
- if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then
- ${ECHO_CMD} lib/browser_plugins/libjavaplugin_oji.so >> ${PLIST}
+ if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
+ ${ECHO_CMD} lib/browser_plugins/libjavaplugin_oji.so >> ${PLIST} ; \
fi
cd ${WRKSRC}/dist/bin && ${FIND} -s * -type f -o -type l | \
${SED} -e 's:^:lib/mozilla-devel/:' >> ${PLIST} \
@@ -154,15 +154,15 @@ do-install:
cd ${WRKSRC}/dist/bin && ${FIND} . | \
cpio -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/mozilla-devel
${INSTALL_SCRIPT} ${WRKSRC}/mozilla-devel ${PREFIX}/bin
- if [ ! -x ${PREFIX}/bin/mozilla -a ! -L ${PREFIX}/bin/mozilla ]; then
- ${LN} -sf ${PREFIX}/bin/mozilla-devel ${PREFIX}/bin/mozilla
+ if [ ! -x ${PREFIX}/bin/mozilla -a ! -L ${PREFIX}/bin/mozilla ]; then \
+ ${LN} -sf ${PREFIX}/bin/mozilla-devel ${PREFIX}/bin/mozilla ; \
fi
- if [ ! -d ${PREFIX}/lib/browser_plugins ]; then
- ${MKDIR} ${PREFIX}/lib/browser_plugins
+ if [ ! -d ${PREFIX}/lib/browser_plugins ]; then \
+ ${MKDIR} ${PREFIX}/lib/browser_plugins ; \
fi
if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then
${LN} -sf ${LOCALBASE}/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so \
- ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so
+ ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ; \
fi
post-install: