mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Update to 2.66, and fix the build with Firefox.
This commit is contained in:
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
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= mplayerplug-in
|
PORTNAME= mplayerplug-in
|
||||||
PORTVERSION= 2.60
|
PORTVERSION= 2.66
|
||||||
CATEGORIES= www multimedia
|
CATEGORIES= www multimedia
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
MASTER_SITE_SUBDIR= mplayerplug-in
|
MASTER_SITE_SUBDIR= mplayerplug-in
|
||||||
|
@ -15,8 +15,8 @@ MAINTAINER= marcus@FreeBSD.org
|
||||||
COMMENT= A Mozilla plugin for the MPlayer media player
|
COMMENT= A Mozilla plugin for the MPlayer media player
|
||||||
|
|
||||||
.if defined(WITH_MOZILLA) && ${WITH_MOZILLA}=="firefox"
|
.if defined(WITH_MOZILLA) && ${WITH_MOZILLA}=="firefox"
|
||||||
BUILD_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/mozilla-plugin.pc:${PORTSDIR}/www/firefox
|
RUN_DEPENDS= ${X11BASE}/lib/firefox/lib/pkgconfig/firefox-plugin.pc:${PORTSDIR}/www/firefox
|
||||||
.else
|
.else
|
||||||
BUILD_DEPENDS= ${X11BASE}/libdata/pkgconfig/mozilla-plugin${HEADERS_SUFX}.pc:${PORTSDIR}/www/mozilla${HEADERS_SUFX}
|
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}
|
RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/mozilla-plugin${HEADERS_SUFX}.pc:${PORTSDIR}/www/mozilla${HEADERS_SUFX}
|
||||||
|
@ -75,8 +75,12 @@ pre-everything::
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
|
||||||
${WRKSRC}/Makefile.in
|
${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' \
|
@${REINPLACE_CMD} -e 's|mozilla-plugin|mozilla-plugin${HEADERS_SUFX}|g' \
|
||||||
${WRKSRC}/configure
|
${WRKSRC}/configure
|
||||||
|
.endif
|
||||||
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' \
|
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' \
|
||||||
${WRKSRC}/Source/plugin-setup.cpp
|
${WRKSRC}/Source/plugin-setup.cpp
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (mplayerplug-in-2.60.tar.gz) = aa736a4f9ed0d5d478de49ecf4c73718
|
MD5 (mplayerplug-in-2.66.tar.gz) = c47806370986a6adf7c8f5ef3e70eaa9
|
||||||
SIZE (mplayerplug-in-2.60.tar.gz) = 160816
|
SIZE (mplayerplug-in-2.66.tar.gz) = 164065
|
||||||
|
|
Loading…
Add table
Reference in a new issue