summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2008-11-18 08:33:51 +0000
committerabs <abs@pkgsrc.org>2008-11-18 08:33:51 +0000
commitdf0eb2e95a032c2b406dda5c6e57756e73e87a6c (patch)
treed90ecc11f70a82b3391eab0a99c2051afe611615 /www
parente5378f027a1e6731845cefa506e42db02d3040b6 (diff)
downloadpkgsrc-df0eb2e95a032c2b406dda5c6e57756e73e87a6c.tar.gz
Update plugin path to check for seamonkey and to respect PREFIX.
Bump PKGREVISION
Diffstat (limited to 'www')
-rw-r--r--www/nspluginwrapper/Makefile3
-rw-r--r--www/nspluginwrapper/distinfo3
-rw-r--r--www/nspluginwrapper/patches/patch-aa45
3 files changed, 49 insertions, 2 deletions
diff --git a/www/nspluginwrapper/Makefile b/www/nspluginwrapper/Makefile
index 828305c298e..f9687af9bdc 100644
--- a/www/nspluginwrapper/Makefile
+++ b/www/nspluginwrapper/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2008/09/26 22:52:17 jmcneill Exp $
+# $NetBSD: Makefile,v 1.10 2008/11/18 08:33:51 abs Exp $
#
DISTNAME= nspluginwrapper-1.0.0
+PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://gwenole.beauchesne.info/projects/nspluginwrapper/files/
EXTRACT_SUFX= .tar.bz2
diff --git a/www/nspluginwrapper/distinfo b/www/nspluginwrapper/distinfo
index 4efb62a67f7..d4271060dcb 100644
--- a/www/nspluginwrapper/distinfo
+++ b/www/nspluginwrapper/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2008/07/05 22:27:52 abs Exp $
+$NetBSD: distinfo,v 1.5 2008/11/18 08:33:51 abs Exp $
SHA1 (nspluginwrapper-1.0.0.tar.bz2) = ef551fb508835b3358355477be794a34e9f64135
RMD160 (nspluginwrapper-1.0.0.tar.bz2) = d3b5a5d1dd314e5331ffc877fb9621d6566087c6
@@ -6,3 +6,4 @@ Size (nspluginwrapper-1.0.0.tar.bz2) = 271028 bytes
SHA1 (nspluginwrapper-i386-1.0.0-1.x86_64.rpm) = 9980fd73369996b8b1ee31b5550be838e407a8d5
RMD160 (nspluginwrapper-i386-1.0.0-1.x86_64.rpm) = 850d025d3e53f69c559170b747b4a820b508eb96
Size (nspluginwrapper-i386-1.0.0-1.x86_64.rpm) = 53496 bytes
+SHA1 (patch-aa) = 01116b045d6da50551d44246a56024c71b6a5444
diff --git a/www/nspluginwrapper/patches/patch-aa b/www/nspluginwrapper/patches/patch-aa
new file mode 100644
index 00000000000..7a07f64d6c5
--- /dev/null
+++ b/www/nspluginwrapper/patches/patch-aa
@@ -0,0 +1,45 @@
+$NetBSD: patch-aa,v 1.4 2008/11/18 08:33:51 abs Exp $
+
+--- src/npw-config.c.orig 2008-06-26 21:50:28.000000000 +0100
++++ src/npw-config.c
+@@ -127,16 +127,16 @@ static const char *get_system_mozilla_pl
+ #elif defined(__DragonFly__)
+ {
+ static const char *dragonfly_dirs[] = {
+- "/usr/pkg/" LIB "/mozilla/plugins",
+- "/usr/pkg/" LIB "/firefox/plugins",
++ LIBDIR "/firefox/plugins",
++ LIBDIR "/seamonkey/plugins",
+ };
+ dirs = dragonfly_dirs;
+ }
+ #elif defined(__NetBSD__)
+ {
+ static const char *netbsd_dirs[] = {
+- "/usr/pkg/" LIB "/mozilla/plugins",
+- "/usr/pkg/" LIB "/firefox/plugins",
++ LIBDIR "/firefox/plugins",
++ LIBDIR "/seamonkey/plugins",
+ };
+ dirs = netbsd_dirs;
+ }
+@@ -215,15 +215,17 @@ static const char **get_mozilla_plugin_d
+ "/usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux",
+ #endif
+ #if defined(__DragonFly__)
+- "/usr/pkg/lib/netscape/plugins",
+ "/usr/pkg/lib/firefox/plugins",
++ "/usr/pkg/lib/netscape/plugins",
++ "/usr/pkg/lib/seamonkey/plugins",
+ "/usr/pkg/lib/RealPlayer/mozilla",
+ "/usr/pkg/Acrobat5/Browsers/intellinux",
+ "/usr/pkg/Acrobat7/Browser/intellinux",
+ #endif
+ #if defined(__NetBSD__)
+- "/usr/pkg/lib/netscape/plugins",
+ "/usr/pkg/lib/firefox/plugins",
++ "/usr/pkg/lib/netscape/plugins",
++ "/usr/pkg/lib/seamonkey/plugins",
+ "/usr/pkg/lib/RealPlayer/mozilla",
+ "/usr/pkg/Acrobat5/Browsers/intellinux",
+ "/usr/pkg/Acrobat7/Browser/intellinux",