aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-02-20 21:40:57 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-02-20 21:40:57 +0000
commitb0a32a451c980a6222eb8dc33b006d073028447e (patch)
treeec656b529f4d803be3a12d35aa92718bb5099d6f
parent2e62290655222fda4805ac0590d6d77d3d55cb37 (diff)
downloadports-b0a32a451c980a6222eb8dc33b006d073028447e.tar.gz
ports-b0a32a451c980a6222eb8dc33b006d073028447e.zip
Notes
-rw-r--r--www/Makefile1
-rw-r--r--www/mplayer-plugin/Makefile29
-rw-r--r--www/mplayer-plugin/distinfo1
-rw-r--r--www/mplayer-plugin/files/patch-Makefile13
-rw-r--r--www/mplayer-plugin/pkg-descr3
-rw-r--r--www/mplayer-plugin/pkg-plist2
6 files changed, 49 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index ee618bbabddf..3bb9ffcdec59 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -231,6 +231,7 @@
SUBDIR += mozilla-headers-devel
SUBDIR += mozilla-headers-vendor
SUBDIR += mozilla-vendor
+ SUBDIR += mplayer-plugin
SUBDIR += nautilus-gtkhtml
SUBDIR += nd
SUBDIR += neon
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