summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gimp-devel/Makefile14
-rw-r--r--graphics/gimp-devel/pkg-plist2
2 files changed, 12 insertions, 4 deletions
diff --git a/graphics/gimp-devel/Makefile b/graphics/gimp-devel/Makefile
index 81c14adfd..bc156650b 100644
--- a/graphics/gimp-devel/Makefile
+++ b/graphics/gimp-devel/Makefile
@@ -3,7 +3,7 @@
# Whom: erich@FreeBSD.org
#
# $FreeBSD$
-# $MCom: ports/graphics/gimp-devel/Makefile,v 1.17 2006/06/11 05:20:38 ahze Exp $
+# $MCom: ports/graphics/gimp-devel/Makefile,v 1.18 2006/06/11 05:29:49 ahze Exp $
#
PORTNAME= gimp
@@ -44,8 +44,7 @@ USE_X_PREFIX= yes
USE_XPM= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
-USE_GNOME= gnomehack intltool intlhack gtk20 libartlgpl2 librsvg2 \
- ltverhack
+USE_GNOME= gnomehack intltool intlhack gtk20 libartlgpl2 ltverhack
WANT_GNOME= yes
USE_GCC= 3.4+
INSTALLS_SHLIB= yes
@@ -67,6 +66,7 @@ MAN5= gimprc-2.3.5
OPTIONS= DEBUG "debugging" off \
PYTHON "Python-Fu support" off \
+ RSVG "SVG format support" on \
PRINT "Gutenprint plugin" on \
GNOMEPRINT "GNOME printing plugin" on \
MP "multiple processor support" off
@@ -96,6 +96,14 @@ CONFIGURE_ARGS+= --disable-python
PLIST_SUB+= PYTHON:="@comment "
.endif
+.if defined(WITHOUT_RSVG)
+CONFIGURE_ARGS+= --without-librsvg
+PLIST_SUB+= SVG="@comment "
+.else
+USE_GNOME+= librsvg2
+PLIST_SUB+= SVG=""
+.endif
+
.if !defined(WITHOUT_PRINT)
LIB_DEPENDS+= gutenprintui2.1:${PORTSDIR}/print/gutenprint
EXTRA_DISTFILES+= gimp2-gutenprint-2${EXTRACT_SUFX}:gut
diff --git a/graphics/gimp-devel/pkg-plist b/graphics/gimp-devel/pkg-plist
index e47279f84..391c3ec5e 100644
--- a/graphics/gimp-devel/pkg-plist
+++ b/graphics/gimp-devel/pkg-plist
@@ -426,7 +426,7 @@ libexec/gimp/2.2/plug-ins/spheredesigner
libexec/gimp/2.2/plug-ins/spread
libexec/gimp/2.2/plug-ins/struc
libexec/gimp/2.2/plug-ins/sunras
-libexec/gimp/2.2/plug-ins/svg
+%%SVG%%libexec/gimp/2.2/plug-ins/svg
libexec/gimp/2.2/plug-ins/tga
libexec/gimp/2.2/plug-ins/threshold_alpha
libexec/gimp/2.2/plug-ins/tiff