[130105] trunk/dports/aqua/LyX1/Portfile

larryv at macports.org larryv at macports.org
Fri Dec 26 19:36:37 PST 2014


Revision: 130105
          https://trac.macports.org/changeset/130105
Author:   larryv at macports.org
Date:     2014-12-26 19:36:37 -0800 (Fri, 26 Dec 2014)
Log Message:
-----------
LyX1: Use Python 2.7 always

Modified Paths:
--------------
    trunk/dports/aqua/LyX1/Portfile

Modified: trunk/dports/aqua/LyX1/Portfile
===================================================================
--- trunk/dports/aqua/LyX1/Portfile	2014-12-27 03:36:34 UTC (rev 130104)
+++ trunk/dports/aqua/LyX1/Portfile	2014-12-27 03:36:37 UTC (rev 130105)
@@ -6,7 +6,7 @@
 
 name                LyX1
 version             1.6.10
-revision            1
+revision            2
 categories          aqua
 platforms           darwin
 license             GPL-2+
@@ -22,6 +22,7 @@
 
 conflicts           LyX
 
+depends_build-append    port:python27
 depends_lib-append      bin:tex:texlive \
                         port:ImageMagick
 
@@ -39,30 +40,12 @@
 
 patchfiles          patch-configure.diff
 
+configure.python    ${prefix}/bin/python2.7
 configure.pre_args  --prefix=${applications_dir}/LyX.app
 configure.args      --with-frontend=qt4 --without-x --with-included-gettext \
                     --enable-optimization=-Os --disable-concept-checks \
                     --with-version-suffix=-${branch}
 
-variant python25 conflicts python26 python27 description {Use python25} {
-    depends_build-append    port:python25
-    configure.python        ${prefix}/bin/python2.5
-}
-
-variant python26 conflicts python25 python27 description {Use python26} {
-    depends_build-append    port:python26
-    configure.python        ${prefix}/bin/python2.6
-}
-
-variant python27 conflicts python25 python26 description {Use python27} {
-    depends_build-append    port:python27
-    configure.python        ${prefix}/bin/python2.7
-}
-
-if {![variant_isset python25] && ![variant_isset python26] && ![variant_isset python27]} {
-    default_variants        +python27
-}
-
 livecheck.type      regex
 livecheck.url       ${homepage}
 livecheck.regex     "LyX (1(\\.\\d+)+) released"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141226/48c60d50/attachment.html>


More information about the macports-changes mailing list