From 39cba01623d37a634db46dca2d68c46f4bbb6307 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Thu, 13 Nov 2008 22:20:17 +0000 Subject: Svglib is an experimental library for reading SVG files and converting them(to a reasonable degree) to other formats using the Open Source ReportLab Toolkit. As a package it reads existing SVG files and returns them converted to ReportLab Drawing objects that can be used in a variety of ReportLab-related contexts, e.g. as Platypus Flowable objects or in RML2PDF. As a command-line tool it converts SVG files into PDF ones. WWW: http://pypi.python.org/pypi/svglib/ PR: ports/128752 Submitted by: Wen Heping --- converters/Makefile | 1 + converters/py-svglib/Makefile | 21 +++++++++++++++++++++ converters/py-svglib/distinfo | 3 +++ converters/py-svglib/pkg-descr | 9 +++++++++ converters/py-svglib/pkg-plist | 2 ++ 5 files changed, 36 insertions(+) create mode 100644 converters/py-svglib/Makefile create mode 100644 converters/py-svglib/distinfo create mode 100644 converters/py-svglib/pkg-descr create mode 100644 converters/py-svglib/pkg-plist (limited to 'converters') diff --git a/converters/Makefile b/converters/Makefile index 53dc65a2d69c..672cf8f7b4fc 100644 --- a/converters/Makefile +++ b/converters/Makefile @@ -93,6 +93,7 @@ SUBDIR += py-cjkcodecs SUBDIR += py-iconv SUBDIR += py-iconvcodec + SUBDIR += py-svglib SUBDIR += recode SUBDIR += ruby-dump.rb SUBDIR += ruby-iconv diff --git a/converters/py-svglib/Makefile b/converters/py-svglib/Makefile new file mode 100644 index 000000000000..a7c35ea65c8b --- /dev/null +++ b/converters/py-svglib/Makefile @@ -0,0 +1,21 @@ +# New ports collection makefile for: py-svglib +# Date created: 2008-11-11 +# Whom: Wen Heping +# +# $FreeBSD$ +# + +PORTNAME= svglib +PORTVERSION= 0.6.1 +CATEGORIES= converters python +MASTER_SITES= CHEESESHOP \ + http://www.dinu-gherman.net/tmp/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= wenheping@gmail.com +COMMENT= An Library For Reading And Converting SVG + +USE_PYTHON= yes +USE_PYDISTUTILS= easy_install + +.include diff --git a/converters/py-svglib/distinfo b/converters/py-svglib/distinfo new file mode 100644 index 000000000000..14eb0f4c2f4e --- /dev/null +++ b/converters/py-svglib/distinfo @@ -0,0 +1,3 @@ +MD5 (svglib-0.6.1.tar.gz) = a387fc691e700b76dc1d706ac900ac81 +SHA256 (svglib-0.6.1.tar.gz) = cc8e505c8467b689a999ea6885796144731bca1c0810d3c464c5553cef32d275 +SIZE (svglib-0.6.1.tar.gz) = 551565 diff --git a/converters/py-svglib/pkg-descr b/converters/py-svglib/pkg-descr new file mode 100644 index 000000000000..9f8488e355cb --- /dev/null +++ b/converters/py-svglib/pkg-descr @@ -0,0 +1,9 @@ +Svglib is an experimental library for reading SVG files and converting +them(to a reasonable degree) to other formats using the Open Source +ReportLab Toolkit. As a package it reads existing SVG files and returns +them converted to ReportLab Drawing objects that can be used in a +variety of ReportLab-related contexts, e.g. as Platypus Flowable objects +or in RML2PDF. As a command-line tool it converts SVG files into PDF +ones. + +WWW: http://pypi.python.org/pypi/svglib/ diff --git a/converters/py-svglib/pkg-plist b/converters/py-svglib/pkg-plist new file mode 100644 index 000000000000..483d2de61f65 --- /dev/null +++ b/converters/py-svglib/pkg-plist @@ -0,0 +1,2 @@ +bin/svg2pdf +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% -- cgit v1.2.3