Ticket #32058: patch-ipe-tools.diff
File patch-ipe-tools.diff, 2.7 KB (added by dbevans (David B. Evans), 13 years ago) |
---|
-
Portfile
5 5 6 6 name ipe-tools 7 7 version 20110916 8 revision 1 8 9 categories graphics 9 10 maintainers jacobs-university.de:m.thon 10 11 description Tools for the Ipe extensible drawing editor … … 43 44 rmd160 44c22367e3ef3cb4607310d15af51f527b006be0 44 45 45 46 worksrcdir . 46 patchfiles patch-pdftoipe-${pdftoipe-vers}-src-xmloutputdev.cpp.diff 47 patchfiles patch-pdftoipe-${pdftoipe-vers}-src-xmloutputdev.cpp.diff \ 48 patch-svgtoipe-python_path.diff 47 49 48 50 depends_build port:pkgconfig 49 51 depends_lib port:poppler … … 72 74 xinstall -m 755 ${workpath}/svgtoipe-${svgtoipe-vers}/svgtoipe ${destroot}${prefix}/bin 73 75 } 74 76 75 variant python24 conflicts python25 python26 python27 description {Use PIL from Python 2.4} {77 variant python24 conflicts python25 python26 python27 description {Use PIL from MacPorts Python 2.4} { 76 78 depends_lib-append port:py24-pil 79 post-patch { 80 reinplace "s|__MP_PYTHON_BIN__|${prefix}/bin/python2.4|" ${workpath}/svgtoipe-${svgtoipe-vers}/svgtoipe 81 } 77 82 } 78 83 79 variant python25 conflicts python24 python26 python27 description {Use PIL from Python 2.5} {84 variant python25 conflicts python24 python26 python27 description {Use PIL from MacPorts Python 2.5} { 80 85 depends_lib-append port:py25-pil 86 post-patch { 87 reinplace "s|__MP_PYTHON_BIN__|${prefix}/bin/python2.5|" ${workpath}/svgtoipe-${svgtoipe-vers}/svgtoipe 88 } 81 89 } 82 90 83 variant python26 conflicts python24 python25 python27 description {Use PIL from Python 2.6} {91 variant python26 conflicts python24 python25 python27 description {Use PIL from MacPorts Python 2.6} { 84 92 depends_lib-append port:py26-pil 93 post-patch { 94 reinplace "s|__MP_PYTHON_BIN__|${prefix}/bin/python2.6|" ${workpath}/svgtoipe-${svgtoipe-vers}/svgtoipe 95 } 85 96 } 86 97 87 variant python27 conflicts python24 python25 python26 description {Use PIL from Python 2.7} {98 variant python27 conflicts python24 python25 python26 description {Use PIL from MacPorts Python 2.7} { 88 99 depends_lib-append port:py27-pil 100 post-patch { 101 reinplace "s|__MP_PYTHON_BIN__|${prefix}/bin/python2.7|" ${workpath}/svgtoipe-${svgtoipe-vers}/svgtoipe 102 } 89 103 } 90 104 91 105 if {![variant_isset python24] && ![variant_isset python25] && ![variant_isset python26] && ![variant_isset python27]} { 92 106 default_variants +python27 93 107 } 108 109 livecheck.type regex 110 livecheck.url http://sourceforge.net/projects/ipe7/files/tools/ 111 livecheck.regex "to(?:ipe|xml)-(\[0-9\]*)"