[Midnightbsd-cvs] mports: www/nspluginwrapper: update to 1.0, add new paths for /usr/local

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Oct 5 23:19:26 EDT 2008


Log Message:
-----------
update to 1.0, add new paths for /usr/local instead of /usr/X11R6

Modified Files:
--------------
    mports/www/nspluginwrapper:
        Makefile (r1.6 -> r1.7)
        distinfo (r1.1 -> r1.2)
    mports/www/nspluginwrapper/files:
        patch-src-npw-config.c (r1.1 -> r1.2)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/www/nspluginwrapper/Makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -L www/nspluginwrapper/Makefile -L www/nspluginwrapper/Makefile -u -r1.6 -r1.7
--- www/nspluginwrapper/Makefile
+++ www/nspluginwrapper/Makefile
@@ -7,8 +7,7 @@
 #
 
 PORTNAME=	nspluginwrapper
-PORTVERSION=	0.9.91.5
-PORTREVISION=	1
+PORTVERSION=	1.0.0
 CATEGORIES=	www linux emulators
 MASTER_SITES=	http://gwenole.beauchesne.info/projects/nspluginwrapper/files/
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${RPMFILE}
Index: distinfo
===================================================================
RCS file: /home/cvs/mports/www/nspluginwrapper/distinfo,v
retrieving revision 1.1
retrieving revision 1.2
diff -L www/nspluginwrapper/distinfo -L www/nspluginwrapper/distinfo -u -r1.1 -r1.2
--- www/nspluginwrapper/distinfo
+++ www/nspluginwrapper/distinfo
@@ -1,6 +1,6 @@
-MD5 (nspluginwrapper-0.9.91.5.tar.bz2) = 052e5fecc36a087d1f7200bd1e44f2f0
-SHA256 (nspluginwrapper-0.9.91.5.tar.bz2) = c1262aff6b223e3d92d422cb814106a07eafbad3f5df645c27af7988e93e6b60
-SIZE (nspluginwrapper-0.9.91.5.tar.bz2) = 273331
-MD5 (nspluginwrapper-i386-0.9.91.5-1.x86_64.rpm) = d2327fae81570e0c3f1df2af4439b776
-SHA256 (nspluginwrapper-i386-0.9.91.5-1.x86_64.rpm) = 8b3b14d1970a15b8890f3db5df273076f79d212c79baf2a07315a1754d8f6e7a
-SIZE (nspluginwrapper-i386-0.9.91.5-1.x86_64.rpm) = 52386
+MD5 (nspluginwrapper-1.0.0.tar.bz2) = 054e6023c1080b850d72f6c76485003f
+SHA256 (nspluginwrapper-1.0.0.tar.bz2) = e5c4661eb91d05fc3da2f4ccf6e0769e8cd097ac232ffc6afe16e645729a02d5
+SIZE (nspluginwrapper-1.0.0.tar.bz2) = 271028
+MD5 (nspluginwrapper-i386-1.0.0-1.x86_64.rpm) = aede6a34555e78328019014cacfb64d3
+SHA256 (nspluginwrapper-i386-1.0.0-1.x86_64.rpm) = fd39e7b6f07298c0ccb925f9f2e1e9a39241537d8552d2640ee26e4dd24a5f72
+SIZE (nspluginwrapper-i386-1.0.0-1.x86_64.rpm) = 53496
Index: patch-src-npw-config.c
===================================================================
RCS file: /home/cvs/mports/www/nspluginwrapper/files/patch-src-npw-config.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -L www/nspluginwrapper/files/patch-src-npw-config.c -L www/nspluginwrapper/files/patch-src-npw-config.c -u -r1.1 -r1.2
--- www/nspluginwrapper/files/patch-src-npw-config.c
+++ www/nspluginwrapper/files/patch-src-npw-config.c
@@ -1,6 +1,6 @@
---- ./src/npw-config.c.orig	Sun Mar  4 23:01:22 2007
-+++ ./src/npw-config.c	Wed Apr  4 20:20:59 2007
-@@ -119,8 +119,8 @@
+--- ./src/npw-config.c.orig	Thu Jun 26 16:50:28 2008
++++ ./src/npw-config.c	Sun Oct  5 23:16:57 2008
+@@ -119,11 +119,19 @@
  #if defined(__FreeBSD__)
  	{
  	  static const char *freebsd_dirs[] = {
@@ -11,3 +11,39 @@
  	  };
  	  dirs = freebsd_dirs;
  	}
++#elif defined(__MidnightBSD__)
++        {
++          static const char *freebsd_dirs[] = {
++                "/usr/local/" LIB "/browser_plugins",
++                "/usr/local/" LIB "/firefox/plugins",
++          };
++          dirs = freebsd_dirs;
++        }
+ #elif defined(__DragonFly__)
+ 	{
+ 	  static const char *dragonfly_dirs[] = {
+@@ -208,11 +216,20 @@
+ 	"/usr/lib32/nsbrowser/plugins",				// XXX how unfortunate
+ 	"/usr/lib64/nsbrowser/plugins",
+ #if defined(__FreeBSD__)
+-	"/usr/X11R6/lib/browser_plugins",
+-	"/usr/X11R6/lib/firefox/plugins",
+-	"/usr/X11R6/lib/linux-mozilla/plugins",
++	"/usr/local/lib/browser_plugins",
++	"/usr/local/lib/firefox/plugins",
++	"/usr/local/lib/browser/plugins",
++	"/usr/local/lib/linux-mozilla/plugins",
+ 	"/usr/local/lib/npapi/linux-flashplugin",
+-	"/usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux",
++	"/usr/local/Adobe/Acrobat7.0/ENU/Browser/intellinux",
++#endif
++#if defined(__MidnightBSD__)
++        "/usr/local/lib/browser_plugins",
++	"/usr/local/lib/browser/plugins",
++        "/usr/local/lib/firefox/plugins",
++        "/usr/local/lib/linux-mozilla/plugins",
++        "/usr/local/lib/npapi/linux-flashplugin",
++        "/usr/local/Adobe/Acrobat7.0/ENU/Browser/intellinux",
+ #endif
+ #if defined(__DragonFly__)
+ 	"/usr/pkg/lib/netscape/plugins",


More information about the Midnightbsd-cvs mailing list