Skip to content

Commit

Permalink
updated MacPorts portfile according to suggestions from the MacPorts …
Browse files Browse the repository at this point in the history
…folks
  • Loading branch information
brucemiller committed May 8, 2014
1 parent 31af32f commit 94d4b0e
Showing 1 changed file with 28 additions and 16 deletions.
44 changes: 28 additions & 16 deletions release/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,41 +5,53 @@
#======================================================================
PortSystem 1.0
name LaTeXML
version 0.7.0
version 0.8.0
categories tex
maintainers bruce.miller@nist.gov
description LaTeXML converts TeX to XML
description LaTeXML converts TeX to XML/HTML/MathML
long_description \
LaTeXML converts TeX to XML,\
including XHTML with MathML.
including HTML, XHTML, ePub with MathML.

homepage http://dlmf.nist.gov/LaTeXML/
platforms darwin
master_sites http://dlmf.nist.gov/LaTeXML/releases/
checksums md5 61fc79ed5391728c8b00465ab48c6697 \
sha1 3cbc416ea71ff1c21b5ac1493a1b925297eb674d \
rmd160 0230ffc3a1604b891c65276a4e9f745018b3e78a
checksums rmd160 cfafc6f4f5e276543333f907a1ec0db3c25e424f \
sha256 a495019f2828f0734e9e41f0398f6c8d60ba6a934d4ccad4fea7d588ab060388
# Use:
# md5sum LaTeXML-0.7.0.tar.gz
# openssl sha1 LaTeXML-0.7.0.tar.gz
# openssl rmd160 LaTeXML-0.7.0.tar.gz
# openssl rmd160 LaTeXML-0.8.0.tar.gz
# openssl sha256 LaTeXML-0.8.0.tar.gz
#============================================================
# Dependencies
depends_lib port:p5-parse-recdescent \
port:p5-file-which \
port:p5-xml-libxml \
port:p5-xml-libxslt \
port:p5-perlmagick \
bin:texhash:texlive
depends_lib p5.16-archive-zip \
p5.16-file-which \
p5.16-getopt-long \
p5.16-image-size \
p5.16-io-string \
p5.16-json-xs \
p5.16-libwww-perl \
p5.16-parse-recdescent \
p5.16-time-hires \
p5.16-uri \
p5.16-xml-libxml \
p5.16-xml-libxslt \
p5.16-perlmagick

# Optionally (else install MacTeX or whatever is preferred)
# bin:texhash:texlive

# That last seems to be the way to depend on TeX
# being installed, without necessarily requiring
# _specifically_ texlive (eg MacTeX or something
# else perhaps can work, if /usr/texbin is in
# binpath in macports.conf)
#
# Also requires: DB_File, Pod::Parser and Test::More
# but those should be in Perl's core modules.
#============================================================
# Configuration
# Override configure to do it the perl way.
configure.cmd perl Makefile.PL
configure.cmd ${prefix}/bin/perl5.16 Makefile.PL

# Note that installation does
# make install DESTDIR=${destroot}
Expand Down

0 comments on commit 94d4b0e

Please sign in to comment.