summaryrefslogtreecommitdiff
path: root/graphics/librsvg2
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-04 07:22:21 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-04 07:22:21 +0000
commitdcb253edb89c2b441dfc6eee66c2f6dff516942f (patch)
tree28eee4777a291d0d78b1ae5c3a6481f05a813e4b /graphics/librsvg2
parentRemove dia. It is now a GNOME 2 port. (diff)
Update to 2.2.5.
Notes
Notes: svn path=/head/; revision=78119
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