diff options
author | petef <petef@FreeBSD.org> | 2002-11-14 03:35:14 +0800 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2002-11-14 03:35:14 +0800 |
commit | 269736832fa807016964e0100c10c1b5cb50d59f (patch) | |
tree | 8076ce6a7ec4daf80230aa6d9b9539a2a3ea36f6 | |
parent | f7b3688c6a9b478bd962939b8aeb08406ef1072c (diff) | |
download | freebsd-ports-gnome-269736832fa807016964e0100c10c1b5cb50d59f.tar.gz freebsd-ports-gnome-269736832fa807016964e0100c10c1b5cb50d59f.tar.zst freebsd-ports-gnome-269736832fa807016964e0100c10c1b5cb50d59f.zip |
Add flashpluginwrapper 0.20021113, a wrapper allowing use of
linux-flashplugin with native mozilla.
-rw-r--r-- | www/Makefile | 1 | ||||
-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 | ||||
-rw-r--r-- | www/linuxpluginwrapper/Makefile | 35 | ||||
-rw-r--r-- | www/linuxpluginwrapper/distinfo | 1 | ||||
-rw-r--r-- | www/linuxpluginwrapper/files/pkg-message.in | 19 | ||||
-rw-r--r-- | www/linuxpluginwrapper/pkg-comment | 1 | ||||
-rw-r--r-- | www/linuxpluginwrapper/pkg-descr | 7 | ||||
-rw-r--r-- | www/linuxpluginwrapper/pkg-plist | 1 |
13 files changed, 129 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 74ae7063a25f..85ca8d53657a 100644 --- a/www/Makefile +++ b/www/Makefile @@ -75,6 +75,7 @@ SUBDIR += flashplugin SUBDIR += flashplugin-mozilla SUBDIR += flashplugin-mozilla-devel + SUBDIR += flashpluginwrapper SUBDIR += frontpage SUBDIR += frontpage-ar SUBDIR += frontpage-de diff --git a/www/flashpluginwrapper/Makefile b/www/flashpluginwrapper/Makefile new file mode 100644 index 000000000000..2ad449543a7f --- /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 000000000000..72d9515311c5 --- /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 000000000000..1e8e666ca9a2 --- /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 000000000000..e90b8ebc66a9 --- /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 000000000000..e680e3ce5317 --- /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 000000000000..b0efcdfe7ec3 --- /dev/null +++ b/www/flashpluginwrapper/pkg-plist @@ -0,0 +1 @@ +lib/libflashplayer.so.1 diff --git a/www/linuxpluginwrapper/Makefile b/www/linuxpluginwrapper/Makefile new file mode 100644 index 000000000000..2ad449543a7f --- /dev/null +++ b/www/linuxpluginwrapper/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/linuxpluginwrapper/distinfo b/www/linuxpluginwrapper/distinfo new file mode 100644 index 000000000000..72d9515311c5 --- /dev/null +++ b/www/linuxpluginwrapper/distinfo @@ -0,0 +1 @@ +MD5 (flashpluginwrapper-0.20021113.tar.gz) = 500f35313a34e4db865104e306f48431 diff --git a/www/linuxpluginwrapper/files/pkg-message.in b/www/linuxpluginwrapper/files/pkg-message.in new file mode 100644 index 000000000000..1e8e666ca9a2 --- /dev/null +++ b/www/linuxpluginwrapper/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/linuxpluginwrapper/pkg-comment b/www/linuxpluginwrapper/pkg-comment new file mode 100644 index 000000000000..e90b8ebc66a9 --- /dev/null +++ b/www/linuxpluginwrapper/pkg-comment @@ -0,0 +1 @@ +A wrapper allowing use of linux-flashplugin with native mozilla diff --git a/www/linuxpluginwrapper/pkg-descr b/www/linuxpluginwrapper/pkg-descr new file mode 100644 index 000000000000..e680e3ce5317 --- /dev/null +++ b/www/linuxpluginwrapper/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/linuxpluginwrapper/pkg-plist b/www/linuxpluginwrapper/pkg-plist new file mode 100644 index 000000000000..b0efcdfe7ec3 --- /dev/null +++ b/www/linuxpluginwrapper/pkg-plist @@ -0,0 +1 @@ +lib/libflashplayer.so.1 |