diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-11-24 11:12:18 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-11-24 11:12:18 +0800 |
commit | d715df454b1d71bd413a578ffe970b534c706776 (patch) | |
tree | 6ca882a7e2253f68a4a3690975c2bc352150af5b /graphics/librsvg2 | |
parent | db981f745d16418e7efaa8345b827110ba02c69c (diff) | |
download | marcuscom-ports-d715df454b1d71bd413a578ffe970b534c706776.tar marcuscom-ports-d715df454b1d71bd413a578ffe970b534c706776.tar.gz marcuscom-ports-d715df454b1d71bd413a578ffe970b534c706776.tar.bz2 marcuscom-ports-d715df454b1d71bd413a578ffe970b534c706776.tar.lz marcuscom-ports-d715df454b1d71bd413a578ffe970b534c706776.tar.xz marcuscom-ports-d715df454b1d71bd413a578ffe970b534c706776.tar.zst marcuscom-ports-d715df454b1d71bd413a578ffe970b534c706776.zip |
- Add support for USE_GECKO, add thunderbird support
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5205 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/librsvg2')
-rw-r--r-- | graphics/librsvg2/Makefile | 33 |
1 files changed, 4 insertions, 29 deletions
diff --git a/graphics/librsvg2/Makefile b/graphics/librsvg2/Makefile index 146ee4045..d1446cb75 100644 --- a/graphics/librsvg2/Makefile +++ b/graphics/librsvg2/Makefile @@ -3,7 +3,7 @@ # Whom: Ade Lovett <ade@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/graphics/librsvg2/Makefile,v 1.75 2005/11/06 01:27:53 ahze Exp $ +# $MCom: ports/graphics/librsvg2/Makefile,v 1.76 2005/11/11 08:31:34 ahze Exp $ # PORTNAME= librsvg2 @@ -29,6 +29,7 @@ USE_X_PREFIX= yes INSTALLS_SHLIB= yes USE_AUTOTOOLS= libtool:15 USE_REINPLACE= yes +WANT_GECKO= yes USE_GNOME= gnomehack gnomeprefix libgsf gtk20 ltverhack CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" @@ -50,34 +51,8 @@ OPTIONS= MOZILLA_PLUGIN "Enable the SVG browser plug-in" no .include <bsd.port.pre.mk> -# disable mozilla stuff - .if defined(WITH_MOZILLA_PLUGIN) -WITH_MOZILLA?= firefox - -.if ${WITH_MOZILLA}=="firefox" -MOZILLA= firefox -HEADERS_SUFX= -.elif ${WITH_MOZILLA}=="mozilla" -MOZILLA= mozilla -HEADERS_SUFX= -#.elif ${WITH_MOZILLA}=="mozilla-devel" -#MOZILLA= mozilla -#HEADERS_SUFX= -devel -.elif ${WITH_MOZILLA}=="seamonkey" -MOZILLA= seamonkey -HEADERS_SUFX= -.else -MOZILLA= firefox -HEADERS_SUFX= -.endif - -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} - -.if ${WITH_MOZILLA}=="mozilla-devel" && ${OSVERSION} < 500000 -USE_GCC= 3.4 -.endif +USE_GECKO= firefox mozilla seamonkey thunderbird CONFIGURE_ENV+= MOZILLA_CONFIG=no CONFIGURE_ARGS+=--enable-mozilla-plugin=yes @@ -90,7 +65,7 @@ PLIST_SUB+= PLUGIN="@comment " post-patch: .if defined(WITH_MOZILLA_PLUGIN) - @${REINPLACE_CMD} -e 's|mozilla-plugin|${MOZILLA}-plugin${HEADERS_SUFX}|g' \ + @${REINPLACE_CMD} -e 's|mozilla-plugin|${GECKO}-plugin|g' \ ${WRKSRC}/configure .endif |