aboutsummaryrefslogtreecommitdiff
path: root/www/linuxpluginwrapper
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2004-08-22 05:39:42 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2004-08-22 05:39:42 +0000
commit1a51b16509268e237d05598ce9c09936aef22371 (patch)
treefb7a7bb47e29703319ecff961afcacbdaf58ad89 /www/linuxpluginwrapper
parent678d6bd2bab4f318210159608e7a886fc8c682e3 (diff)
downloadports-1a51b16509268e237d05598ce9c09936aef22371.tar.gz
ports-1a51b16509268e237d05598ce9c09936aef22371.zip
Notes
Diffstat (limited to 'www/linuxpluginwrapper')
-rw-r--r--www/linuxpluginwrapper/Makefile8
-rw-r--r--www/linuxpluginwrapper/pkg-plist3
2 files changed, 8 insertions, 3 deletions
diff --git a/www/linuxpluginwrapper/Makefile b/www/linuxpluginwrapper/Makefile
index 515a4b52df07..fe1ce1987fde 100644
--- a/www/linuxpluginwrapper/Makefile
+++ b/www/linuxpluginwrapper/Makefile
@@ -7,7 +7,7 @@
PORTNAME= linuxpluginwrapper
PORTVERSION= 20040822
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= www linux
MASTER_SITES= http://people.FreeBSD.org/~nork/distfiles/ \
${MASTER_SITE_LOCAL}
@@ -32,7 +32,7 @@ ONLY_FOR_ARCHS= i386
USE_XLIB= yes
USE_REINPLACE= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
-.if defined(WITHOUT_PLUGINS)
+.if defined(WITHOUT_PLUGINS) || ${OSVERSION} < 500000
PLIST= ${WRKDIR}/pkg-plist
.endif
CONFLICTS= flashpluginwrapper-*
@@ -81,6 +81,10 @@ post-build:
< ${.CURDIR}/pkg-message > ${PKGMESSAGE}
.if defined(WITHOUT_PLUGINS)
@${SED} -e "/exec/d" ${.CURDIR}/pkg-plist > ${PLIST}
+.else
+.if ${OSVERSION} < 500000
+ @${SED} -e "/nppdf\.so/d" ${.CURDIR}/pkg-plist > ${PLIST}
+.endif
.endif
pre-install:
diff --git a/www/linuxpluginwrapper/pkg-plist b/www/linuxpluginwrapper/pkg-plist
index 18617bb62136..5678800d3e3b 100644
--- a/www/linuxpluginwrapper/pkg-plist
+++ b/www/linuxpluginwrapper/pkg-plist
@@ -3,11 +3,12 @@ lib/pluginwrapper/acrobat.so
lib/pluginwrapper/jai.so
lib/pluginwrapper/java3d.so
lib/pluginwrapper/java3d_snd.so
+lib/pluginwrapper/pips.so
@unexec /bin/rm -f %%X11BASE%%/lib/browser_plugins/nppdf.so
@unexec /bin/rm -f %%X11BASE%%/lib/browser_plugins/flashplayer.xpt
@unexec /bin/rm -f %%X11BASE%%/lib/browser_plugins/libflashplayer.so
@unexec /bin/rmdir %%X11BASE%%/lib/browser_plugins 2>/dev/null || true
-@unexec /bin/mkdir -p %%X11BASE%%/lib/browser_plugins 2>/dev/null || true
+@exec /bin/mkdir -p %%X11BASE%%/lib/browser_plugins 2>/dev/null || true
@exec /bin/ln -sf %%LOCALBASE%%/Acrobat5/Browsers/intellinux/nppdf.so %%X11BASE%%/lib/browser_plugins/
@exec /bin/ln -sf %%LOCALBASE%%/lib/linux-flashplugin6/flashplayer.xpt %%X11BASE%%/lib/browser_plugins/
@exec /bin/ln -sf %%LOCALBASE%%/lib/linux-flashplugin6/libflashplayer.so %%X11BASE%%/lib/browser_plugins/