diff options
author | marcus <marcus@FreeBSD.org> | 2002-10-23 16:13:29 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2002-10-23 16:13:29 +0000 |
commit | 7c0f6dc01eee9535475f668a2c522a575733e979 (patch) | |
tree | 98c1381eb3fcebd37c057a4f304cd7453813b3a3 /www/mozilla | |
parent | 00587d7c2b880a9c87912293818dbd9a817b9b15 (diff) | |
download | FreeBSD-ports-7c0f6dc01eee9535475f668a2c522a575733e979.zip FreeBSD-ports-7c0f6dc01eee9535475f668a2c522a575733e979.tar.gz |
Properly handle if blocks in the Makefile.
Submitted by: daichi
Diffstat (limited to 'www/mozilla')
-rw-r--r-- | www/mozilla/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile index bb9ed66..428ed99 100644 --- a/www/mozilla/Makefile +++ b/www/mozilla/Makefile @@ -124,8 +124,8 @@ post-build: pre-install: ${ECHO_CMD} bin/mozilla > ${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/:' >> ${PLIST} \ @@ -139,13 +139,13 @@ do-install: cd ${WRKSRC}/dist/bin && ${FIND} . | \ cpio -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/mozilla ${INSTALL_SCRIPT} ${WRKSRC}/mozilla ${PREFIX}/bin - 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 + 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: |