diff options
author | ahze <ahze@FreeBSD.org> | 2005-11-30 05:48:50 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-11-30 05:48:50 +0800 |
commit | 063a7e631055659844fb92bb68001c545cc8f5f5 (patch) | |
tree | 0173c0fd56f92363dacd789dd55b1ddc71322464 /graphics | |
parent | d8a93c63f346efdefac5ebcf3d5126c788d8a854 (diff) | |
download | freebsd-ports-gnome-063a7e631055659844fb92bb68001c545cc8f5f5.tar.gz freebsd-ports-gnome-063a7e631055659844fb92bb68001c545cc8f5f5.tar.zst freebsd-ports-gnome-063a7e631055659844fb92bb68001c545cc8f5f5.zip |
- Convert to using USE_GECKO
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/librsvg2/Makefile | 27 |
1 files changed, 4 insertions, 23 deletions
diff --git a/graphics/librsvg2/Makefile b/graphics/librsvg2/Makefile index 5b3dd6dc7008..440a43ec3a4e 100644 --- a/graphics/librsvg2/Makefile +++ b/graphics/librsvg2/Makefile @@ -8,7 +8,7 @@ PORTNAME= librsvg2 PORTVERSION= 2.12.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.12 @@ -51,27 +51,8 @@ OPTIONS= MOZILLA_PLUGIN "Enable the SVG browser plug-in" no .include <bsd.port.pre.mk> .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 -.else -BROKEN= "Unknown Gecko source specified (${WITH_MOZILLA})" -.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 +.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk" CONFIGURE_ENV+= MOZILLA_CONFIG=no CONFIGURE_ARGS+=--enable-mozilla-plugin=yes @@ -84,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 |