diff options
author | ahze <ahze@FreeBSD.org> | 2005-03-11 12:09:42 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-03-11 12:09:42 +0800 |
commit | a8a6530d731fd53bb8ea24cf33953aad59d6ee70 (patch) | |
tree | 13c3f1d4f454ecd39f1a51028b8052879d4bf7b6 | |
parent | eb00a89c9b806506c2c1d0e1c3769772ee9dcebb (diff) | |
download | freebsd-ports-gnome-a8a6530d731fd53bb8ea24cf33953aad59d6ee70.tar.gz freebsd-ports-gnome-a8a6530d731fd53bb8ea24cf33953aad59d6ee70.tar.zst freebsd-ports-gnome-a8a6530d731fd53bb8ea24cf33953aad59d6ee70.zip |
Add graphics/svg2png
Render an SVG image to a PNG image (using cairo)
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/svg2png/Makefile | 24 | ||||
-rw-r--r-- | graphics/svg2png/distinfo | 2 | ||||
-rw-r--r-- | graphics/svg2png/files/patch-src_svg2png.c | 13 | ||||
-rw-r--r-- | graphics/svg2png/pkg-descr | 3 |
5 files changed, 43 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 53545d52f454..7987e89f9fda 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -492,6 +492,7 @@ SUBDIR += sodipodi SUBDIR += springgraph SUBDIR += stamp + SUBDIR += svg2png SUBDIR += svg2swf SUBDIR += svgalib SUBDIR += swfdec diff --git a/graphics/svg2png/Makefile b/graphics/svg2png/Makefile new file mode 100644 index 000000000000..aa35d235df24 --- /dev/null +++ b/graphics/svg2png/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: svg2png +# Date created: 2005-03-10 +# Whom: Michael Johnson <ahze@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= svg2png +PORTVERSION= 0.1.2 +CATEGORIES= graphics +MASTER_SITES= http://cairographics.org/snapshots/ + +MAINTAINER= ports@FreeBSD.org +COMMENT= Render an SVG image to a PNG image (using cairo) + +LIB_DEPENDS= svg-cairo.1:${PORTSDIR}/graphics/libsvg-cairo + +GNU_CONFIGURE= yes +USE_GETOPT_LONG=yes + +MAN1= svg2png.1 +PLIST_FILES= bin/svg2png + +.include <bsd.port.mk> diff --git a/graphics/svg2png/distinfo b/graphics/svg2png/distinfo new file mode 100644 index 000000000000..b9650fe12c69 --- /dev/null +++ b/graphics/svg2png/distinfo @@ -0,0 +1,2 @@ +MD5 (svg2png-0.1.2.tar.gz) = ded0817c7deeb9ab2d4c4be4d1a1f618 +SIZE (svg2png-0.1.2.tar.gz) = 78167 diff --git a/graphics/svg2png/files/patch-src_svg2png.c b/graphics/svg2png/files/patch-src_svg2png.c new file mode 100644 index 000000000000..e4361206236b --- /dev/null +++ b/graphics/svg2png/files/patch-src_svg2png.c @@ -0,0 +1,13 @@ +--- src/svg2png.c.orig Thu Jan 20 10:03:49 2005 ++++ src/svg2png.c Thu Mar 10 23:04:42 2005 +@@ -47,9 +47,9 @@ + main (int argc, char **argv) + { + args_t args; +- args_parse (&args, argc, argv); + FILE *svg_file, *png_file; + svg_cairo_status_t status; ++ args_parse (&args, argc, argv); + + if (strcmp (args.svg_filename, "-") == 0) { + svg_file = stdin; diff --git a/graphics/svg2png/pkg-descr b/graphics/svg2png/pkg-descr new file mode 100644 index 000000000000..abd9a70c4a2f --- /dev/null +++ b/graphics/svg2png/pkg-descr @@ -0,0 +1,3 @@ +Render an SVG image to a PNG image (using cairo) + +WWW: http://cairographics.org |