diff options
author | krion <krion@FreeBSD.org> | 2004-10-12 21:09:30 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-10-12 21:09:30 +0800 |
commit | 5ff628dd9ddd884bb991dcf757cf8757506a2777 (patch) | |
tree | c76abab124fa7a90796ef5321d4d944d277044dd /graphics | |
parent | 4817a0ab801c8810c67c65cf31585ef8ea7e7e15 (diff) | |
download | freebsd-ports-gnome-5ff628dd9ddd884bb991dcf757cf8757506a2777.tar.gz freebsd-ports-gnome-5ff628dd9ddd884bb991dcf757cf8757506a2777.tar.zst freebsd-ports-gnome-5ff628dd9ddd884bb991dcf757cf8757506a2777.zip |
Add libsvg 0.1.2, a parser for SVG content in files or buffers.
PR: ports/72406
Submitted by: Michael Johnson <ahze@ahze.net>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/libsvg/Makefile | 40 | ||||
-rw-r--r-- | graphics/libsvg/distinfo | 2 | ||||
-rw-r--r-- | graphics/libsvg/pkg-descr | 3 |
4 files changed, 46 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 139807cbc76d..5d6c9f9e11f4 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -249,6 +249,7 @@ SUBDIR += libqglviewer SUBDIR += librsvg SUBDIR += librsvg2 + SUBDIR += libsvg SUBDIR += libtheora SUBDIR += libungif SUBDIR += libv3d diff --git a/graphics/libsvg/Makefile b/graphics/libsvg/Makefile new file mode 100644 index 000000000000..a2ed37816e1a --- /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.2 +CATEGORIES= graphics +MASTER_SITES= http://cairographics.org/cairo/snapshots/ + +MAINTAINER= ahze@ahze.net +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 000000000000..54ad9ae9e547 --- /dev/null +++ b/graphics/libsvg/distinfo @@ -0,0 +1,2 @@ +MD5 (libsvg-0.1.2.tar.gz) = c8efa4ceb6a919fae30477ee2d6b41c7 +SIZE (libsvg-0.1.2.tar.gz) = 260350 diff --git a/graphics/libsvg/pkg-descr b/graphics/libsvg/pkg-descr new file mode 100644 index 000000000000..6152fecfb772 --- /dev/null +++ b/graphics/libsvg/pkg-descr @@ -0,0 +1,3 @@ +A parser for SVG content in files or buffers + +WWW: http://cairographics.org/ |