diff options
author | jmc <jmc@pkgsrc.org> | 2003-08-08 18:18:05 +0000 |
---|---|---|
committer | jmc <jmc@pkgsrc.org> | 2003-08-08 18:18:05 +0000 |
commit | c47c8f1e0f83dfcafe0d392f969927d99160eb23 (patch) | |
tree | fde342a210571df2b03d6263294be9aa1088941b | |
parent | 584aa330f3019fd3b9c58e4e65dc27c08c6a37af (diff) | |
download | pkgsrc-c47c8f1e0f83dfcafe0d392f969927d99160eb23.tar.gz |
Make sure plugin's dir exists before linking into it.
-rw-r--r-- | www/phoenix-bin-acroread/Makefile.common | 7 | ||||
-rw-r--r-- | www/phoenix-bin-java/Makefile | 8 | ||||
-rw-r--r-- | www/phoenix-bin-realplayer/Makefile | 8 |
3 files changed, 16 insertions, 7 deletions
diff --git a/www/phoenix-bin-acroread/Makefile.common b/www/phoenix-bin-acroread/Makefile.common index 59ead1e2772..a1a6cec3718 100644 --- a/www/phoenix-bin-acroread/Makefile.common +++ b/www/phoenix-bin-acroread/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.2 2003/05/24 10:36:03 jmmv Exp $ +# $NetBSD: Makefile.common,v 1.3 2003/08/08 18:18:05 jmc Exp $ WRKSRC= ${WRKDIR} CATEGORIES= www print @@ -17,9 +17,12 @@ NO_BUILD= YES PLIST_SRC= ../../www/phoenix-bin-acroread/PLIST PLIST_SUBST+= ACROREAD=${ACROREAD} PLIST_SUBST+= PLATFORM=${PLATFORM} +NS_PLUGINS_DIR= ${PREFIX}/lib/MozillaFirebird-linux/plugins + do-install: + ${INSTALL_DATA_DIR} ${NS_PLUGINS_DIR} ${LN} -s ${PREFIX}/${ACROREAD}/Browsers/${PLATFORM}/nppdf.so \ - ${PREFIX}/lib/MozillaFirebird-linux/plugins/nppdf.so + ${NS_PLUGINS_DIR}/nppdf.so .include "../../mk/bsd.pkg.mk" diff --git a/www/phoenix-bin-java/Makefile b/www/phoenix-bin-java/Makefile index f154a2f5245..596c424022d 100644 --- a/www/phoenix-bin-java/Makefile +++ b/www/phoenix-bin-java/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2003/07/29 16:39:04 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2003/08/08 18:18:05 jmc Exp $ DISTNAME= phoenix-bin-java-1.0 PKGREVISION= 1 @@ -21,7 +21,11 @@ NO_EXTRACT= YES NO_CONFIGURE= YES NO_BUILD= YES +NS_PLUGINS_DIR= ${PREFIX}/lib/MozillaFirebird-linux/plugins +PLUGIN= ${PREFIX}/java/sun-1.3.1/plugin/i386/ns600/libjavaplugin_oji.so + do-install: - ${LN} -s ${PREFIX}/java/sun-1.3.1/plugin/i386/ns600/libjavaplugin_oji.so ${PREFIX}/lib/MozillaFirebird-linux/plugins/libjavaplugin_oji.so + ${INSTALL_DATA_DIR} ${NS_PLUGINS_DIR} + ${LN} -s ${PLUGIN} ${NS_PLUGINS_DIR}/libjavaplugin_oji.so .include "../../mk/bsd.pkg.mk" diff --git a/www/phoenix-bin-realplayer/Makefile b/www/phoenix-bin-realplayer/Makefile index 7d0a8ad60c5..3ea401a52ef 100644 --- a/www/phoenix-bin-realplayer/Makefile +++ b/www/phoenix-bin-realplayer/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2003/07/17 22:55:57 grant Exp $ +# $NetBSD: Makefile,v 1.4 2003/08/08 18:18:05 jmc Exp $ DISTNAME= phoenix-bin-realplayer-1.0 PKGREVISION= 1 @@ -19,8 +19,10 @@ NO_CHECKSUM= YES NO_CONFIGURE= YES NO_BUILD= YES +NS_PLUGINS_DIR= ${PREFIX}/lib/MozillaFirebird-linux/plugins +PLUGIN_SOURCE= ${PREFIX}/lib/netscape/plugins/rpnp.so + do-install: - ${LN} -s ${PREFIX}/lib/netscape/plugins/rpnp.so \ - ${PREFIX}/lib/MozillaFirebird-linux/plugins/rpnp.so + ${LN} -s ${PLUGIN_SOURCE}/rpnp.so ${NS_PLUGINS_DIR}/rpnp.so .include "../../mk/bsd.pkg.mk" |