From c876bf102d2edd33cb0bc753f526f7643101976f Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 8 Oct 2002 04:08:07 +0000 Subject: Add librsvg2. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15 df743ca5-7f9a-e211-a948-0013205c9059 --- graphics/librsvg2/Makefile | 42 +++++++++++++++++++++++++++++++++ graphics/librsvg2/distinfo | 1 + graphics/librsvg2/files/patch-configure | 13 ++++++++++ graphics/librsvg2/pkg-comment | 1 + graphics/librsvg2/pkg-descr | 7 ++++++ graphics/librsvg2/pkg-plist | 18 ++++++++++++++ 6 files changed, 82 insertions(+) create mode 100644 graphics/librsvg2/Makefile create mode 100644 graphics/librsvg2/distinfo create mode 100644 graphics/librsvg2/files/patch-configure create mode 100644 graphics/librsvg2/pkg-comment create mode 100644 graphics/librsvg2/pkg-descr create mode 100644 graphics/librsvg2/pkg-plist (limited to 'graphics') diff --git a/graphics/librsvg2/Makefile b/graphics/librsvg2/Makefile new file mode 100644 index 000000000..76fdb019c --- /dev/null +++ b/graphics/librsvg2/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: librsvg2 +# Date created: 8th May 2001 +# Whom: Ade Lovett +# +# $FreeBSD: ports/graphics/librsvg2/Makefile,v 1.20 2002/09/20 17:06:59 marcus Exp $ +# + +PORTNAME= librsvg2 +PORTVERSION= 2.1.0 +CATEGORIES= graphics gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.1 +DIST_SUBDIR= gnome2 +DISTNAME= librsvg-${PORTVERSION} + +MAINTAINER= gnome@FreeBSD.org + +BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 # XXX +LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \ + art_lgpl_2.5:${PORTSDIR}/graphics/libart_lgpl2 \ + xml2.5:${PORTSDIR}/textproc/libxml2 \ + gdk_pixbuf-2.0.100:${PORTSDIR}/x11-toolkits/gtk20 \ + popt.0:${PORTSDIR}/devel/popt + +USE_BZIP2= yes +USE_GMAKE= yes +USE_X_PREFIX= yes +INSTALLS_SHLIB= yes +USE_LIBTOOL= yes +USE_REINPLACE= yes +USE_GNOMENG= yes +USE_GNOME= gnomehack +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" +CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} +PLIST_SUB= GTK_VERSION="2.0.100" + +post-patch: + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + +.include diff --git a/graphics/librsvg2/distinfo b/graphics/librsvg2/distinfo new file mode 100644 index 000000000..316d11a6c --- /dev/null +++ b/graphics/librsvg2/distinfo @@ -0,0 +1 @@ +MD5 (gnome2/librsvg-2.1.0.tar.bz2) = 9b86f4e31423424888555e8eb03b94b1 diff --git a/graphics/librsvg2/files/patch-configure b/graphics/librsvg2/files/patch-configure new file mode 100644 index 000000000..c17d39780 --- /dev/null +++ b/graphics/librsvg2/files/patch-configure @@ -0,0 +1,13 @@ + +$FreeBSD: ports/graphics/librsvg2/files/patch-configure,v 1.2 2002/05/20 17:42:24 sobomax Exp $ + +--- configure 2002/04/25 19:16:30 1.1 ++++ configure 2002/04/25 19:16:42 +@@ -5397,6 +5397,7 @@ + + # This can be used to rebuild libtool when needed + LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" ++$ac_aux_dir/ltconfig $LIBTOOL_DEPS + + # Always use our own libtool. + LIBTOOL='$(SHELL) $(top_builddir)/libtool' diff --git a/graphics/librsvg2/pkg-comment b/graphics/librsvg2/pkg-comment new file mode 100644 index 000000000..c0c650440 --- /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 000000000..b3f050b65 --- /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 000000000..c02cecdbd --- /dev/null +++ b/graphics/librsvg2/pkg-plist @@ -0,0 +1,18 @@ +include/librsvg-2/librsvg/librsvg-features.h +include/librsvg-2/librsvg/rsvg.h +lib/gtk-2.0/2.0.100/engines/libsvg.so +lib/librsvg-2.a +lib/librsvg-2.so +lib/librsvg-2.so.3 +libdata/pkgconfig/librsvg-2.0.pc +share/themes/bubble/README +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/red.svg +@dirrm share/themes/bubble/gtk-2.0 +@dirrm share/themes/bubble +@dirrm lib/gtk-2.0/%%GTK_VERSION%%/engines +@dirrm include/librsvg-2/librsvg +@dirrm include/librsvg-2 -- cgit v1.2.3