Changeset 121679


Ignore:
Timestamp:
Jul 4, 2014, 3:22:41 AM (6 years ago)
Author:
dports@…
Message:

merge from trunk to /users/dports

Location:
users/dports/ports/tex
Files:
1 deleted
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • users/dports/ports/tex

  • users/dports/ports/tex/LaTeXML/Portfile

    r105836 r121679  
     1# -*- 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
    12# $Id$
    2 #======================================================================
    3 # Portfile for LaTeXML
    4 # (draft)
    5 #======================================================================
    6 PortSystem 1.0
    7 name LaTeXML
    8 version 0.7.0
    9 revision 1
    10 categories tex
    11 maintainers bruce.miller@nist.gov
    12 description LaTeXML converts TeX to XML
    13 long_description \
    14    LaTeXML converts TeX to XML,\
    15    including XHTML with MathML.
    163
    17 homepage http://dlmf.nist.gov/LaTeXML/
    18 platforms darwin
    19 master_sites http://dlmf.nist.gov/LaTeXML/releases/
    20 checksums md5 61fc79ed5391728c8b00465ab48c6697 \
    21          sha1 3cbc416ea71ff1c21b5ac1493a1b925297eb674d \
    22          rmd160 0230ffc3a1604b891c65276a4e9f745018b3e78a
    23 # 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
    27 #============================================================
    28 # 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
    34 # That last seems to be the way to depend on TeX
    35 # being installed, without necessarily requiring
    36 # _specifically_ texlive (eg MacTeX or something
    37 # else perhaps can work, if /usr/texbin is in
    38 # binpath in macports.conf)
     4PortSystem          1.0
     5name                LaTeXML
     6version             0.8.0
     7categories          tex
     8platforms           darwin
     9maintainers         bruce.miller@nist.gov
     10license             public-domain
     11
     12description         LaTeXML converts TeX to XML/HTML/MathML
     13long_description    LaTeXML converts TeX to XML,\
     14                    including HTML, XHTML, ePub with MathML.
     15
     16homepage            http://dlmf.nist.gov/LaTeXML/
     17master_sites        http://dlmf.nist.gov/LaTeXML/releases/
     18
     19checksums           rmd160 cfafc6f4f5e276543333f907a1ec0db3c25e424f \
     20                    sha256 a495019f2828f0734e9e41f0398f6c8d60ba6a934d4ccad4fea7d588ab060388
     21
     22# requires: DB_File, Pod::Parser and Test::More
     23# but those should be in Perl's core modules.
     24depends_lib         port:p5.16-archive-zip \
     25                    port:p5.16-file-which \
     26                    port:p5.16-getopt-long \
     27                    port:p5.16-image-size \
     28                    port:p5.16-io-string \
     29                    port:p5.16-json-xs \
     30                    port:p5.16-libwww-perl \
     31                    port:p5.16-parse-recdescent \
     32                    port:p5.16-time-hires \
     33                    port:p5.16-uri \
     34                    port:p5.16-xml-libxml \
     35                    port:p5.16-xml-libxslt \
     36                    port:p5.16-perlmagick
     37
     38notes "${name} works best with some version of TeX installed. \
     39   Please install MacTeX or 'sudo port install texlive' (or other system) first."
     40
    3941#============================================================
    4042# Configuration
    4143# Override configure to do it the perl way.
    42 configure.cmd ${prefix}/bin/perl5.12 Makefile.PL
     44configure.cmd       ${prefix}/bin/perl5.16 Makefile.PL
    4345
    4446# Note that installation does
     
    5355# Get TeX to notice our style files, since this isn't done
    5456# when staging the installation to ${destpath}
    55 post-activate { system "mktexlsr" }
    56 
     57post-activate {
     58    system "mktexlsr"
     59}
  • users/dports/ports/tex/kde4-kile/Portfile

    r98704 r121679  
    77name                kde4-kile
    88version             2.1.3
     9revision            1
    910categories          tex kde kde4
    1011platforms           darwin
     
    3132depends_run-append  port:okular \
    3233                    port:kate \
    33                     port:ImageMagick \
    34                     port:ghostscript \
     34                    bin:convert:ImageMagick \
     35                    bin:gs:ghostscript \
    3536                    bin:tex:texlive
    3637
    37 patchfiles          patch-kilestdtools.rc.macports.diff \
     38patchfiles-append   patch-kilestdtools.cpp.diff \
     39                    patch-kilestdtools.rc.macports.diff \
    3840                    patch-runTests.sh.macports.diff
    3941
    4042post-patch {
    41     reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/data/kilestdtools.rc ${worksrcpath}/src/test/runTests.sh
    42     reinplace "s|@APPLICATIONS_DIR@|${applications_dir}|g" ${worksrcpath}/src/data/kilestdtools.rc ${worksrcpath}/src/test/runTests.sh
     43    if {[variant_isset mactex]} {
     44        reinplace "s|@TEXPREFIX@|/bin/texbin|g" \
     45            ${worksrcpath}/src/data/kilestdtools.rc ${worksrcpath}/src/test/runTests.sh
     46    } else {
     47        reinplace "s|@TEXPREFIX@|${prefix}/bin|g" \
     48            ${worksrcpath}/src/data/kilestdtools.rc ${worksrcpath}/src/test/runTests.sh
     49    }
     50    reinplace "s|@APPLICATIONS_DIR@|${applications_dir}|g" \
     51        ${worksrcpath}/src/data/kilestdtools.rc ${worksrcpath}/src/test/runTests.sh
     52}
     53
     54variant mactex description "change support of kile for MacTeX TeXLive" {
     55    notes-append "For the mactex variant to work, /usr/texbin must also be added to binpath in macports.conf"
    4356}
    4457
  • users/dports/ports/tex/kde4-kile/files/patch-kilestdtools.rc.macports.diff

    r84698 r121679  
    1 --- src/data/kilestdtools.rc.orig       2010-12-27 12:14:27.000000000 +0100
    2 +++ src/data/kilestdtools.rc    2011-02-25 21:31:05.000000000 +0100
     1--- src/data/kilestdtools.rc.orig       2012-09-23 05:58:08.000000000 +0900
     2+++ src/data/kilestdtools.rc    2014-06-12 20:27:41.000000000 +0900
    33@@ -32,7 +32,7 @@
    44 
     
    66 class=Compile
    77-command=bibtex
    8 +command=@PREFIX@/bin/bibtex
     8+command=@TEXPREFIX@/bibtex
    99 options='%S'
    1010 from=aux
     
    1515 class=Compile
    1616-command=bibtex8
    17 +command=@PREFIX@/bin/bibtex8
     17+command=@TEXPREFIX@/bibtex8
    1818 options='%S'
    1919 from=aux
     
    2424 class=Convert
    2525-command=convert
    26 +command=@PREFIX@/bin/convert
     26+command=@TEXPREFIX@/convert
    2727 options=+adjoin -antialias -trim -transparent white -density %res '%S.eps' '%S.png'
    2828 from=eps
     
    3333 class=Convert
    3434-command=convert
    35 +command=@PREFIX@/bin/convert
     35+command=@TEXPREFIX@/convert
    3636 options=+adjoin -antialias -trim -transparent white -density %res '%S.pdf' '%S.png'
    3737 from=pdf
     
    4242 class=Convert
    4343-command=dvipdfmx
    44 +command=@PREFIX@/bin/dvipdfmx
     44+command=@TEXPREFIX@/dvipdfmx
    4545 options='%S.dvi'
    4646 from=dvi
     
    5151 class=Convert
    5252-command=dvipdfmx
    53 +command=@PREFIX@/bin/dvipdfmx
     53+command=@TEXPREFIX@/dvipdfmx
    5454 options=-c '%S.dvi'
    5555 from=dvi
     
    6060 class=Convert
    6161-command=dvipdfmx
    62 +command=@PREFIX@/bin/dvipdfmx
     62+command=@TEXPREFIX@/dvipdfmx
    6363 options=-l '%S.dvi'
    6464 from=dvi
     
    6969 class=Convert
    7070-command=dvipng
    71 +command=@PREFIX@/bin/dvipng
     71+command=@TEXPREFIX@/dvipng
    7272 options=-T tight -D %res -o '%S.png' '%S.dvi'
    7373 from=dvi
     
    7878 class=Convert
    7979-command=dvips
    80 +command=@PREFIX@/bin/dvips
     80+command=@TEXPREFIX@/dvips
    8181 options=-o '%S.ps' '%S.dvi'
    8282 from=dvi
     
    8787 class=Convert
    8888-command=dvips
    89 +command=@PREFIX@/bin/dvips
     89+command=@TEXPREFIX@/dvips
    9090 options=-o '%S.eps' '%S.dvi'
    9191 from=dvi
     
    9696 class=LaTeX
    9797-command=latex
    98 +command=@PREFIX@/bin/latex
     98+command=@TEXPREFIX@/latex
    9999 options=-interaction=nonstopmode '%source'
    100100 from=
     
    105105 class=LaTeX
    106106-command=latex
    107 +command=@PREFIX@/bin/latex
     107+command=@TEXPREFIX@/latex
    108108 options=-draftmode -interaction=nonstopmode '%source'
    109109 from=
     
    114114 class=LaTeX
    115115-command=latex
    116 +command=@PREFIX@/bin/latex
     116+command=@TEXPREFIX@/latex
    117117 options=-src-specials -interaction=nonstopmode '%source'
    118118 from=
     
    123123 class=Compile
    124124-command=makeindex
    125 +command=@PREFIX@/bin/makeindex
     125+command=@TEXPREFIX@/makeindex
    126126 options='%S.idx'
    127127 from=idx
     
    132132 class=Compile
    133133-command=xindy
    134 +command=@PREFIX@/bin/xindy
     134+command=@TEXPREFIX@/xindy
    135135 options='%S.idx'
    136136 from=idx
     
    141141 class=Compile
    142142-command=mpost
    143 +command=@PREFIX@/bin/mpost
     143+command=@TEXPREFIX@/mpost
    144144 options=-tex=latex -interaction=nonstopmode '%source'
    145145 from=
     
    150150 class=LaTeX
    151151-command=pdflatex
    152 +command=@PREFIX@/bin/pdflatex
     152+command=@TEXPREFIX@/pdflatex
    153153 options=-interaction=nonstopmode '%source'
    154154 from=
     
    159159 class=LaTeX
    160160-command=pdflatex
    161 +command=@PREFIX@/bin/pdflatex
     161+command=@TEXPREFIX@/pdflatex
    162162 options=-draftmode -interaction=nonstopmode '%source'
    163163 from=
     
    168168 class=LaTeX
    169169-command=pdflatex
    170 +command=@PREFIX@/bin/pdflatex
     170+command=@TEXPREFIX@/pdflatex
    171171 options=-synctex=1 -interaction=nonstopmode '%source'
    172172 from=
     
    177177 class=Compile
    178178-command=texexec
    179 +command=@PREFIX@/bin/texexec
     179+command=@TEXPREFIX@/texexec
    180180 options=--pdf --nonstopmode '%source'
    181181 from=
     
    186186 class=Compile
    187187-command=texexec
    188 +command=@PREFIX@/bin/texexec
     188+command=@TEXPREFIX@/texexec
    189189 options=--pdf --draft --nonstopmode '%source'
    190190 from=
     
    195195 class=Compile
    196196-command=texexec
    197 +command=@PREFIX@/bin/texexec
     197+command=@TEXPREFIX@/texexec
    198198 options=--dvi --nonstopmode '%source'
    199199 from=
     
    204204 class=Compile
    205205-command=texexec
    206 +command=@PREFIX@/bin/texexec
     206+command=@TEXPREFIX@/texexec
    207207 options=--dvi --draft --nonstopmode '%source'
    208208 from=
     
    213213 class=LaTeX
    214214-command=xelatex
    215 +command=@PREFIX@/bin/xelatex
     215+command=@TEXPREFIX@/xelatex
    216216 options=-interaction=nonstopmode '%source'
    217217 from=
     
    222222 class=LaTeX
    223223-command=xelatex
    224 +command=@PREFIX@/bin/xelatex
     224+command=@TEXPREFIX@/xelatex
    225225 options=-no-pdf -interaction=nonstopmode '%source'
    226226 from=
     
    231231 class=LaTeX
    232232-command=xelatex
    233 +command=@PREFIX@/bin/xelatex
     233+command=@TEXPREFIX@/xelatex
    234234 options=-draftmode -interaction=nonstopmode '%source'
    235235 from=
     
    240240 class=LaTeX
    241241-command=xelatex
    242 +command=@PREFIX@/bin/xelatex
     242+command=@TEXPREFIX@/xelatex
    243243 options=-no-pdf -draftmode -interaction=nonstopmode '%source'
    244244 from=
     
    249249 class=LaTeX
    250250-command=xelatex
    251 +command=@PREFIX@/bin/xelatex
     251+command=@TEXPREFIX@/xelatex
    252252 options=-synctex=1 -interaction=nonstopmode '%source'
    253253 from=
     
    258258 class=LaTeX
    259259-command=xelatex
    260 +command=@PREFIX@/bin/xelatex
     260+command=@TEXPREFIX@/xelatex
    261261 options=-no-pdf -src-specials -interaction=nonstopmode '%source'
    262262 from=
     
    267267 class=LaTeXpreview
    268268-command=latex
    269 +command=@PREFIX@/bin/latex
     269+command=@TEXPREFIX@/latex
    270270 from=
    271271 jumpToFirstError=yes
     
    276276 class=LaTeXpreview
    277277-command=pdflatex
    278 +command=@PREFIX@/bin/pdflatex
     278+command=@TEXPREFIX@/pdflatex
    279279 from=
    280280 jumpToFirstError=yes
     
    285285 class=LaTeXpreview
    286286-command=xelatex
    287 +command=@PREFIX@/bin/xelatex
     287+command=@TEXPREFIX@/xelatex
    288288 from=
    289289 jumpToFirstError=yes
     
    294294 class=Convert
    295295-command=ps2pdf
    296 +command=@PREFIX@/bin/ps2pdf
     296+command=@TEXPREFIX@/ps2pdf
    297297 options='%S.ps' '%S.pdf'
    298298 from=ps
     
    303303 class=Compile
    304304-command=tex
    305 +command=@PREFIX@/bin/tex
     305+command=@TEXPREFIX@/tex
    306306 options=-interaction=nonstopmode '%source'
    307307 from=
     
    312312 class=Compile
    313313-command=tex
    314 +command=@PREFIX@/bin/tex
     314+command=@TEXPREFIX@/tex
    315315 options=-src-specials -interaction=nonstopmode '%source'
    316316 from=
     
    321321 class=Compile
    322322-command=pdftex
    323 +command=@PREFIX@/bin/pdftex
     323+command=@TEXPREFIX@/pdftex
    324324 options=-interaction=nonstopmode '%source'
    325325 from=
     
    330330 class=Compile
    331331-command=pdftex
    332 +command=@PREFIX@/bin/pdftex
     332+command=@TEXPREFIX@/pdftex
    333333 options=-draftmode -interaction=nonstopmode '%source'
    334334 from=
     
    339339 class=Compile
    340340-command=pdftex
    341 +command=@PREFIX@/bin/pdftex
     341+command=@TEXPREFIX@/pdftex
    342342 options=-synctex=1 -interaction=nonstopmode '%source'
    343343 from=
     
    352352 target=
    353353 from=html
    354 @@ -607,7 +608,7 @@
     354@@ -607,7 +607,7 @@
    355355 [Tool/ForwardDVI/Okular]
    356356 class=ForwardDVI
     
    361361 from=dvi
    362362 to=dvi
    363 @@ -615,7 +616,7 @@
     363@@ -615,7 +615,7 @@
    364364 [Tool/ForwardPDF/Okular]
    365365 class=ForwardDVI
     
    370370 from=pdf
    371371 to=pdf
    372 @@ -641,7 +642,7 @@
     372@@ -641,7 +641,7 @@
    373373 
    374374 [Tool/ViewDVI/Okular]
     
    379379 from=dvi
    380380 to=dvi
    381 @@ -659,7 +660,7 @@
     381@@ -659,7 +659,7 @@
    382382 
    383383 [Tool/ViewDVI/Okular Unique]
     
    388388 from=dvi
    389389 to=dvi
    390 @@ -677,7 +678,7 @@
     390@@ -677,7 +677,7 @@
    391391 
    392392 [Tool/ViewPS/Okular]
     
    397397 from=ps
    398398 to=ps
    399 @@ -695,7 +696,7 @@
     399@@ -695,7 +695,7 @@
    400400 
    401401 [Tool/ViewPS/Okular Unique]
     
    406406 from=ps
    407407 to=ps
    408 @@ -713,7 +714,7 @@
     408@@ -713,7 +713,7 @@
    409409 
    410410 [Tool/ViewPDF/Okular]
     
    415415 from=pdf
    416416 to=pdf
    417 @@ -731,7 +732,7 @@
     417@@ -731,7 +731,7 @@
    418418 
    419419 [Tool/ViewPDF/Okular Unique]
  • users/dports/ports/tex/kde4-kile/files/patch-runTests.sh.macports.diff

    r84698 r121679  
    55 echo "Kile System Check script..."
    66 
    7 +export PATH=@PREFIX@/bin:$PATH:@APPLICATIONS_DIR@/KDE4/okular.app/Contents/MacOS/
     7+export PATH=@TEXPREFIX@:$PATH:@APPLICATIONS_DIR@/KDE4/okular.app/Contents/MacOS/
    88+
    99 outfile=$1
  • users/dports/ports/tex/latex2rtf/Portfile

    r116969 r121679  
    55
    66name                latex2rtf
    7 version             2.3.5
     7version             2.3.8
    88categories          tex
    99platforms           darwin
     
    1919homepage            http://latex2rtf.sourceforge.net/
    2020master_sites        sourceforge
    21 checksums           rmd160  86ba1fadbded33acc6cc345315175ce7563b18c0 \
    22                     sha256  41bdde9ba1f03393013d939c2bfe1fc9bf0b815fa43ad2359a7e2bee76a36575
     21checksums           rmd160  e48259db465560a1d7f2c9afdd9a056da7f06c07 \
     22                    sha256  5484530de16e96ce76aedf969c464656a5f8834e748849d9009049e26f8c4143
    2323
    2424
    2525patchfiles          patch-Makefile.diff \
    26                     patch-Makefile-doc.diff \
    2726                    patch-texinfo.diff
    2827depends_run         bin:tex:texlive \
  • users/dports/ports/tex/texlive-bin

  • users/dports/ports/tex/texlive-bin/Portfile

    r121676 r121679  
    192192                            OBJCXX=${configure.objcxx}
    193193
    194 if {[info exists configure.cxx_stdlib] &&
    195     ${configure.cxx_stdlib} ne {} &&
    196     [string match *clang* ${configure.cxx}]
    197 } then {
     194if {[string match *clang* ${configure.cxx}]} {
    198195    build.env-append        OBJCXXFLAGS="${configure.objcxxflags} [get_canonical_archflags objcxx] -stdlib=${configure.cxx_stdlib}"
    199196} else {
Note: See TracChangeset for help on using the changeset viewer.