[121167] trunk/dports/aqua/LyX

khindenburg at macports.org khindenburg at macports.org
Wed Jun 18 16:03:36 PDT 2014


Revision: 121167
          https://trac.macports.org/changeset/121167
Author:   khindenburg at macports.org
Date:     2014-06-18 16:03:36 -0700 (Wed, 18 Jun 2014)
Log Message:
-----------
lyx: update to 2.0.8 - add +debug variant - add depends - closes #43637

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

Added Paths:
-----------
    trunk/dports/aqua/LyX/files/patch-types.diff

Modified: trunk/dports/aqua/LyX/Portfile
===================================================================
--- trunk/dports/aqua/LyX/Portfile	2014-06-18 22:30:16 UTC (rev 121166)
+++ trunk/dports/aqua/LyX/Portfile	2014-06-18 23:03:36 UTC (rev 121167)
@@ -6,11 +6,11 @@
 
 name                LyX
 conflicts           LyX1
-version             2.0.6
+version             2.0.8
 set branch          [join [lrange [split ${version} .] 0 1] .]
 categories          aqua
 license             GPL-2+
-maintainers         nomaintainer
+maintainers         khindenburg openmaintainer
 description         WYSIWYM document processor
 homepage            http://www.lyx.org/
 long_description    LyX is an advanced open source document processor \
@@ -20,10 +20,13 @@
                     leaving details of visual layout to the software.
 
 platforms           darwin
-depends_lib-append  bin:tex:texlive-basic \
-                    port:ImageMagick \
-                    port:boost
 
+depends_build-append    port:bison port:gawk port:cctools \
+                        port:aspell port:hunspell
+depends_lib-append      bin:tex:texlive-basic \
+                        port:ImageMagick \
+                        port:boost
+
 use_xz              yes
 distname            lyx-${version}
 
@@ -33,10 +36,10 @@
                     ftp://ftp.lyx.org/pub/lyx/stable/${branch}.x/ \
                     http://gd.tuwien.ac.at/publishing/tex/lyx/stable/${branch}.x/
 
-checksums           rmd160  8e0e3af80726f566fdd8498f7410c36cffa6bdda \
-                    sha256  a5cb2bedee6e154b50881acd2316cf9d79162d6754e3aa159a6d579f5a828ad2
+checksums           rmd160  6ab1e15ade2100a75020ef85b42f7a346f5ebe63 \
+                    sha256  b4bd32cf5f2c374b1ff88b69b53db0a2ba840942df0c3886b295fb2020683b5e
 
-patchfiles          patch-configure.diff \
+patchfiles          patch-types.diff \
                     patch-libc++_compliance.diff
 
 configure.pre_args  --prefix=${applications_dir}/LyX.app
@@ -63,6 +66,10 @@
     default_variants +python27
 }
 
+variant debug description {Build with debugging information} {
+    configure.args-append   --enable-debug
+}
+
 post-configure {
     reinplace -E \
         "s|mkdir -p \\\$\\(pkgdatadir\\)|\

Added: trunk/dports/aqua/LyX/files/patch-types.diff
===================================================================
--- trunk/dports/aqua/LyX/files/patch-types.diff	                        (rev 0)
+++ trunk/dports/aqua/LyX/files/patch-types.diff	2014-06-18 23:03:36 UTC (rev 121167)
@@ -0,0 +1,11 @@
+--- src/support/docstring.h.orig	2014-05-08 13:30:22.000000000 -0400
++++ src/support/docstring.h	2014-05-08 13:31:40.000000000 -0400
+@@ -24,7 +24,7 @@
+  * Use std::string only in cases 7-bit ASCII is to be manipulated
+  * within the variable.
+  */
+-typedef std::basic_string<char_type> docstring;
++//typedef std::basic_string<char_type> docstring;
+ 
+ /// Creates a docstring from a C string of ASCII characters
+ docstring const from_ascii(char const *);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140618/75a44c8a/attachment.html>


More information about the macports-changes mailing list