diff options
-rw-r--r-- | graphics/libsvg/Makefile | 40 | ||||
-rw-r--r-- | graphics/libsvg/distinfo | 2 | ||||
-rw-r--r-- | graphics/libsvg/pkg-descr | 3 |
3 files changed, 45 insertions, 0 deletions
diff --git a/graphics/libsvg/Makefile b/graphics/libsvg/Makefile new file mode 100644 index 000000000..25f6dcdc7 --- /dev/null +++ b/graphics/libsvg/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: libsvg +# Date created: 2004-10-06 +# Whom: Michael Johnson <ahze@ahze.net> +# +# $FreeBSD$ +# + +PORTNAME= libsvg +PORTVERSION= 0.1.4 +CATEGORIES= graphics +MASTER_SITES= http://cairographics.org/snapshots/ + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A parser for SVG content in files or buffers + +LIB_DEPENDS= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \ + png.5:${PORTSDIR}/graphics/png \ + jpeg.9:${PORTSDIR}/graphics/jpeg + +USE_LIBTOOL_VER=15 +USE_GNOME= libxml2 gnomehack gnometarget +USE_ICONV= yes +USE_REINPLACE= yes +INSTALLS_SHLIB= yes + +PLIST_FILES= include/svg.h \ + lib/libsvg.a \ + lib/libsvg.so \ + lib/libsvg.so.1 \ + libdata/pkgconfig/libsvg.pc + +.include <bsd.port.pre.mk> + +post-patch: +.if ${OSVERSION} < 500000 + @${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' \ + ${WRKSRC}/src/svg_ascii.h +.endif + +.include <bsd.port.post.mk> diff --git a/graphics/libsvg/distinfo b/graphics/libsvg/distinfo new file mode 100644 index 000000000..4179755cd --- /dev/null +++ b/graphics/libsvg/distinfo @@ -0,0 +1,2 @@ +MD5 (libsvg-0.1.4.tar.gz) = ce0715e3013f78506795fba16e8455d3 +SIZE (libsvg-0.1.4.tar.gz) = 366688 diff --git a/graphics/libsvg/pkg-descr b/graphics/libsvg/pkg-descr new file mode 100644 index 000000000..075018bf1 --- /dev/null +++ b/graphics/libsvg/pkg-descr @@ -0,0 +1,3 @@ +A parser for SVG content in files or buffers + +WWW: http://cairographics.org/libsvg |