Ticket #46896: LaTeXML-1.8.1.Portfile.diff

File LaTeXML-1.8.1.Portfile.diff, 2.2 KB (added by mojca (Mojca Miklavec), 10 years ago)

update LaTeXML to 1.8.1 and try to fix perl variants

  • Portfile

     
    44# Portfile for LaTeXML
    55#======================================================================
    66PortSystem          1.0
     7PortGroup           perl5 1.0
    78
    89name                LaTeXML
    9 version             0.8.0
    10 revision            1
     10version             0.8.1
    1111categories          tex
    1212maintainers         nist.gov:bruce.miller
    1313description         LaTeXML converts TeX to XML/HTML/MathML
    14 long_description \
    15    LaTeXML converts TeX to XML, including HTML, XHTML, ePub with MathML.
     14long_description    LaTeXML converts TeX to XML, including HTML, XHTML, ePub with MathML.
    1615
    1716# Written in Perl, but it is an application, not just modules
    18 PortGroup           perl5 1.0
    19 perl5.branches      5.8 5.10 5.12 5.14 5.16 5.18 5.20
    20 perl5.setup         ${name} ${version}
     17perl5.require_variant   yes
     18perl5.conflict_variants yes
     19perl5.branches          5.16 5.18 5.20
     20perl5.create_variants   ${perl5.branches}
     21perl5.setup             ${name} ${version}
    2122perl5.link_binaries_suffix
    2223
    2324homepage            http://dlmf.nist.gov/LaTeXML/
     
    2425
    2526platforms           darwin
    2627master_sites        ${homepage}/releases/
    27 checksums           rmd160 cfafc6f4f5e276543333f907a1ec0db3c25e424f \
    28                     sha256 a495019f2828f0734e9e41f0398f6c8d60ba6a934d4ccad4fea7d588ab060388
     28
     29checksums           rmd160 312f0a3d74db75a9210220ab8ea4a1c3f95c6f71 \
     30                    sha256 ea264e1c11210e219a46b7699a578d8632c7bbb6eaea5b06d2eb094122cbab2f
     31
    2932# Use:
    3033# openssl rmd160 LaTeXML-0.8.0.tar.gz
    3134# openssl sha256 LaTeXML-0.8.0.tar.gz
     
    3235
    3336#============================================================
    3437# Dependencies
    35 if {${perl5.major} ne ""} {
    36     depends_lib-append \
     38depends_lib-append \
    3739        port:p${perl5.major}-archive-zip \
    3840        port:p${perl5.major}-file-which \
    3941        port:p${perl5.major}-getopt-long \
     
    4749        port:p${perl5.major}-xml-libxml \
    4850        port:p${perl5.major}-xml-libxslt \
    4951        port:p${perl5.major}-perlmagick
    50 }
     52
    5153# Also requires: DB_File, Pod::Parser and Test::More
    5254# but those should be in Perl's core modules.
    5355