Changeset 148968


Ignore:
Timestamp:
May 23, 2016, 11:07:48 PM (3 years ago)
Author:
mojca@…
Message:

texworks: upgrade to 0.6.1, add dependencies and experimental variants

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/editors/texworks/Portfile

    r148930 r148968  
    66PortGroup           github 1.0
    77
    8 github.setup        TeXworks texworks 0.6.0 release-
    9 revision            2
    10 # set git_date      20160403
    11 # version           0.6.0-git-${git_date}
     8github.setup        TeXworks texworks 0.6.1 release-
     9# github.setup      TeXworks texworks <sha>
     10# set git_date      20160425
     11# version           0.6.1-git-${git_date}
    1212platforms           darwin
    1313categories          editors tex
     
    2020                    simple interface accessible to casual and non-technical users.
    2121
    22 checksums           rmd160  4974f0eca3ac3024acd67af4c83eb6c6cdd8e73a \
    23                     sha256  57e8d02d5589dc86b408f197e7ebc2382e05fb5386b9f731dbc7f7cfcb744cac
     22checksums           rmd160  7d5a0f8a81ccf3eecc5eee13b07c746c148ef4f1 \
     23                    sha256  bbd90806a8f164eaabf53bc9e74bd8e28f6a3ef6174f9228a506554601d98c4c
    2424
    25 depends_lib         port:hunspell \
     25depends_build-append \
     26                    port:pkgconfig
     27depends_lib         port:fontconfig \
     28                    port:hunspell \
     29                    port:lua \
     30                    port:poppler \
     31                    port:texlive-bin \
    2632                    port:zlib
    2733
     34# texlive-bin is needed for synctex (but maybe there is some workaround?)
     35# not sure why zlib is needed
     36
    2837cmake.out_of_source yes
     38
     39configure.args-append       -DWITH_LUA=ON \
     40                            -DWITH_MUPDF=OFF \
     41                            -DWITH_POPPLER=ON \
     42                            -DWITH_PYTHON=OFF \
     43                            -DQTPDF_VIEWER=OFF
    2944
    3045variant qt4 description {Build against Qt 4} {
     
    3449}
    3550
    36 variant qt5 description {Build against Qt 5 (doesn't work properly yet)} {
     51variant qt5 description {Build against Qt 5} {
    3752    PortGroup               qt5 1.0
    3853    depends_lib-append      port:poppler-qt5
    3954    configure.args-append   -DDESIRED_QT_VERSION=5
     55}
     56
     57# not properly tested yet
     58variant qtpdf description {Build with an experimental PDF viewer} {
     59    # and zlib
     60    depends_lib-append      port:freetype
     61    configure.args-replace  -DQTPDF_VIEWER=OFF -DQTPDF_VIEWER=ON
    4062}
    4163
Note: See TracChangeset for help on using the changeset viewer.