diff options
author | marcus <marcus@FreeBSD.org> | 2004-03-06 07:33:20 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-03-06 07:33:20 +0000 |
commit | f21012b38a6b174c2d311f299064de61850b4f0b (patch) | |
tree | e858411627016a0df472ee3d52d9d4a178ee63a2 /www | |
parent | b443efe080ff677353de2d08a0aa33441fbb3df1 (diff) | |
download | FreeBSD-ports-f21012b38a6b174c2d311f299064de61850b4f0b.zip FreeBSD-ports-f21012b38a6b174c2d311f299064de61850b4f0b.tar.gz |
Add firefox support via WITH_MOZILLA=firefox. Note: this only works for
mplayer-plugin. Setting WITH_MOZILLA=firefox will not work with the
galeon ports.
PR: 63805
Submitted by: Stijn Hoop <stijn@win.tue.nl>
Diffstat (limited to 'www')
-rw-r--r-- | www/mplayer-plugin/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/www/mplayer-plugin/Makefile b/www/mplayer-plugin/Makefile index a10270f..415551c 100644 --- a/www/mplayer-plugin/Makefile +++ b/www/mplayer-plugin/Makefile @@ -14,9 +14,14 @@ MASTER_SITE_SUBDIR= mplayerplug-in 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 +.else BUILD_DEPENDS= ${X11BASE}/libdata/pkgconfig/mozilla-plugin${HEADERS_SUFX}.pc:${PORTSDIR}/www/mozilla${HEADERS_SUFX} -RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer \ - ${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} +.endif +RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer HEADERS_SUFX= @@ -44,6 +49,9 @@ HEADERS_SUFX= -devel-gtk1 CONFIGURE_ARGS+= --disable-gtk2 \ --enable-gtk1 .else +.if ${WITH_MOZILLA}=="firefox" +CONFIGURE_ENV+= PKG_CONFIG_PATH=${X11BASE}/lib/firefox/lib/pkgconfig +.else HEADERS_SUFX= -gtk1 CONFIGURE_ARGS+= --disable-gtk2 \ --enable-gtk1 @@ -51,12 +59,14 @@ CONFIGURE_ARGS+= --disable-gtk2 \ .endif .endif .endif +.endif pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} " By default this port uses www/mozilla for Gecko support, but you can" @${ECHO_MSG} " change this by defining WITH_MOZILLA to one of the following values:" @${ECHO_MSG} + @${ECHO_MSG} " firefox " @${ECHO_MSG} " mozilla-devel " @${ECHO_MSG} " mozilla-gtk1 " @${ECHO_MSG} " mozilla-devel-gtk1 " |