[112537] trunk/dports/tex/pTeX/Portfile
takanori at macports.org
takanori at macports.org
Fri Oct 25 06:45:38 PDT 2013
Revision: 112537
https://trac.macports.org/changeset/112537
Author: takanori at macports.org
Date: 2013-10-25 06:45:37 -0700 (Fri, 25 Oct 2013)
Log Message:
-----------
pTeX:
- "return -code error" should be placed into a pre-fetch block
https://lists.macosforge.org/pipermail/macports-dev/2013-October/024762.html
Modified Paths:
--------------
trunk/dports/tex/pTeX/Portfile
Modified: trunk/dports/tex/pTeX/Portfile
===================================================================
--- trunk/dports/tex/pTeX/Portfile 2013-10-25 13:44:36 UTC (rev 112536)
+++ trunk/dports/tex/pTeX/Portfile 2013-10-25 13:45:37 UTC (rev 112537)
@@ -141,6 +141,16 @@
default_variants +utf8
}
+pre-fetch {
+ if {[variant_isset yu]} {
+ if {${os.platform} == "darwin" && ${os.major} >= 13} {
+ # nop
+ } else {
+ return -code error "variant +yu is supported on Mavericks or later only"
+ }
+ }
+}
+
extract.only ${distname}${extract.suffix}
post-extract {
foreach f {cmap-gs871.tar.gz
@@ -348,13 +358,7 @@
universal_variant no
variant hiragino conflicts yu description {Use Hiragino fonts for typesetting} {}
-variant yu conflicts hiragino description {Use Yu fonts for typesetting (experimental; not recommended)} {
- if {${os.platform} == "darwin" && ${os.major} >= 13} {
- # nop
- } else {
- return -code error "variant +yu is supported on Mavericks or later only"
- }
-}
+variant yu conflicts hiragino description {Use Yu fonts for typesetting (experimental; not recommended)} {}
variant otf description {Install otf.sty} {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131025/abd56de2/attachment.html>
More information about the macports-changes
mailing list