source: trunk/dports/tex/blahtexml/Portfile

Last change on this file was 142187, checked in by khindenburg@…, 2 years ago

blahtexml: change dependents to xercesc3 instead of unsupported xercesc(2); disable livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 142187 2015-11-06 02:20:59Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6set nameo           blahtex
7name                ${nameo}ml
8version             0.9
9revision            1
10categories          tex textproc
11platforms           darwin
12license             BSD
13maintainers         takeshi openmaintainer
14description         TeX to MathML converter
15long_description \
16    ${nameo} converts an equation given in a syntax close to TeX into MathML. \
17    In addition, ${name} is able to process a whole XML document into another XML document.
18homepage            http://gva.noekeon.org/blahtexml/
19master_sites        ${homepage}
20worksrcdir          ${name}-${version}
21distname            ${worksrcdir}-src
22
23checksums           rmd160  76eac180ecdcbab924fd93b9e6c9332d0be77600 \
24                    sha256  c5145b02bdf03cd95b7b136de63286819e696639824961d7408bec4591bc3737
25
26depends_lib         port:libiconv \
27                    port:xercesc3
28depends_run         bin:latex:texlive-latex \
29                    bin:dvipng:dvipng
30
31patchfiles          patch-main.cpp.diff \
32                    patch-mainPng.cpp.diff
33
34use_configure       no
35
36build.args          CC=${configure.cc} \
37                    CXX=${configure.cxx} \
38                    CFLAGS="${configure.cppflags} ${configure.optflags} ${configure.ldflags}"
39build.target        ${nameo}-mac ${name}-mac
40if {[variant_isset doc]} {
41    build.target-append doc
42}
43
44destroot {
45    xinstall -c -m 755 ${worksrcpath}/${nameo} ${destroot}${prefix}/bin
46    xinstall -c -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
47    set docdir ${destroot}${prefix}/share/doc/${name}
48    xinstall -d -m 755 ${docdir}
49    file copy ${worksrcpath}/README ${docdir}
50    if {[variant_isset doc]} {
51        file copy ${worksrcpath}/Documentation/manual.pdf ${docdir}
52    }
53}
54
55variant doc description {generate documentation} {
56    depends_build-append    port:texlive-latex-extra \
57                            port:latex2html \
58                            port:libxslt
59}
60
61# https://github.com/gvanas/blahtexml - no tags currently
62livecheck.type      none
Note: See TracBrowser for help on using the repository browser.