Ticket #43598: Portfile.diff

File Portfile.diff, 2.7 KB (added by brucemiller (bruce miller), 10 years ago)

diff -u Portfile.old Portfile

  • (a) Portfile-0.7.0 vs. (b) Portfile

    a b  
    55#======================================================================
    66PortSystem 1.0
    77name LaTeXML
    8 version 0.7.0
    9 revision 1
     8version 0.8.0
    109categories tex
    1110maintainers bruce.miller@nist.gov
    12 description LaTeXML converts TeX to XML
     11description LaTeXML converts TeX to XML/HTML/MathML
    1312long_description \
    1413   LaTeXML converts TeX to XML,\
    15    including XHTML with MathML.
     14   including HTML, XHTML, ePub with MathML.
    1615
    1716homepage http://dlmf.nist.gov/LaTeXML/
    1817platforms darwin
    1918master_sites http://dlmf.nist.gov/LaTeXML/releases/
    20 checksums md5 61fc79ed5391728c8b00465ab48c6697 \
    21          sha1 3cbc416ea71ff1c21b5ac1493a1b925297eb674d \
    22          rmd160 0230ffc3a1604b891c65276a4e9f745018b3e78a
     19checksums rmd160 cfafc6f4f5e276543333f907a1ec0db3c25e424f \
     20          sha256 a495019f2828f0734e9e41f0398f6c8d60ba6a934d4ccad4fea7d588ab060388
    2321# Use:
    24 # md5sum LaTeXML-0.7.0.tar.gz
    25 # openssl sha1 LaTeXML-0.7.0.tar.gz
    26 # openssl rmd160 LaTeXML-0.7.0.tar.gz
     22# openssl rmd160 LaTeXML-0.8.0.tar.gz
     23# openssl sha256 LaTeXML-0.8.0.tar.gz
    2724#============================================================
    2825# Dependencies
    29 depends_lib port:p5.12-parse-recdescent \
    30             port:p5.12-xml-libxml \
    31             port:p5.12-xml-libxslt \
    32             port:p5.12-perlmagick \
    33             bin:texhash:texlive
     26depends_lib p5.16-archive-zip \
     27  p5.16-file-which \
     28  p5.16-getopt-long \
     29  p5.16-image-size \
     30  p5.16-io-string \
     31  p5.16-json-xs \
     32  p5.16-libwww-perl \
     33  p5.16-parse-recdescent \
     34  p5.16-time-hires \
     35  p5.16-uri \
     36  p5.16-xml-libxml \
     37  p5.16-xml-libxslt \
     38  p5.16-perlmagick
     39
    3440# That last seems to be the way to depend on TeX
    3541# being installed, without necessarily requiring
    3642# _specifically_ texlive (eg MacTeX or something
    3743# else perhaps can work, if /usr/texbin is in
    3844# binpath in macports.conf)
     45#
     46# Also requires: DB_File, Pod::Parser and Test::More
     47# but those should be in Perl's core modules.
     48#============================================================
     49# LaTeXML works MUCH better if there is a TeX installed.
     50# It (hopefully) will find any installation if it can find kpsewhich
     51# However, we don't require a dependency here since
     52# users may prefer MacTeX, or MacPort's texlive or ....
     53#  bin:texhash:texlive
     54notes "${name} works best with some version of TeX installed. \
     55   Please install MacTeX or 'sudo port install texlive' (or other system) first."
     56
    3957#============================================================
    4058# Configuration
    4159# Override configure to do it the perl way.
    42 configure.cmd ${prefix}/bin/perl5.12 Makefile.PL
     60configure.cmd ${prefix}/bin/perl5.16 Makefile.PL
    4361
    4462# Note that installation does
    4563#   make install DESTDIR=${destroot}