[143851] trunk/dports/graphics/ipe-tools

devans at macports.org devans at macports.org
Wed Dec 23 00:50:28 PST 2015


Revision: 143851
          https://trac.macports.org/changeset/143851
Author:   devans at macports.org
Date:     2015-12-23 00:50:28 -0800 (Wed, 23 Dec 2015)
Log Message:
-----------
ipe-tools: maintainer update to version 20151202, updates maintainer email, now uses github repository (#50117).

Modified Paths:
--------------
    trunk/dports/graphics/ipe-tools/Portfile

Added Paths:
-----------
    trunk/dports/graphics/ipe-tools/files/patch-svgtoipe-svgtoipe.py.diff

Removed Paths:
-------------
    trunk/dports/graphics/ipe-tools/files/patch-svgtoipe-python_path.diff

Modified: trunk/dports/graphics/ipe-tools/Portfile
===================================================================
--- trunk/dports/graphics/ipe-tools/Portfile	2015-12-23 08:31:45 UTC (rev 143850)
+++ trunk/dports/graphics/ipe-tools/Portfile	2015-12-23 08:50:28 UTC (rev 143851)
@@ -1,13 +1,13 @@
 # -*- 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
+PortSystem              1.0
+PortGroup               github 1.0
 
-name                    ipe-tools
-version                 20140303
-revision                14
+github.setup            otfried ipe-tools e5b23399a83d69fd5bb5d4645ef7325b4b57435b
+version                 20151202
 categories              graphics
-maintainers             jacobs-university.de:m.thon \
+maintainers             gmail.com:m7.thon \
                         gmx.de:Torsten.Maehne \
                         openmaintainer
 platforms               darwin
@@ -20,36 +20,13 @@
                         svgtoipe, pdftoipe, figtoipe, ipe5toxml
 
 homepage                http://ipe.otfried.org/
-master_sites            sourceforge:project/ipe7/tools
 
-set svgtoipe-vers       20131107
-set pdftoipe-vers       20140303
-set figtoipe-vers       20091205
-set ipe5toxml-vers      20051114
+checksums               sha1    a650856f7123fe68499f20bbe66695cb040306f7 \
+                        rmd160  9ee6d4eb84455d55a36d24e2233de9f6a25a21f7
 
-distfiles               svgtoipe-${svgtoipe-vers}${extract.suffix} \
-                        pdftoipe-${pdftoipe-vers}-src${extract.suffix} \
-                        figtoipe-${figtoipe-vers}${extract.suffix} \
-                        ipe5toxml-${ipe5toxml-vers}${extract.suffix}
-
-checksums               svgtoipe-${svgtoipe-vers}${extract.suffix} \
-                            sha1    3a702dcd5bce542e7479d197f7e8b7a71d6a8fec \
-                            rmd160  841f690fe3b9f9e6c00139c90606eaaf9f7c67b7 \
-                        pdftoipe-${pdftoipe-vers}-src${extract.suffix} \
-                            sha1    d6de3d6a2bad7e97cb3c545665dec40d5d9708f0 \
-                            rmd160  9744f49d18b7bd72e610122c68d12230e457def5 \
-                        figtoipe-${figtoipe-vers}${extract.suffix} \
-                            sha1    b81f2f0cc568e165bdedb618ced9384ebfcb19a3 \
-                            rmd160  cc1615b55313ab8c151565bdb498fff8ba945029 \
-                        ipe5toxml-${ipe5toxml-vers}${extract.suffix} \
-                            sha1    23cb8b40f1aa8a9bc4904d295b08fe0293cda7fc \
-                            rmd160  44c22367e3ef3cb4607310d15af51f527b006be0
-
-worksrcdir              .
-
-patchfiles              patch-svgtoipe-python_path.diff
+patchfiles              patch-svgtoipe-svgtoipe.py.diff
 post-patch {
-    reinplace "s|__MP_PYTHON_BIN__|${prefix}/bin/python2.7|" ${workpath}/svgtoipe-${svgtoipe-vers}/svgtoipe.py
+    reinplace "s|__MP_PYTHON_BIN__|${prefix}/bin/python2.7|" ${worksrcpath}/svgtoipe/svgtoipe.py
 }
 
 set python.pkgd ${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages
@@ -67,20 +44,17 @@
                         CC=${configure.cc} CXX=${configure.cxx}
 
 build {
-        system "cd ${workpath}/figtoipe-${figtoipe-vers} && ${build.env} ${build.cmd} ${build.target} CXX=${configure.cxx}"
-        system "cd ${workpath}/ipe5toxml && ${build.env} ${build.cmd}"
-        system "cd ${workpath}/pdftoipe-${pdftoipe-vers}-src && ${build.env} CC=${configure.cxx} ${build.cmd} ${build.target}"
+        system "cd ${worksrcpath}/figtoipe && ${build.env} ${build.cmd} ${build.target} CXX=${configure.cxx}"
+        system "cd ${worksrcpath}/ipe5toxml && ${build.env} ${build.cmd}"
+        system "cd ${worksrcpath}/pdftoipe && ${build.env} CC=${configure.cxx} ${build.cmd} ${build.target}"
 }
 
 destroot {
-        xinstall -m 755 ${workpath}/figtoipe-${figtoipe-vers}/figtoipe ${destroot}${prefix}/bin
-        xinstall -m 644 ${workpath}/figtoipe-${figtoipe-vers}/figtoipe.1 ${destroot}${prefix}/share/man/man1
-        xinstall -m 755 ${workpath}/ipe5toxml/ipe5toxml ${destroot}${prefix}/bin
-        xinstall -m 755 ${workpath}/pdftoipe-${pdftoipe-vers}-src/pdftoipe ${destroot}${prefix}/bin
-        xinstall -m 644 ${workpath}/pdftoipe-${pdftoipe-vers}-src/pdftoipe.1 ${destroot}${prefix}/share/man/man1
-        xinstall -m 755 ${workpath}/svgtoipe-${svgtoipe-vers}/svgtoipe.py ${destroot}${prefix}/bin
+        xinstall -m 755 ${worksrcpath}/figtoipe/figtoipe ${destroot}${prefix}/bin
+        xinstall -m 644 ${worksrcpath}/figtoipe/figtoipe.1 ${destroot}${prefix}/share/man/man1
+        xinstall -m 755 ${worksrcpath}/ipe5toxml/ipe5toxml ${destroot}${prefix}/bin
+        xinstall -m 644 ${worksrcpath}/ipe5toxml/ipe5toxml.1 ${destroot}${prefix}/share/man/man1
+        xinstall -m 755 ${worksrcpath}/pdftoipe/pdftoipe ${destroot}${prefix}/bin
+        xinstall -m 644 ${worksrcpath}/pdftoipe/pdftoipe.1 ${destroot}${prefix}/share/man/man1
+        xinstall -m 755 ${worksrcpath}/svgtoipe/svgtoipe.py ${destroot}${prefix}/bin
 }
-
-livecheck.type  regex
-livecheck.url   http://sourceforge.net/projects/ipe7/files/tools/
-livecheck.regex "to(?:ipe|xml)-(\[0-9\]*)"

Deleted: trunk/dports/graphics/ipe-tools/files/patch-svgtoipe-python_path.diff
===================================================================
--- trunk/dports/graphics/ipe-tools/files/patch-svgtoipe-python_path.diff	2015-12-23 08:31:45 UTC (rev 143850)
+++ trunk/dports/graphics/ipe-tools/files/patch-svgtoipe-python_path.diff	2015-12-23 08:50:28 UTC (rev 143851)
@@ -1,8 +0,0 @@
---- svgtoipe-20131107/svgtoipe.py.orig	2014-05-21 06:32:08.000000000 -0700
-+++ svgtoipe-20131107/svgtoipe.py	2014-05-21 06:32:33.000000000 -0700
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!__MP_PYTHON_BIN__
- # --------------------------------------------------------------------
- # convert SVG to Ipe format
- # --------------------------------------------------------------------

Added: trunk/dports/graphics/ipe-tools/files/patch-svgtoipe-svgtoipe.py.diff
===================================================================
--- trunk/dports/graphics/ipe-tools/files/patch-svgtoipe-svgtoipe.py.diff	                        (rev 0)
+++ trunk/dports/graphics/ipe-tools/files/patch-svgtoipe-svgtoipe.py.diff	2015-12-23 08:50:28 UTC (rev 143851)
@@ -0,0 +1,10 @@
+diff --git svgtoipe/svgtoipe.py svgtoipe/svgtoipe.py
+index 45f3e98..9f2b5ed 100644
+--- svgtoipe/svgtoipe.py
++++ svgtoipe/svgtoipe.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!__MP_PYTHON_BIN__
+ # --------------------------------------------------------------------
+ # convert SVG to Ipe format
+ # --------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151223/da0e700c/attachment.html>


More information about the macports-changes mailing list