diff options
author | hrs <hrs@FreeBSD.org> | 2006-05-23 23:24:48 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2006-05-23 23:24:48 +0800 |
commit | 74b5a10669b437661f5f5ee57377f0b134e0fc43 (patch) | |
tree | 6c71728220f2ea1e0494872e964e0dcc984083c9 /www | |
parent | cbdfab30924b173c337fd44618ca8ca13d5f34eb (diff) | |
download | freebsd-ports-gnome-74b5a10669b437661f5f5ee57377f0b134e0fc43.tar.gz freebsd-ports-gnome-74b5a10669b437661f5f5ee57377f0b134e0fc43.tar.zst freebsd-ports-gnome-74b5a10669b437661f5f5ee57377f0b134e0fc43.zip |
Revert changes related to linux-flashplugin* removal.
Approved by: nork (maintainer)
Diffstat (limited to 'www')
-rw-r--r-- | www/linuxpluginwrapper/Makefile | 15 | ||||
-rw-r--r-- | www/linuxpluginwrapper/pkg-plist | 2 |
2 files changed, 15 insertions, 2 deletions
diff --git a/www/linuxpluginwrapper/Makefile b/www/linuxpluginwrapper/Makefile index a791fee7ce02..adebc6884c4f 100644 --- a/www/linuxpluginwrapper/Makefile +++ b/www/linuxpluginwrapper/Makefile @@ -7,7 +7,7 @@ PORTNAME= linuxpluginwrapper PORTVERSION= 20051113 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www linux emulators MASTER_SITES= http://people.FreeBSD.org/~nork/distfiles/ \ ${MASTER_SITE_LOCAL} @@ -16,7 +16,8 @@ MASTER_SITE_SUBDIR= nork MAINTAINER= nork@FreeBSD.org COMMENT= A wrapper allowing use of linux-plugins with native applications -OPTIONS= REALPLAYER "install linux-realplayer" off \ +OPTIONS= FLASH "install linux-flashplugin" off \ + REALPLAYER "install linux-realplayer" off \ ACROREAD "install acroread7" off .include <bsd.port.pre.mk> @@ -26,6 +27,10 @@ IGNORE= doesn't support ELF symbol versioning, yet. .endif # I will remove WITH_PLUGINS knob. +.if defined(WITH_FLASH) +RUN_DEPENDS= ${X11BASE}/lib/linux-flashplugin6/libflashplayer.so:${PORTSDIR}/www/linux-flashplugin6 +WITH_PLUGINS= 1 +.endif .if defined(WITH_REALPLAYER) RUN_DEPENDS+= ${X11BASE}/lib/linux-mozilla/plugins/nphelix.so:${PORTSDIR}/multimedia/linux-realplayer WITH_PLUGINS= 1 @@ -110,6 +115,12 @@ pre-install: @${LN} -sf ${X11BASE}/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so \ ${X11BASE}/lib/browser_linux_plugins/ .endif +.if defined(WITH_FLASH) + @${LN} -sf ${X11BASE}/lib/linux-flashplugin6/flashplayer.xpt \ + ${X11BASE}/lib/browser_linux_plugins/ + @${LN} -sf ${X11BASE}/lib/linux-flashplugin6/libflashplayer.so \ + ${X11BASE}/lib/browser_linux_plugins/ +.endif .if defined(WITH_REALPLAYER) @${LN} -sf ${X11BASE}/lib/linux-mozilla/plugins/nphelix.so \ ${X11BASE}/lib/browser_linux_plugins/ diff --git a/www/linuxpluginwrapper/pkg-plist b/www/linuxpluginwrapper/pkg-plist index af149a7d738b..877445fc782a 100644 --- a/www/linuxpluginwrapper/pkg-plist +++ b/www/linuxpluginwrapper/pkg-plist @@ -18,6 +18,8 @@ lib/pluginwrapper/realplayer.so @unexec /bin/rmdir %%X11BASE%%/lib/browser_linux_plugins 2>/dev/null || true @exec /bin/mkdir -p %%X11BASE%%/lib/browser_linux_plugins 2>/dev/null || true @exec /bin/ln -sf %%X11BASE%%/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so %%X11BASE%%/lib/browser_linux_plugins/ +@exec /bin/ln -sf %%LOCALBASE%%/lib/linux-flashplugin6/flashplayer.xpt %%X11BASE%%/lib/browser_linux_plugins/ +@exec /bin/ln -sf %%LOCALBASE%%/lib/linux-flashplugin6/libflashplayer.so %%X11BASE%%/lib/browser_linux_plugins/ @exec /bin/ln -sf %%LOCALBASE%%/lib/linux-mozilla/plugins/nphelix.so %%X11BASE%%/lib/browser_linux_plugins/ @exec /bin/ln -sf %%LOCALBASE%%/lib/linux-mozilla/plugins/nphelix.xpt %%X11BASE%%/lib/browser_linux_plugins/ @dirrm lib/pluginwrapper |