[120729] trunk/dports/tex/LaTeXML/Portfile

sean at macports.org sean at macports.org
Thu Jun 5 20:53:47 PDT 2014


Revision: 120729
          https://trac.macports.org/changeset/120729
Author:   sean at macports.org
Date:     2014-06-05 20:53:47 -0700 (Thu, 05 Jun 2014)
Log Message:
-----------
latexml: update to 0.8.0; closes #43598

Modified Paths:
--------------
    trunk/dports/tex/LaTeXML/Portfile

Modified: trunk/dports/tex/LaTeXML/Portfile
===================================================================
--- trunk/dports/tex/LaTeXML/Portfile	2014-06-06 03:53:43 UTC (rev 120728)
+++ trunk/dports/tex/LaTeXML/Portfile	2014-06-06 03:53:47 UTC (rev 120729)
@@ -1,45 +1,47 @@
+# -*- coding: utf-8; mode: tcl; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4; truncate-lines: t -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
 # $Id$
-#======================================================================
-# Portfile for LaTeXML
-# (draft)
-#======================================================================
-PortSystem 1.0
-name LaTeXML
-version 0.7.0
-revision 1
-categories tex
-maintainers bruce.miller at nist.gov
-description LaTeXML converts TeX to XML
-long_description \
-   LaTeXML converts TeX to XML,\
-   including XHTML 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
-# Use:
-# md5sum LaTeXML-0.7.0.tar.gz
-# openssl sha1 LaTeXML-0.7.0.tar.gz
-# openssl rmd160 LaTeXML-0.7.0.tar.gz
+PortSystem          1.0
+name                LaTeXML
+version             0.8.0
+categories          tex
+platforms           darwin
+maintainers         bruce.miller at nist.gov
+license             public-domain
+
+description         LaTeXML converts TeX to XML/HTML/MathML
+long_description    LaTeXML converts TeX to XML,\
+                    including HTML, XHTML, ePub with MathML.
+
+homepage            http://dlmf.nist.gov/LaTeXML/
+master_sites        http://dlmf.nist.gov/LaTeXML/releases/
+
+checksums           rmd160 cfafc6f4f5e276543333f907a1ec0db3c25e424f \
+                    sha256 a495019f2828f0734e9e41f0398f6c8d60ba6a934d4ccad4fea7d588ab060388
+
+# requires: DB_File, Pod::Parser and Test::More
+# but those should be in Perl's core modules.
+depends_lib         port:p5.16-archive-zip \
+                    port:p5.16-file-which \
+                    port:p5.16-getopt-long \
+                    port:p5.16-image-size \
+                    port:p5.16-io-string \
+                    port:p5.16-json-xs \
+                    port:p5.16-libwww-perl \
+                    port:p5.16-parse-recdescent \
+                    port:p5.16-time-hires \
+                    port:p5.16-uri \
+                    port:p5.16-xml-libxml \
+                    port:p5.16-xml-libxslt \
+                    port:p5.16-perlmagick
+
+notes "${name} works best with some version of TeX installed. \
+   Please install MacTeX or 'sudo port install texlive' (or other system) first."
+
 #============================================================
-# Dependencies
-depends_lib port:p5.12-parse-recdescent \
-  	    port:p5.12-xml-libxml \
-  	    port:p5.12-xml-libxslt \
-  	    port:p5.12-perlmagick \
-	    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)
-#============================================================
 # Configuration
 # Override configure to do it the perl way.
-configure.cmd ${prefix}/bin/perl5.12 Makefile.PL
+configure.cmd       ${prefix}/bin/perl5.16 Makefile.PL
 
 # Note that installation does
 #   make install DESTDIR=${destroot}
@@ -52,5 +54,6 @@
 #============================================================
 # Get TeX to notice our style files, since this isn't done
 # when staging the installation to ${destpath}
-post-activate { system "mktexlsr" }
-
+post-activate {
+    system "mktexlsr"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140605/c71cf97b/attachment.html>


More information about the macports-changes mailing list