Modified: trunk/dports/graphics/graphite2/Portfile (99241 => 99242)
--- trunk/dports/graphics/graphite2/Portfile 2012-10-30 08:44:20 UTC (rev 99241)
+++ trunk/dports/graphics/graphite2/Portfile 2012-10-30 08:44:59 UTC (rev 99242)
@@ -5,7 +5,7 @@
PortGroup cmake 1.0
name graphite2
-version 1.1.3
+version 1.2.0
categories graphics
platforms darwin
maintainers ryandesign openmaintainer
@@ -21,10 +21,11 @@
master_sites sourceforge:project/silgraphite/graphite2
extract.suffix .tgz
-checksums rmd160 f6858b233753020b83624fe5c8b3e98c3ea1802b \
- sha256 0eb19282a1941bdd5e6d7165718c5d4692d62bac6c1eea56d9e522715cb144f7
+checksums rmd160 fe630b134be3c7f4da019827272c1ce9d09039f3 \
+ sha256 630fba251c7e570f2b0c4a0c63a7abb4d45b0246d390f53188b1a9b73de7b96e
if {${configure.compiler} == "gcc-4.0"} {
+ # https://sourceforge.net/tracker/?func=detail&atid=513479&aid=3581749&group_id=66144
post-patch {
reinplace "s|-fdiagnostics-show-option||g" ${worksrcpath}/src/CMakeLists.txt ${worksrcpath}/tests/CMakeLists.txt
}
@@ -32,4 +33,14 @@
test.run yes
+pre-test {
+ # https://sourceforge.net/tracker/?func=detail&atid=513479&aid=3581750&group_id=66144
+ set python_installed_version [strsed [exec python --version 2>@1] {g/Python //}]
+ set python_minimum_version 2.6
+ if {[vercmp ${python_installed_version} ${python_minimum_version}] < 0} {
+ ui_error "Testing ${name} requires Python ${python_minimum_version} or later but your \"python\" is version ${python_installed_version}."
+ return -code error "incompatible python version"
+ }
+}
+
livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}