Revision: 140766 https://trac.macports.org/changeset/140766 Author: ryandesign@macports.org Date: 2015-10-02 03:09:17 -0700 (Fri, 02 Oct 2015) Log Message: ----------- pdftk: prevent installation attempt on OS X 10.11 or greater (#48528) Modified Paths: -------------- trunk/dports/textproc/pdftk/Portfile Modified: trunk/dports/textproc/pdftk/Portfile =================================================================== --- trunk/dports/textproc/pdftk/Portfile 2015-10-02 10:05:28 UTC (rev 140765) +++ trunk/dports/textproc/pdftk/Portfile 2015-10-02 10:09:17 UTC (rev 140766) @@ -83,6 +83,16 @@ default_variants +gcc47 } +platform darwin { + pre-fetch { + if {${os.major} > 14} { + ui_error "${subport} currently does not build on OS X 10.11 or greater." + ui_error "See https://trac.macports.org/ticket/48528" + return -code error "incompatible OS X version" + } + } +} + livecheck.type regex livecheck.url https://www.pdflabs.com/docs/install-pdftk-on-redhat-or-centos/ livecheck.regex ${name}-(\[0-9.\]+)-src${extract.suffix}
participants (1)
-
ryandesign@macports.org