aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/librsvg2
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-04-04 15:22:21 +0800
committermarcus <marcus@FreeBSD.org>2003-04-04 15:22:21 +0800
commit320cfd85c601a85a72c1f728b3b9d6f40b3884ff (patch)
treeb29cda2f3d5f6e9a64143cc7bbba5d8f981b6a59 /graphics/librsvg2
parent0b573070cc8b71fd95ce2f19f1699ee1d32dcc63 (diff)
downloadfreebsd-ports-gnome-320cfd85c601a85a72c1f728b3b9d6f40b3884ff.tar.gz
freebsd-ports-gnome-320cfd85c601a85a72c1f728b3b9d6f40b3884ff.tar.zst
freebsd-ports-gnome-320cfd85c601a85a72c1f728b3b9d6f40b3884ff.zip
Update to 2.2.5.
Diffstat (limited to 'graphics/librsvg2')
-rw-r--r--graphics/librsvg2/Makefile22
-rw-r--r--graphics/librsvg2/distinfo2
-rw-r--r--graphics/librsvg2/pkg-plist1
3 files changed, 21 insertions, 4 deletions
diff --git a/graphics/librsvg2/Makefile b/graphics/librsvg2/Makefile
index 042fbd38ce2e..a8185cb1366b 100644
--- a/graphics/librsvg2/Makefile
+++ b/graphics/librsvg2/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= librsvg2
-PORTVERSION= 2.2.3
-PORTREVISION= 1
+PORTVERSION= 2.2.5
CATEGORIES= graphics gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.2
@@ -42,8 +41,25 @@ PLIST_SUB= GTK_VERSION="2.2.0"
MAN1= rsvg.1
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_GIMP) || exists (${X11BASE}/libexec/gimp/1.3/plug-ins/AlienMap)
+LIB_DEPENDS+= gimp-1.3:${PORTSDIR}/graphics/gimp-devel
+CONFIGURE_ARGS+= --with-gimp
+PLIST_SUB+= GIMP:=""
+.else
+CONFIGURE_ARGS= --without-gimp
+PLIST_SUB+= GIMP:="@comment "
+.endif
+
+pre-everything::
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "Librsvg2 has the following tunable option(s):"
+ @${ECHO_MSG} " WITH_GIMP=yes Build an svg plugin for gimp-devel (default: auto)"
+ @${ECHO_MSG} ""
+
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/graphics/librsvg2/distinfo b/graphics/librsvg2/distinfo
index e454f7fb1be4..3a3e9c8b579d 100644
--- a/graphics/librsvg2/distinfo
+++ b/graphics/librsvg2/distinfo
@@ -1 +1 @@
-MD5 (gnome2/librsvg-2.2.3.tar.bz2) = cdd58f6ce2ce4b5e629501b864f513c2
+MD5 (gnome2/librsvg-2.2.5.tar.bz2) = db71094f14f460142b356c5ce6b9f835
diff --git a/graphics/librsvg2/pkg-plist b/graphics/librsvg2/pkg-plist
index 23b2eb8e600b..21f66f6f4d6d 100644
--- a/graphics/librsvg2/pkg-plist
+++ b/graphics/librsvg2/pkg-plist
@@ -8,6 +8,7 @@ lib/librsvg-2.a
lib/librsvg-2.so
lib/librsvg-2.so.4
libdata/pkgconfig/librsvg-2.0.pc
+%%GIMP:%%libexec/gimp/1.3/plug-ins/svg
share/doc/librsvg/html/home.png
share/doc/librsvg/html/i909.html
share/doc/librsvg/html/index.html