summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorpav <pav@df743ca5-7f9a-e211-a948-0013205c9059>2006-06-26 18:43:22 +0800
committerpav <pav@df743ca5-7f9a-e211-a948-0013205c9059>2006-06-26 18:43:22 +0800
commitcf72a9891c2a579b03f8630437212f05ca384cbe (patch)
tree166f6be9f45938ea6bec63aeb4b1172dfb5acc7f /graphics
parent5a1d096d91beefe5a52004e28b8b0a8379d600dd (diff)
downloadmarcuscom-ports-cf72a9891c2a579b03f8630437212f05ca384cbe.tar
marcuscom-ports-cf72a9891c2a579b03f8630437212f05ca384cbe.tar.gz
marcuscom-ports-cf72a9891c2a579b03f8630437212f05ca384cbe.tar.bz2
marcuscom-ports-cf72a9891c2a579b03f8630437212f05ca384cbe.tar.lz
marcuscom-ports-cf72a9891c2a579b03f8630437212f05ca384cbe.tar.xz
marcuscom-ports-cf72a9891c2a579b03f8630437212f05ca384cbe.tar.zst
marcuscom-ports-cf72a9891c2a579b03f8630437212f05ca384cbe.zip
- Make librsvg dependency optional
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6496 df743ca5-7f9a-e211-a948-0013205c9059
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