diff options
author | petef <petef@FreeBSD.org> | 2002-11-13 19:35:14 +0000 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2002-11-13 19:35:14 +0000 |
commit | 269736832fa807016964e0100c10c1b5cb50d59f (patch) | |
tree | 8076ce6a7ec4daf80230aa6d9b9539a2a3ea36f6 /www/flashpluginwrapper | |
parent | f7b3688c6a9b478bd962939b8aeb08406ef1072c (diff) | |
download | FreeBSD-ports-269736832fa807016964e0100c10c1b5cb50d59f.zip FreeBSD-ports-269736832fa807016964e0100c10c1b5cb50d59f.tar.gz |
Add flashpluginwrapper 0.20021113, a wrapper allowing use of
linux-flashplugin with native mozilla.
Diffstat (limited to 'www/flashpluginwrapper')
-rw-r--r-- | www/flashpluginwrapper/Makefile | 35 | ||||
-rw-r--r-- | www/flashpluginwrapper/distinfo | 1 | ||||
-rw-r--r-- | www/flashpluginwrapper/files/pkg-message.in | 19 | ||||
-rw-r--r-- | www/flashpluginwrapper/pkg-comment | 1 | ||||
-rw-r--r-- | www/flashpluginwrapper/pkg-descr | 7 | ||||
-rw-r--r-- | www/flashpluginwrapper/pkg-plist | 1 |
6 files changed, 64 insertions, 0 deletions
diff --git a/www/flashpluginwrapper/Makefile b/www/flashpluginwrapper/Makefile new file mode 100644 index 0000000..2ad4495 --- /dev/null +++ b/www/flashpluginwrapper/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: flashpluginwrapper +# Date Created: 13 November 2002 +# Whom: Pete Fritchman <petef@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= flashpluginwrapper +PORTVERSION= 0.20021113 +CATEGORIES= www linux +MASTER_SITES= ${MASTER_SITE_LOCAL} \ + http://absolutbsd.org/~petef/ +MASTER_SITE_SUBDIR= petef + +MAINTAINER= petef@FreeBSD.org + +RUN_DEPENDS= ${LOCALBASE}/lib/flash/libflashplayer.so:${PORTSDIR}/www/linux-flashplugin \ + mozilla:${PORTSDIR}/www/mozilla + +USE_REINPLACE= yes +ONLY_FOR_ARCHS= i386 +PKGMESSAGE= ${WRKDIR}/pkg-message + +post-patch: + @${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},' \ + -e 's,/usr/local,${PREFIX},' ${WRKSRC}/Makefile + +post-install: + @${SED} -e 's,%%PREFIX%%,${PREFIX},' \ + -e 's,%%LOCALBASE%%,${LOCALBASE},' \ + -e 's,%%X11BASE%%,${X11BASE},' \ + < ${FILESDIR}/pkg-message.in > ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/www/flashpluginwrapper/distinfo b/www/flashpluginwrapper/distinfo new file mode 100644 index 0000000..72d9515 --- /dev/null +++ b/www/flashpluginwrapper/distinfo @@ -0,0 +1 @@ +MD5 (flashpluginwrapper-0.20021113.tar.gz) = 500f35313a34e4db865104e306f48431 diff --git a/www/flashpluginwrapper/files/pkg-message.in b/www/flashpluginwrapper/files/pkg-message.in new file mode 100644 index 0000000..1e8e666 --- /dev/null +++ b/www/flashpluginwrapper/files/pkg-message.in @@ -0,0 +1,19 @@ +To use the flash plugin wrapper, you first need to copy the linux flash +plugin into your mozilla directory: + +# cp %%LOCALBASE%%/lib/flash/libflashplayer.so \ + %%X11BASE%%/lib/mozilla/plugins/libflashplayer_linux.so +# cp %%LOCALBASE%%/lib/flash/ShockwaveFlash.class \ + %%X11BASE%%/lib/mozilla/plugins/ + +(Note, if you are using mozilla-devel, the destination directories will be +different) + +Next, change the Mozilla startup script, %%X11BASE%%/bin/mozilla +to have: + +LD_PRELOAD=%%PREFIX%%/lib/libflashplayer.so.1 +export LD_PRELOAD + +at the top of it (but after #!/bin/sh). Now start mozilla and go to +'about:plugins' and the flash plugin is enabled! diff --git a/www/flashpluginwrapper/pkg-comment b/www/flashpluginwrapper/pkg-comment new file mode 100644 index 0000000..e90b8eb --- /dev/null +++ b/www/flashpluginwrapper/pkg-comment @@ -0,0 +1 @@ +A wrapper allowing use of linux-flashplugin with native mozilla diff --git a/www/flashpluginwrapper/pkg-descr b/www/flashpluginwrapper/pkg-descr new file mode 100644 index 0000000..e680e3c --- /dev/null +++ b/www/flashpluginwrapper/pkg-descr @@ -0,0 +1,7 @@ +A wrapper that allows the use of the Linux flash plugin to work with +a FreeBSD-native binary of mozilla. + +WWW: http://tmp.ninth-nine.com/FlashPluginWrapper/ + +- Pete +petef@FreeBSD.org diff --git a/www/flashpluginwrapper/pkg-plist b/www/flashpluginwrapper/pkg-plist new file mode 100644 index 0000000..b0efcdf --- /dev/null +++ b/www/flashpluginwrapper/pkg-plist @@ -0,0 +1 @@ +lib/libflashplayer.so.1 |