Changeset 89266 for trunk/dports/tex


Ignore:
Timestamp:
Jan 22, 2012, 9:01:44 PM (8 years ago)
Author:
snc@…
Message:

dot2texi: use texlive portgroup, use full path to dot2tex

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/tex/dot2texi/Portfile

    r81291 r89266  
    33
    44PortSystem          1.0
     5PortGroup           texlive 1.0
    56
    67name                dot2texi
    78version             3-0-0
     9revision            1
    810categories          tex
    911platforms           darwin
     
    3537depends_lib         bin:texhash:texlive
    3638
     39patchfiles          patch-dot2texi-dot2texi.sty.diff
     40post-patch {
     41    reinplace s|@@PREFIX@@|${prefix}| ${worksrcpath}/dot2texi/dot2texi.sty
     42}
     43
    3744use_configure   no
    3845build { }
    3946
    4047destroot {
    41     set texmf ${destroot}${prefix}/share/texmf-local/
    4248    set r ${worksrcpath}/dot2texi
    43     file mkdir ${texmf}/tex/latex
    44     file mkdir ${texmf}/doc/latex/dot2texi
    45     file copy ${r}/dot2texi.sty ${texmf}/tex/latex/
     49    file mkdir ${destroot}${texlive_texmfports}/tex/latex
     50    file mkdir ${destroot}${texlive_texmfports}/doc/latex/dot2texi
     51    file copy ${r}/dot2texi.sty ${destroot}${texlive_texmfports}/tex/latex/
    4652    file copy ${r}/dot2texi.tex ${r}/dot2texi.pdf ${r}/gpl.txt ${r}/README \
    4753        ${r}/examples \
    48         ${texmf}/doc/latex/dot2texi
     54        ${destroot}${texlive_texmfports}/doc/latex/dot2texi
    4955}
    5056
Note: See TracChangeset for help on using the changeset viewer.