[148968] trunk/dports/editors/texworks/Portfile

mojca at macports.org mojca at macports.org
Mon May 23 16:07:49 PDT 2016


Revision: 148968
          https://trac.macports.org/changeset/148968
Author:   mojca at macports.org
Date:     2016-05-23 16:07:48 -0700 (Mon, 23 May 2016)
Log Message:
-----------
texworks: upgrade to 0.6.1, add dependencies and experimental variants

Modified Paths:
--------------
    trunk/dports/editors/texworks/Portfile

Modified: trunk/dports/editors/texworks/Portfile
===================================================================
--- trunk/dports/editors/texworks/Portfile	2016-05-23 20:54:46 UTC (rev 148967)
+++ trunk/dports/editors/texworks/Portfile	2016-05-23 23:07:48 UTC (rev 148968)
@@ -5,10 +5,10 @@
 PortGroup           cmake 1.0
 PortGroup           github 1.0
 
-github.setup        TeXworks texworks 0.6.0 release-
-revision            2
-# set git_date      20160403
-# version           0.6.0-git-${git_date}
+github.setup        TeXworks texworks 0.6.1 release-
+# github.setup      TeXworks texworks <sha>
+# set git_date      20160425
+# version           0.6.1-git-${git_date}
 platforms           darwin
 categories          editors tex
 maintainers         mojca openmaintainer
@@ -19,26 +19,48 @@
                     with a Unicode-based, TeX-aware editor, integrated PDF viewer, and a clean, \
                     simple interface accessible to casual and non-technical users.
 
-checksums           rmd160  4974f0eca3ac3024acd67af4c83eb6c6cdd8e73a \
-                    sha256  57e8d02d5589dc86b408f197e7ebc2382e05fb5386b9f731dbc7f7cfcb744cac
+checksums           rmd160  7d5a0f8a81ccf3eecc5eee13b07c746c148ef4f1 \
+                    sha256  bbd90806a8f164eaabf53bc9e74bd8e28f6a3ef6174f9228a506554601d98c4c
 
-depends_lib         port:hunspell \
+depends_build-append \
+                    port:pkgconfig
+depends_lib         port:fontconfig \
+                    port:hunspell \
+                    port:lua \
+                    port:poppler \
+                    port:texlive-bin \
                     port:zlib
 
+# texlive-bin is needed for synctex (but maybe there is some workaround?)
+# not sure why zlib is needed
+
 cmake.out_of_source yes
 
+configure.args-append       -DWITH_LUA=ON \
+                            -DWITH_MUPDF=OFF \
+                            -DWITH_POPPLER=ON \
+                            -DWITH_PYTHON=OFF \
+                            -DQTPDF_VIEWER=OFF
+
 variant qt4 description {Build against Qt 4} {
     PortGroup               qt4 1.0
     depends_lib-append      port:poppler-qt4-mac
     configure.args-append   -DDESIRED_QT_VERSION=4
 }
 
-variant qt5 description {Build against Qt 5 (doesn't work properly yet)} {
+variant qt5 description {Build against Qt 5} {
     PortGroup               qt5 1.0
     depends_lib-append      port:poppler-qt5
     configure.args-append   -DDESIRED_QT_VERSION=5
 }
 
+# not properly tested yet
+variant qtpdf description {Build with an experimental PDF viewer} {
+    # and zlib
+    depends_lib-append      port:freetype
+    configure.args-replace  -DQTPDF_VIEWER=OFF -DQTPDF_VIEWER=ON
+}
+
 if { ![variant_isset qt5]} {
     default_variants        +qt4
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160523/d008b07f/attachment.html>


More information about the macports-changes mailing list