Update to 2.66, and fix the build with Firefox.

This commit is contained in:
Joe Marcus Clarke 2004-06-22 23:36:27 +00:00
parent a1cb510643
commit 4e8ddbb0de
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=112016
2 changed files with 9 additions and 5 deletions

View file

@ -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

View file

@ -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