summaryrefslogtreecommitdiffstats
path: root/packaging/macosx/ports/python/py-uniconvertor
diff options
context:
space:
mode:
authorsu_v <suv-sf@users.sourceforge.net>2014-08-21 13:44:13 +0000
committer~suv <suv-sf@users.sourceforge.net>2014-08-21 13:44:13 +0000
commit5e862dd1f6841b0714505b129a514a1a2cff926b (patch)
treeeab4d4c0e1b9acf853fff681448b5c0fe009bdef /packaging/macosx/ports/python/py-uniconvertor
parentRemove unused directory in Resources (diff)
downloadinkscape-5e862dd1f6841b0714505b129a514a1a2cff926b.tar.gz
inkscape-5e862dd1f6841b0714505b129a514a1a2cff926b.zip
add custom ports for Inkscape.app (Python 2.6.1 to be used on Leopard and SL, UniConvertor 1.1.5)
(bzr r13506.1.39)
Diffstat (limited to 'packaging/macosx/ports/python/py-uniconvertor')
-rw-r--r--packaging/macosx/ports/python/py-uniconvertor/Portfile46
1 files changed, 46 insertions, 0 deletions
diff --git a/packaging/macosx/ports/python/py-uniconvertor/Portfile b/packaging/macosx/ports/python/py-uniconvertor/Portfile
new file mode 100644
index 000000000..2c4a22ca0
--- /dev/null
+++ b/packaging/macosx/ports/python/py-uniconvertor/Portfile
@@ -0,0 +1,46 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup python 1.0
+
+name py-uniconvertor
+version 1.1.5
+revision 100
+license LGPL-2 GPL-2
+maintainers nomaintainer
+categories python graphics
+platforms darwin
+homepage http://sk1project.org/modules.php?name=Products&product=uniconvertor
+
+description universal vector graphics translator.
+
+long_description \
+ UniConvertor is a universal vector graphics translator. It is a command \
+ line tool which uses sK1 object model to convert one format to another. \
+ Supported input formats include CorelDraw v7-X4 (CDR/CDT/CCX/CDRX/CMX), \
+ Adobe Illustrator v5-9 (AI), PS, EPS, CGM, WMF, XFIG, SVG, SK, SK1, AFF. \
+ Supported output formats include Adobe Illustrator AI, PS, CGM, WMF, \
+ SVG, SK, SK1, PDF.
+
+distname uniconvertor-${version}
+# MacPorts does not properly support URLs with a get parameter.
+# Workaround for this bug: https://trac.macports.org/wiki/PortfileRecipes#fetchwithgetparams
+master_sites http://sk1project.org/dc.php?target=${distfiles}&dummy=
+
+checksums md5 d1272315a58304ece2ff588834e23f72 \
+ sha1 51ec7c4487048c3357ed95cdb4ab3524018a2c9e \
+ rmd160 86211bdb7b7af7611a9db4a2e2f6101995af6850
+
+python.versions 25 26 27
+
+if {$subport != $name} {
+
+ depends_lib-append \
+ port:py${python.version}-sk1libs
+
+}
+
+livecheck.type regex
+livecheck.url http://sk1project.org/modules.php?name=Products&product=uniconvertor&op=download
+livecheck.regex "uniconvertor-(\\d+(?:\\.\\d+)*)${extract.suffix}"