From d715df454b1d71bd413a578ffe970b534c706776 Mon Sep 17 00:00:00 2001 From: ahze Date: Thu, 24 Nov 2005 03:12:18 +0000 Subject: - Add support for USE_GECKO, add thunderbird support git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5205 df743ca5-7f9a-e211-a948-0013205c9059 --- graphics/librsvg2/Makefile | 33 ++++----------------------------- 1 file changed, 4 insertions(+), 29 deletions(-) (limited to 'graphics/librsvg2/Makefile') 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 # # $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 -# 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 -- cgit v1.2.3