aboutsummaryrefslogtreecommitdiffstats
path: root/www/mplayer-plugin
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-06-23 07:36:27 +0800
committermarcus <marcus@FreeBSD.org>2004-06-23 07:36:27 +0800
commit411c2313a84244601215ee5d5d3467b18f252b02 (patch)
treef638770218ce9abd1199682239f7a22b6e1687a5 /www/mplayer-plugin
parent759e5b3f0ac57d4b70f894cd8a38d4c60b327af3 (diff)
downloadfreebsd-ports-gnome-411c2313a84244601215ee5d5d3467b18f252b02.tar.gz
freebsd-ports-gnome-411c2313a84244601215ee5d5d3467b18f252b02.tar.zst
freebsd-ports-gnome-411c2313a84244601215ee5d5d3467b18f252b02.zip
Update to 2.66, and fix the build with Firefox.
Diffstat (limited to 'www/mplayer-plugin')
-rw-r--r--www/mplayer-plugin/Makefile10
-rw-r--r--www/mplayer-plugin/distinfo4
2 files changed, 9 insertions, 5 deletions
diff --git a/www/mplayer-plugin/Makefile b/www/mplayer-plugin/Makefile
index ff9f5e322158..fff724ce1b51 100644
--- a/www/mplayer-plugin/Makefile
+++ b/www/mplayer-plugin/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mplayerplug-in
-PORTVERSION= 2.60
+PORTVERSION= 2.66
CATEGORIES= www multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mplayerplug-in
@@ -15,8 +15,8 @@ MAINTAINER= marcus@FreeBSD.org
COMMENT= A Mozilla plugin for the MPlayer media player
.if defined(WITH_MOZILLA) && ${WITH_MOZILLA}=="firefox"
-BUILD_DEPENDS= ${X11BASE}/lib/firefox/lib/pkgconfig/mozilla-plugin.pc:${PORTSDIR}/www/firefox
-RUN_DEPENDS= ${X11BASE}/lib/firefox/lib/pkgconfig/mozilla-plugin.pc:${PORTSDIR}/www/firefox
+BUILD_DEPENDS= ${X11BASE}/lib/firefox/lib/pkgconfig/firefox-plugin.pc:${PORTSDIR}/www/firefox
+RUN_DEPENDS= ${X11BASE}/lib/firefox/lib/pkgconfig/firefox-plugin.pc:${PORTSDIR}/www/firefox
.else
BUILD_DEPENDS= ${X11BASE}/libdata/pkgconfig/mozilla-plugin${HEADERS_SUFX}.pc:${PORTSDIR}/www/mozilla${HEADERS_SUFX}
RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/mozilla-plugin${HEADERS_SUFX}.pc:${PORTSDIR}/www/mozilla${HEADERS_SUFX}
@@ -75,8 +75,12 @@ pre-everything::
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/Makefile.in
+.if defined(WITH_MOZILLA) && ${WITH_MOZILLA}=="firefox"
+ @${REINPLACE_CMD} -e 's|mozilla-|firefox-|g' ${WRKSRC}/configure
+.else
@${REINPLACE_CMD} -e 's|mozilla-plugin|mozilla-plugin${HEADERS_SUFX}|g' \
${WRKSRC}/configure
+.endif
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' \
${WRKSRC}/Source/plugin-setup.cpp
diff --git a/www/mplayer-plugin/distinfo b/www/mplayer-plugin/distinfo
index f3827b3343e8..be49dc59f941 100644
--- a/www/mplayer-plugin/distinfo
+++ b/www/mplayer-plugin/distinfo
@@ -1,2 +1,2 @@
-MD5 (mplayerplug-in-2.60.tar.gz) = aa736a4f9ed0d5d478de49ecf4c73718
-SIZE (mplayerplug-in-2.60.tar.gz) = 160816
+MD5 (mplayerplug-in-2.66.tar.gz) = c47806370986a6adf7c8f5ef3e70eaa9
+SIZE (mplayerplug-in-2.66.tar.gz) = 164065