Changeset 137055 for trunk/dports/tex


Ignore:
Timestamp:
Jun 3, 2015, 7:25:02 PM (4 years ago)
Author:
devans@…
Message:

latexml: maintainer update to version 0.8.1, add license (#46896).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/tex/LaTeXML/Portfile

    r123699 r137055  
    77
    88name                LaTeXML
    9 version             0.8.0
    10 revision            1
    11 categories          tex
     9version             0.8.1
     10license             public-domain
    1211maintainers         nist.gov:bruce.miller
    1312description         LaTeXML converts TeX to XML/HTML/MathML
     
    1716# Written in Perl, but it is an application, not just modules
    1817PortGroup           perl5 1.0
    19 perl5.branches      5.8 5.10 5.12 5.14 5.16 5.18 5.20
     18perl5.branches      5.16
    2019perl5.setup         ${name} ${version}
    2120perl5.link_binaries_suffix
    2221
     22categories          tex
    2323homepage            http://dlmf.nist.gov/LaTeXML/
    2424
    2525platforms           darwin
     26supported_archs     noarch
     27
    2628master_sites        ${homepage}/releases/
    27 checksums           rmd160 cfafc6f4f5e276543333f907a1ec0db3c25e424f \
    28                     sha256 a495019f2828f0734e9e41f0398f6c8d60ba6a934d4ccad4fea7d588ab060388
     29checksums           rmd160 312f0a3d74db75a9210220ab8ea4a1c3f95c6f71 \
     30                    sha256 ea264e1c11210e219a46b7699a578d8632c7bbb6eaea5b06d2eb094122cbab2f
    2931# Use:
    3032# openssl rmd160 LaTeXML-0.8.0.tar.gz
     
    3335#============================================================
    3436# Dependencies
    35 if {${perl5.major} ne ""} {
    36     depends_lib-append \
     37depends_lib-append \
    3738        port:p${perl5.major}-archive-zip \
    3839        port:p${perl5.major}-file-which \
     
    4849        port:p${perl5.major}-xml-libxslt \
    4950        port:p${perl5.major}-perlmagick
    50 }
    51 # Also requires: DB_File, Pod::Parser and Test::More
    52 # but those should be in Perl's core modules.
     51
     52# Also requires: DB_File, Pod::Parser, Test::More & version
     53# but those should be in any non-obsolete Perl's core modules.
    5354
    5455#============================================================
     
    6465# The texlive variant depends on texlive
    6566# and install latexml's stylefiles to texlive's texmf
    66 variant texlive description {Build with (macports) texlive support} {
     67variant texlive conflicts mactex description {Build with (macports) texlive support} {
    6768    notes "Using texlive for TeX: will install styles to its texmf"
    6869    depends_lib-append      port:texlive
    69     configure.args-append   TEXMF=[exec kpsewhich --expand-var='\$TEXMFLOCAL']
     70    pre-configure {
     71        configure.args-append   TEXMF=[exec kpsewhich --expand-var='\$TEXMFLOCAL']
     72    }
    7073    post-activate {
    7174        system "mktexlsr"
     
    7578# The mactex variant expects MacTeX to be installed
    7679# and installs latexml's stylefiles to MacTeX's texmf
    77 variant mactex description {Build with MacTeX support} {
     80variant mactex conflicts texlive description {Build with MacTeX support} {
    7881    # check if MacTeX actually seems to be there...
    7982    pre-configure {
    8083        if {![file executable /usr/texbin/kpsewhich]} {
    8184            ui_error "I cannot find MacTeX's kpswhich in /usr/texbin; aborting installation"
    82             return -code error
     85            return -code error "MacTeX not installed"
     86        } else {
     87            configure.args-append   TEXMF=[exec /usr/texbin/kpsewhich --expand-var='\$TEXMFLOCAL']
    8388        }
    8489    }
    8590    notes "Using MacTeX for TeX: will install styles to MacTeX's texmf \
    8691        (outside macport's common directory structure)"
    87     configure.args-append   TEXMF=[exec /usr/texbin/kpsewhich --expand-var='\$TEXMFLOCAL']
    8892    post-activate {
    8993        system /usr/texbin/mktexlsr
Note: See TracChangeset for help on using the changeset viewer.