diff options
author | marcus <marcus@FreeBSD.org> | 2003-02-21 05:40:57 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-02-21 05:40:57 +0800 |
commit | ee38202d5895d0c41f863ced8dc9831388718570 (patch) | |
tree | 20795649b478a638db1cb25647bda7a904f4025b /www/mplayer-plugin | |
parent | 429d1ff3835d78ccd1c8ed7c4d307bdf43c04fd4 (diff) | |
download | freebsd-ports-gnome-ee38202d5895d0c41f863ced8dc9831388718570.tar.gz freebsd-ports-gnome-ee38202d5895d0c41f863ced8dc9831388718570.tar.zst freebsd-ports-gnome-ee38202d5895d0c41f863ced8dc9831388718570.zip |
Add mplayerplug-in, a Mozilla plugin that uses MPlayer to play videos on
websites.
Diffstat (limited to 'www/mplayer-plugin')
-rw-r--r-- | www/mplayer-plugin/Makefile | 29 | ||||
-rw-r--r-- | www/mplayer-plugin/distinfo | 1 | ||||
-rw-r--r-- | www/mplayer-plugin/files/patch-Makefile | 13 | ||||
-rw-r--r-- | www/mplayer-plugin/pkg-descr | 3 | ||||
-rw-r--r-- | www/mplayer-plugin/pkg-plist | 2 |
5 files changed, 48 insertions, 0 deletions
diff --git a/www/mplayer-plugin/Makefile b/www/mplayer-plugin/Makefile new file mode 100644 index 000000000000..1c3fe47e0925 --- /dev/null +++ b/www/mplayer-plugin/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: mplayerplug-in +# Date Created: 20 February 2003 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= mplayerplug-in +PORTVERSION= 0.40 +CATEGORIES= www multimedia +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= mplayerplug-in +DISTNAME= ${PORTNAME}_v${PORTVERSION} + +MAINTAINER= marcus@FreeBSD.org +COMMENT= A Mozilla plugin for the MPlayer media player + +RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer + +WRKSRC= ${WRKDIR}/${PORTNAME} +USE_X_PREFIX= yes +USE_GMAKE= yes + +do-install: + ${MKDIR} ${PREFIX}/lib/browser_plugins + ${INSTALL_PROGRAM} ${WRKSRC}/mplayerplug-in.so \ + ${PREFIX}/lib/browser_plugins + +.include <bsd.port.mk> diff --git a/www/mplayer-plugin/distinfo b/www/mplayer-plugin/distinfo new file mode 100644 index 000000000000..76d6fab4be6d --- /dev/null +++ b/www/mplayer-plugin/distinfo @@ -0,0 +1 @@ +MD5 (mplayerplug-in_v0.40.tar.gz) = 45378ac240c9aff7aec25ad30f49ae60 diff --git a/www/mplayer-plugin/files/patch-Makefile b/www/mplayer-plugin/files/patch-Makefile new file mode 100644 index 000000000000..f94cb0a8f0d3 --- /dev/null +++ b/www/mplayer-plugin/files/patch-Makefile @@ -0,0 +1,13 @@ +--- Makefile.orig Thu Feb 20 16:38:02 2003 ++++ Makefile Thu Feb 20 16:38:09 2003 +@@ -30,8 +30,8 @@ + PLUGIN_DEFINES= -DXP_UNIX -Iinclude -ISource/_gen -I/usr/X11R6/include + + CC= gcc +-OPTIMIZER= -g +-CFLAGS= $(OPTIMIZER) $(PLUGIN_DEFINES) -I. -I/usr/include ++OPTIMIZER= ++CFLAGS+= $(OPTIMIZER) $(PLUGIN_DEFINES) -I. -I/usr/include + + SRC= Source/mplayerplug-in.c Source/stubs.c + OBJ= mplayerplug-in.o stubs.o diff --git a/www/mplayer-plugin/pkg-descr b/www/mplayer-plugin/pkg-descr new file mode 100644 index 000000000000..5426030de4f2 --- /dev/null +++ b/www/mplayer-plugin/pkg-descr @@ -0,0 +1,3 @@ +A Mozilla plugin that uses MPlayer to play videos from websites. + +WWW: http://mplayerplug-in.sourceforge.net/ diff --git a/www/mplayer-plugin/pkg-plist b/www/mplayer-plugin/pkg-plist new file mode 100644 index 000000000000..c0666ea49714 --- /dev/null +++ b/www/mplayer-plugin/pkg-plist @@ -0,0 +1,2 @@ +lib/browser_plugins/mplayerplug-in.so +@unexec rmdir %D/lib/browser_plugins 2>/dev/null || /usr/bin/true |