aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-11-14 06:20:17 +0800
committermiwi <miwi@FreeBSD.org>2008-11-14 06:20:17 +0800
commit7601188e77cb45135876a568db818d31d8357032 (patch)
treea605d5b101f320fb539e8c2e9e2a04cf48fdc41f
parent8dfc8b682faff090554f45e6b2fcb81a52924acf (diff)
downloadfreebsd-ports-gnome-7601188e77cb45135876a568db818d31d8357032.tar.gz
freebsd-ports-gnome-7601188e77cb45135876a568db818d31d8357032.tar.zst
freebsd-ports-gnome-7601188e77cb45135876a568db818d31d8357032.zip
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 <wenheping at wenheping.com>
-rw-r--r--converters/Makefile1
-rw-r--r--converters/py-svglib/Makefile21
-rw-r--r--converters/py-svglib/distinfo3
-rw-r--r--converters/py-svglib/pkg-descr9
-rw-r--r--converters/py-svglib/pkg-plist2
5 files changed, 36 insertions, 0 deletions
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 <wenheping@wenheping.com>
+#
+# $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 <bsd.port.mk>
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%%