Ticket #43598: Portfile.diff
File Portfile.diff, 2.7 KB (added by brucemiller (bruce miller), 10 years ago) |
---|
-
(a) Portfile-0.7.0 vs. (b) Portfile
a b 5 5 #====================================================================== 6 6 PortSystem 1.0 7 7 name LaTeXML 8 version 0.7.0 9 revision 1 8 version 0.8.0 10 9 categories tex 11 10 maintainers bruce.miller@nist.gov 12 description LaTeXML converts TeX to XML 11 description LaTeXML converts TeX to XML/HTML/MathML 13 12 long_description \ 14 13 LaTeXML converts TeX to XML,\ 15 including XHTMLwith MathML.14 including HTML, XHTML, ePub with MathML. 16 15 17 16 homepage http://dlmf.nist.gov/LaTeXML/ 18 17 platforms darwin 19 18 master_sites http://dlmf.nist.gov/LaTeXML/releases/ 20 checksums md5 61fc79ed5391728c8b00465ab48c6697 \ 21 sha1 3cbc416ea71ff1c21b5ac1493a1b925297eb674d \ 22 rmd160 0230ffc3a1604b891c65276a4e9f745018b3e78a 19 checksums rmd160 cfafc6f4f5e276543333f907a1ec0db3c25e424f \ 20 sha256 a495019f2828f0734e9e41f0398f6c8d60ba6a934d4ccad4fea7d588ab060388 23 21 # 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 27 24 #============================================================ 28 25 # 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 26 depends_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 34 40 # That last seems to be the way to depend on TeX 35 41 # being installed, without necessarily requiring 36 42 # _specifically_ texlive (eg MacTeX or something 37 43 # else perhaps can work, if /usr/texbin is in 38 44 # 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 54 notes "${name} works best with some version of TeX installed. \ 55 Please install MacTeX or 'sudo port install texlive' (or other system) first." 56 39 57 #============================================================ 40 58 # Configuration 41 59 # Override configure to do it the perl way. 42 configure.cmd ${prefix}/bin/perl5.1 2Makefile.PL60 configure.cmd ${prefix}/bin/perl5.16 Makefile.PL 43 61 44 62 # Note that installation does 45 63 # make install DESTDIR=${destroot}