summaryrefslogtreecommitdiffstats
path: root/graphics/librsvg2
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2011-04-27 11:08:15 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2011-04-27 11:08:15 +0800
commitc64dd7234ce0605cf3aece76444e7c60cdd0d4e3 (patch)
tree351bcacf99826c663dd1ffe51b90d3e6f43cf0cd /graphics/librsvg2
parent702d3d5afed05c4b799421f841eee38651f3ed98 (diff)
downloadmarcuscom-ports-c64dd7234ce0605cf3aece76444e7c60cdd0d4e3.tar
marcuscom-ports-c64dd7234ce0605cf3aece76444e7c60cdd0d4e3.tar.gz
marcuscom-ports-c64dd7234ce0605cf3aece76444e7c60cdd0d4e3.tar.bz2
marcuscom-ports-c64dd7234ce0605cf3aece76444e7c60cdd0d4e3.tar.lz
marcuscom-ports-c64dd7234ce0605cf3aece76444e7c60cdd0d4e3.tar.xz
marcuscom-ports-c64dd7234ce0605cf3aece76444e7c60cdd0d4e3.tar.zst
marcuscom-ports-c64dd7234ce0605cf3aece76444e7c60cdd0d4e3.zip
Update to 2.34.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15885 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/librsvg2')
-rw-r--r--graphics/librsvg2/Makefile66
-rw-r--r--graphics/librsvg2/distinfo2
-rw-r--r--graphics/librsvg2/files/patch-Makefile.in19
-rw-r--r--graphics/librsvg2/pkg-descr7
-rw-r--r--graphics/librsvg2/pkg-plist61
5 files changed, 155 insertions, 0 deletions
diff --git a/graphics/librsvg2/Makefile b/graphics/librsvg2/Makefile
new file mode 100644
index 000000000..c1ce4132d
--- /dev/null
+++ b/graphics/librsvg2/Makefile
@@ -0,0 +1,66 @@
+# New ports collection makefile for: librsvg2
+# Date created: 8th May 2001
+# Whom: Ade Lovett <ade@FreeBSD.org>
+#
+# $FreeBSD: ports/graphics/librsvg2/Makefile,v 1.87 2010/12/04 07:32:05 ade Exp $
+# $MCom: ports/graphics/librsvg2/Makefile,v 1.136 2010/11/13 12:59:46 kwm Exp $
+#
+
+PORTNAME?= librsvg2
+PORTVERSION= 2.34.0
+PORTVERSION?= 0
+CATEGORIES= graphics gnome
+MASTER_SITES= GNOME
+MASTER_SITE_SUBDIR= sources/librsvg/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+DISTNAME= librsvg-${PORTVERSION}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Library for parsing and rendering SVG vector-graphic files
+
+BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2
+LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
+ croco-${CROCO_VERSION}.3:${PORTSDIR}/textproc/libcroco
+
+USE_BZIP2= yes
+USE_GETTEXT= yes
+USE_GMAKE= yes
+USE_LDCONFIG= yes
+USE_AUTOTOOLS= libtool
+USE_GNOME= gnomehack gnomeprefix libgsf ltverhack
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --with-svgz \
+ --with-croco \
+ --enable-gtk-theme
+CROCO_VERSION= 0.6
+
+.if defined(SLAVEPORT)
+USE_GNOME+= librsvg2 gtk30
+RUN_DEPENDS= gtk-engines3>=2.90.3.1:${PORTSDIR}/x11-themes/gtk-engines3
+.else
+USE_GNOME+= gtk20
+RUN_DEPENDS= gtk-engines2>=2.7.5_1:${PORTSDIR}/x11-themes/gtk-engines2
+MAN1= rsvg.1
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if defined(SLAVEPORT)
+post-patch:
+ @${REINPLACE_CMD} -e 's|GTK2_REQUIRED=2.16.0|GTK2_REQUIRED=9.16.0|g' \
+ ${WRKSRC}/configure
+
+do-build:
+ @cd ${WRKSRC} && ${GMAKE} rsvg-view-3
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/rsvg-view-3 ${PREFIX}/bin
+
+.else
+post-patch:
+ @${REINPLACE_CMD} -e 's|GTK3_REQUIRED=2.90.0|GTK3_REQUIRED=9.90.0|g' \
+ ${WRKSRC}/configure
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/graphics/librsvg2/distinfo b/graphics/librsvg2/distinfo
new file mode 100644
index 000000000..c1ce49883
--- /dev/null
+++ b/graphics/librsvg2/distinfo
@@ -0,0 +1,2 @@
+SHA256 (gnome2/librsvg-2.34.0.tar.bz2) = 9d2111e086dcffd12466f48ab1ca088654011684c499a4cc4676da918290f3cd
+SIZE (gnome2/librsvg-2.34.0.tar.bz2) = 516994
diff --git a/graphics/librsvg2/files/patch-Makefile.in b/graphics/librsvg2/files/patch-Makefile.in
new file mode 100644
index 000000000..d2009b700
--- /dev/null
+++ b/graphics/librsvg2/files/patch-Makefile.in
@@ -0,0 +1,19 @@
+--- Makefile.in.orig 2010-07-07 13:03:21.000000000 +0200
++++ Makefile.in 2010-07-07 13:04:07.000000000 +0200
+@@ -155,7 +155,6 @@
+ am_rsvg_view_3_OBJECTS = rsvg_view_3-test-display.$(OBJEXT)
+ rsvg_view_3_OBJECTS = $(am_rsvg_view_3_OBJECTS)
+ rsvg_view_3_DEPENDENCIES = \
+- $(top_builddir)/librsvg-@RSVG_API_MAJOR_VERSION@.la \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+@@ -563,7 +562,7 @@
+
+ rsvg_view_3_LDFLAGS =
+ rsvg_view_3_LDADD = \
+- $(top_builddir)/librsvg-@RSVG_API_MAJOR_VERSION@.la \
++ -lrsvg-2 \
+ $(GTK3_LIBS) \
+ $(LIBRSVG_LIBS) \
+ $(LIBCROCO_LIBS) \
diff --git a/graphics/librsvg2/pkg-descr b/graphics/librsvg2/pkg-descr
new file mode 100644
index 000000000..9e39343a5
--- /dev/null
+++ b/graphics/librsvg2/pkg-descr
@@ -0,0 +1,7 @@
+The librsvg library is a lightweight library for parsing and rendering
+vector-graphic files in SVG format (like the ones made by sodipodi). It also
+includes functions that render anti-aliased fonts using freetype, including
+caching of glyphs. It is used by Nautilus for drawing vector icons and
+anti-aliased text.
+
+WWW: http://librsvg.sourceforge.net/
diff --git a/graphics/librsvg2/pkg-plist b/graphics/librsvg2/pkg-plist
new file mode 100644
index 000000000..16aa83016
--- /dev/null
+++ b/graphics/librsvg2/pkg-plist
@@ -0,0 +1,61 @@
+bin/rsvg
+bin/rsvg-convert
+bin/rsvg-view
+include/librsvg-2.0/librsvg/librsvg-enum-types.h
+include/librsvg-2.0/librsvg/librsvg-features.h
+include/librsvg-2.0/librsvg/rsvg-cairo.h
+include/librsvg-2.0/librsvg/rsvg.h
+lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders/libpixbufloader-svg.a
+lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders/libpixbufloader-svg.la
+lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders/libpixbufloader-svg.so
+lib/gtk-2.0/%%GTK2_VERSION%%/engines/libsvg.a
+lib/gtk-2.0/%%GTK2_VERSION%%/engines/libsvg.la
+lib/gtk-2.0/%%GTK2_VERSION%%/engines/libsvg.so
+lib/librsvg-2.a
+lib/librsvg-2.la
+lib/librsvg-2.so
+lib/librsvg-2.so.2
+libdata/pkgconfig/librsvg-2.0.pc
+share/doc/rsvg-2.0/RsvgHandle.html
+share/doc/rsvg-2.0/annotation-glossary.html
+share/doc/rsvg-2.0/api-index-2-14.html
+share/doc/rsvg-2.0/api-index-2-22.html
+share/doc/rsvg-2.0/api-index-2-32.html
+share/doc/rsvg-2.0/api-index-2-4.html
+share/doc/rsvg-2.0/api-index-2-8.html
+share/doc/rsvg-2.0/api-index-2-9.html
+share/doc/rsvg-2.0/api-index-deprecated.html
+share/doc/rsvg-2.0/api-index-full.html
+share/doc/rsvg-2.0/home.png
+share/doc/rsvg-2.0/index.html
+share/doc/rsvg-2.0/index.sgml
+share/doc/rsvg-2.0/left.png
+share/doc/rsvg-2.0/licence.html
+share/doc/rsvg-2.0/object-tree.html
+share/doc/rsvg-2.0/right.png
+share/doc/rsvg-2.0/rsvg-2.0.devhelp
+share/doc/rsvg-2.0/rsvg-2.0.devhelp2
+share/doc/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html
+share/doc/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html
+share/doc/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html
+share/doc/rsvg-2.0/rsvg-Version-check-and-feature-tests.html
+share/doc/rsvg-2.0/rsvg.html
+share/doc/rsvg-2.0/style.css
+share/doc/rsvg-2.0/up.png
+share/pixmaps/svg-viewer.svg
+share/themes/bubble/gtk-2.0/blue.svg
+share/themes/bubble/gtk-2.0/green.svg
+share/themes/bubble/gtk-2.0/gtkrc
+share/themes/bubble/gtk-2.0/orange.svg
+share/themes/bubble/gtk-2.0/purple.svg
+share/themes/bubble/gtk-2.0/red.svg
+@dirrm share/doc/rsvg-2.0
+@dirrm include/librsvg-2.0/librsvg
+@dirrm include/librsvg-2.0
+@dirrmtry lib/gtk-3.0/engines
+@dirrmtry lib/gtk-3.0
+@dirrmtry share/themes/bubble/gtk-2.0
+@dirrmtry share/themes/bubble/gtk-3.0
+@dirrmtry share/themes/bubble
+@exec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders.cache 2>/dev/null || /usr/bin/true
+@unexec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders.cache 2>/dev/null || /usr/bin/true