1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

Properly handle if blocks in the Makefile.

Submitted by:	daichi
This commit is contained in:
Joe Marcus Clarke 2002-10-23 16:13:29 +00:00
parent 641da8af54
commit 42698ba3ea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68673
5 changed files with 43 additions and 43 deletions

View File

@ -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:

View File

@ -126,12 +126,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-vendor >> ${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-vendor/:' >> ${PLIST} \
@ -145,15 +145,15 @@ do-install:
cd ${WRKSRC}/dist/bin && ${FIND} . | \
cpio -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/mozilla-vendor
${INSTALL_SCRIPT} ${WRKSRC}/mozilla ${PREFIX}/bin/mozilla-vendor
if [ ! -x ${PREFIX}/bin/mozilla -a ! -L ${PREFIX}/bin/mozill ]; then
${LN} -sf ${PREFIX}/bin/mozilla-vendor ${PREFIX}/bin/mozilla
if [ ! -x ${PREFIX}/bin/mozilla -a ! -L ${PREFIX}/bin/mozill ]; then \
${LN} -sf ${PREFIX}/bin/mozilla-vendor ${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
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:

View File

@ -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:

View File

@ -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:

View File

@ -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: