summaryrefslogtreecommitdiff
path: root/graphics/librsvg2
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2001-05-08 18:57:01 +0000
committerAde Lovett <ade@FreeBSD.org>2001-05-08 18:57:01 +0000
commitac510e8d2de18e0102375ad113b461f8b34deed8 (patch)
treec0fda6bb787b2594f832b4bc28c6b55f56a9367f /graphics/librsvg2
parentAdd librsvg (diff)
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's used by Nautilus for drawing vector icons and anti-aliased type.
Diffstat (limited to 'graphics/librsvg2')
-rw-r--r--graphics/librsvg2/Makefile35
-rw-r--r--graphics/librsvg2/distinfo1
-rw-r--r--graphics/librsvg2/files/patch-Makefile.in27
-rw-r--r--graphics/librsvg2/pkg-comment1
-rw-r--r--graphics/librsvg2/pkg-descr7
-rw-r--r--graphics/librsvg2/pkg-plist20
6 files changed, 91 insertions, 0 deletions
diff --git a/graphics/librsvg2/Makefile b/graphics/librsvg2/Makefile
new file mode 100644
index 000000000000..c921e76dc539
--- /dev/null
+++ b/graphics/librsvg2/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: librsvg
+# Date created: 8th May 2001
+# Whom: Ade Lovett <ade@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= librsvg
+PORTVERSION= 1.0.0
+CATEGORIES= graphics gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= stable/sources/librsvg
+
+MAINTAINER= ade@FreeBSD.org
+
+BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 # XXX
+LIB_DEPENDS= freetype.6:${PORTSDIR}/print/freetype2
+
+USE_GMAKE= yes
+USE_X_PREFIX= yes
+USE_GNOME= yes
+USE_LIBTOOL= yes
+INSTALLS_SHLIB= yes
+
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
+ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+
+.include <bsd.port.mk>
diff --git a/graphics/librsvg2/distinfo b/graphics/librsvg2/distinfo
new file mode 100644
index 000000000000..9622b198a770
--- /dev/null
+++ b/graphics/librsvg2/distinfo
@@ -0,0 +1 @@
+MD5 (librsvg-1.0.0.tar.gz) = d2d7de729021127941830554cc6d35ce
diff --git a/graphics/librsvg2/files/patch-Makefile.in b/graphics/librsvg2/files/patch-Makefile.in
new file mode 100644
index 000000000000..03df01b3c436
--- /dev/null
+++ b/graphics/librsvg2/files/patch-Makefile.in
@@ -0,0 +1,27 @@
+--- Makefile.in.orig Mon May 7 18:13:12 2001
++++ Makefile.in Tue May 8 13:28:38 2001
+@@ -153,6 +153,6 @@
+
+-m4datadir = $(datadir)/aclocal
++m4datadir = $(prefix)/share/aclocal
+ m4data_DATA = librsvg.m4
+
+-confexecdir = $(libdir)
++confexecdir = $(sysconfdir)
+ confexec_DATA = librsvgConf.sh
+@@ -190,3 +190,3 @@
+ LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
+-DATA = $(confexec_DATA) $(m4data_DATA) $(pkgconfig_DATA)
++DATA = $(confexec_DATA) $(m4data_DATA)
+
+@@ -534,4 +534,3 @@
+
+-install-data-am: install-m4dataDATA install-pkgconfigDATA \
+- install-librsvgincHEADERS
++install-data-am: install-m4dataDATA install-librsvgincHEADERS
+ install-data: install-data-am
+@@ -553,3 +552,3 @@
+ $(DESTDIR)$(confexecdir) $(DESTDIR)$(m4datadir) \
+- $(DESTDIR)$(pkgconfigdir) $(DESTDIR)$(librsvgincdir)
++ $(DESTDIR)$(librsvgincdir)
+
diff --git a/graphics/librsvg2/pkg-comment b/graphics/librsvg2/pkg-comment
new file mode 100644
index 000000000000..c0c650440aeb
--- /dev/null
+++ b/graphics/librsvg2/pkg-comment
@@ -0,0 +1 @@
+Library for parsing and rendering SVG vector-graphic files
diff --git a/graphics/librsvg2/pkg-descr b/graphics/librsvg2/pkg-descr
new file mode 100644
index 000000000000..b3f050b65a28
--- /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's used by Nautilus for drawing vector icons and
+anti-aliased type.
+
+WWW: http://www.gnome.org/
diff --git a/graphics/librsvg2/pkg-plist b/graphics/librsvg2/pkg-plist
new file mode 100644
index 000000000000..27700d6246ad
--- /dev/null
+++ b/graphics/librsvg2/pkg-plist
@@ -0,0 +1,20 @@
+bin/librsvg-config
+etc/librsvgConf.sh
+include/librsvg/art_render.h
+include/librsvg/art_render_gradient.h
+include/librsvg/art_render_mask.h
+include/librsvg/art_render_svp.h
+include/librsvg/art_rgba.h
+include/librsvg/librsvg-features.h
+include/librsvg/rsvg-bpath-util.h
+include/librsvg/rsvg-css.h
+include/librsvg/rsvg-defs.h
+include/librsvg/rsvg-ft.h
+include/librsvg/rsvg-paint-server.h
+include/librsvg/rsvg-path.h
+include/librsvg/rsvg.h
+lib/librsvg.a
+lib/librsvg.so
+lib/librsvg.so.1
+share/aclocal/librsvg.m4
+@dirrm include/librsvg