diff options
author | mezz <mezz@FreeBSD.org> | 2009-01-10 10:45:46 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2009-01-10 10:45:46 +0800 |
commit | 867a335b88f91d457005fa0c7b3bb7c85c5fca14 (patch) | |
tree | 68af898c9a11dd756c516c49a6715cee75888e70 /www/seamonkey | |
parent | 6f64cd00171c29c1c7cdfb1e40393e23fc35151d (diff) | |
download | freebsd-ports-gnome-867a335b88f91d457005fa0c7b3bb7c85c5fca14.tar.gz freebsd-ports-gnome-867a335b88f91d457005fa0c7b3bb7c85c5fca14.tar.zst freebsd-ports-gnome-867a335b88f91d457005fa0c7b3bb7c85c5fca14.zip |
Add a new framework for browser plugins, USE_WEBPLUGINS. It is for which foo
plugins support one of web browsers and can take care of plist (depend on how
you use it) at the same time. I have written a complete document and even show
how it works in the www/firefox/Makefile.webplugins so be sure to read in
there. If there is anything that isn't clear in the document, please feel free
to ask and I will try my best to improvement it.
FYI: GNOME 2.24 depends on this, so it's coming.
BTW: It's based on www/linux-mplayer-plugin/Makefile.npapi with heavy modified.
Approved by: portmgr
Diffstat (limited to 'www/seamonkey')
-rw-r--r-- | www/seamonkey/Makefile | 21 | ||||
-rw-r--r-- | www/seamonkey/files/patch-build_unix_run-mozilla.sh | 4 |
2 files changed, 4 insertions, 21 deletions
diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile index 0fd7441d7342..e5b2214edf31 100644 --- a/www/seamonkey/Makefile +++ b/www/seamonkey/Makefile @@ -3,12 +3,12 @@ # Whom: eivind/dima/jseger # # $FreeBSD$ -# $MCom: ports/www/seamonkey/Makefile,v 1.48 2007/12/28 17:39:30 mezz Exp $ +# $MCom: ports-stable/www/seamonkey/Makefile,v 1.9 2009/01/09 23:41:22 mezz Exp $ # PORTNAME= seamonkey DISTVERSION= 1.1.14 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= www ipv6 MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED} MASTER_SITE_SUBDIR= seamonkey/releases/${DISTVERSION} @@ -105,29 +105,12 @@ post-patch: ${WRKDIR}/seamonkey.desktop pre-install: - if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \ - for jpi in ${JPI_LIST}; do \ - if [ -f $${jpi} ]; then \ - ${ECHO_CMD} lib/browser_plugins/libjavaplugin_oji.so >> ${PLIST} ; \ - break; \ - fi; \ - done; \ - fi ${ECHO_CMD} share/applications/seamonkey.desktop >> ${PLIST} ${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${PLIST} ${CP} ${WRKSRC}/suite/branding/icons/gtk/default.xpm \ ${FAKEDIR}/lib/${MOZILLA}/chrome/icons/default/ do-install: - if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \ - for jpi in ${JPI_LIST}; do \ - if [ -f $${jpi} ]; then \ - ${LN} -sf $${jpi} \ - ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ; \ - break; \ - fi; \ - done; \ - fi ${MKDIR} ${PREFIX}/share/applications ${INSTALL_DATA} ${WRKDIR}/seamonkey.desktop ${PREFIX}/share/applications diff --git a/www/seamonkey/files/patch-build_unix_run-mozilla.sh b/www/seamonkey/files/patch-build_unix_run-mozilla.sh index 6d8cb15859a2..17288b12b27e 100644 --- a/www/seamonkey/files/patch-build_unix_run-mozilla.sh +++ b/www/seamonkey/files/patch-build_unix_run-mozilla.sh @@ -5,7 +5,7 @@ ## ## Set LD_LIBRARY_PATH -LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"} -+LD_LIBRARY_PATH=${MOZ_DIST_BIN}:%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"} ++LD_LIBRARY_PATH=${MOZ_DIST_BIN}:%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko18:%%LOCALBASE%%/lib/npapi/symlinks/seamonkey:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"} if [ -n "$LD_LIBRARYN32_PATH" ] then LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"} @@ -14,7 +14,7 @@ export MOZILLA_FIVE_HOME LD_LIBRARY_PATH export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH + -+MOZ_PLUGIN_PATH=%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins ++MOZ_PLUGIN_PATH=%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko18:%%LOCALBASE%%/lib/npapi/symlinks/seamonkey +export MOZ_PLUGIN_PATH if [ $moz_debug -eq 1 ] |