diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-08-06 10:21:08 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-08-06 10:21:08 +0800 |
commit | f7e85e6a5bc2af7edf550e418b771bbae6c50444 (patch) | |
tree | 3c463b5559905b8a66a5a26ff08bc03a3f082f41 /graphics | |
parent | 84a305a31bec8a7cae6addffef0641182756c314 (diff) | |
download | marcuscom-ports-f7e85e6a5bc2af7edf550e418b771bbae6c50444.tar marcuscom-ports-f7e85e6a5bc2af7edf550e418b771bbae6c50444.tar.gz marcuscom-ports-f7e85e6a5bc2af7edf550e418b771bbae6c50444.tar.bz2 marcuscom-ports-f7e85e6a5bc2af7edf550e418b771bbae6c50444.tar.lz marcuscom-ports-f7e85e6a5bc2af7edf550e418b771bbae6c50444.tar.xz marcuscom-ports-f7e85e6a5bc2af7edf550e418b771bbae6c50444.tar.zst marcuscom-ports-f7e85e6a5bc2af7edf550e418b771bbae6c50444.zip |
Add svg2pdf, a tool to render a PDF file from an SVG image using Cairo.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4389 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/svg2pdf/Makefile | 26 | ||||
-rw-r--r-- | graphics/svg2pdf/distinfo | 2 | ||||
-rw-r--r-- | graphics/svg2pdf/files/patch-src_svg2pdf.c | 13 | ||||
-rw-r--r-- | graphics/svg2pdf/pkg-descr | 3 |
4 files changed, 44 insertions, 0 deletions
diff --git a/graphics/svg2pdf/Makefile b/graphics/svg2pdf/Makefile new file mode 100644 index 000000000..82f7fe3dc --- /dev/null +++ b/graphics/svg2pdf/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: svg2pdf +# Date created: August 05, 2005 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= svg2pdf +PORTVERSION= 0.1.3 +CATEGORIES= graphics +MASTER_SITES= http://cairographics.org/snapshots/ + +MAINTAINER= gnome@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 +USE_GNOME= gnometarget + +MAN1= svg2pdf.1 +PLIST_FILES= bin/svg2pdf + +.include <bsd.port.mk> diff --git a/graphics/svg2pdf/distinfo b/graphics/svg2pdf/distinfo new file mode 100644 index 000000000..9c565616f --- /dev/null +++ b/graphics/svg2pdf/distinfo @@ -0,0 +1,2 @@ +MD5 (svg2pdf-0.1.3.tar.gz) = 0059ba059ff89931cf37720fcd102d8f +SIZE (svg2pdf-0.1.3.tar.gz) = 79107 diff --git a/graphics/svg2pdf/files/patch-src_svg2pdf.c b/graphics/svg2pdf/files/patch-src_svg2pdf.c new file mode 100644 index 000000000..ca88b39a9 --- /dev/null +++ b/graphics/svg2pdf/files/patch-src_svg2pdf.c @@ -0,0 +1,13 @@ +--- src/svg2pdf.c.orig Fri Aug 5 22:17:31 2005 ++++ src/svg2pdf.c Fri Aug 5 22:17:48 2005 +@@ -49,9 +49,9 @@ int + main (int argc, char **argv) + { + args_t args; +- args_parse (&args, argc, argv); + FILE *svg_file, *pdf_file; + svg_cairo_status_t status; ++ args_parse (&args, argc, argv); + + if (strcmp (args.svg_filename, "-") == 0) { + svg_file = stdin; diff --git a/graphics/svg2pdf/pkg-descr b/graphics/svg2pdf/pkg-descr new file mode 100644 index 000000000..328167eec --- /dev/null +++ b/graphics/svg2pdf/pkg-descr @@ -0,0 +1,3 @@ +Render an SVG image to a PDF file (using cairo). + +WWW: http://cairographics.org |