1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Add graphics/svg2png

Render an SVG image to a PNG image (using cairo)
This commit is contained in:
Michael Johnson 2005-03-11 04:09:42 +00:00
parent 60c62c8904
commit 77e0249353
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=130848
5 changed files with 43 additions and 0 deletions

View File

@ -492,6 +492,7 @@
SUBDIR += sodipodi
SUBDIR += springgraph
SUBDIR += stamp
SUBDIR += svg2png
SUBDIR += svg2swf
SUBDIR += svgalib
SUBDIR += swfdec

24
graphics/svg2png/Makefile Normal file
View File

@ -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>

View File

@ -0,0 +1,2 @@
MD5 (svg2png-0.1.2.tar.gz) = ded0817c7deeb9ab2d4c4be4d1a1f618
SIZE (svg2png-0.1.2.tar.gz) = 78167

View File

@ -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;

View File

@ -0,0 +1,3 @@
Render an SVG image to a PNG image (using cairo)
WWW: http://cairographics.org