source: trunk/dports/tex/dot2texi/Portfile

Last change on this file was 148461, checked in by snc@…, 19 months ago

dot2texi: drop maintainer

  • 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 148461 2016-05-10 01:52:21Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           texlive 1.0
6
7name                dot2texi
8version             3-0-0
9revision            2
10categories          tex
11platforms           darwin
12maintainers         nomaintainer
13license             GPL-2
14description         Allows you to embed DOT descriptions in your TeX document
15long_description \
16   The dot2texi package allows you to embed graphs written the DOT \
17   description language directly in your document.  The dot2tex tool \
18   is used to transform the output from Graphviz to LATEX code using \
19   either the TikZ and PGF package, orthe PSTricks package. The generated \
20   code can then be included directly in you  document. This package can \
21   automate the process if shell escape is enabled.
22
23homepage            http://www.fauskes.net/code/dot2tex/documentation/#the-dot2texi-latex-package
24master_sites        googlecode:dot2tex
25checksums           rmd160  053f8db5f6f579f1850f02b9afc269986ee43ef5 \
26                    sha256  ce5af84973286889ea19d5f898153414ed33c5500e6812fb6a7f87f652694ebd
27                   
28use_zip             yes
29extract.mkdir       yes
30
31distname            ${name}sty-${version}
32
33# Depends on xkeyval (>= 2.3) (provided by texlive, but not by tetex)
34# Also depends on moreverg and PSTricks or PGF
35
36depends_run         bin:dot2tex:dot2tex port:texlive port:pgf
37depends_lib         bin:texhash:texlive
38
39patchfiles          patch-dot2texi-dot2texi.sty.diff
40post-patch {
41    reinplace s|@@PREFIX@@|${prefix}|g ${worksrcpath}/dot2texi/dot2texi.sty
42}
43
44use_configure   no
45build { }
46
47destroot {
48    set r ${worksrcpath}/dot2texi
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/
52    file copy ${r}/dot2texi.tex ${r}/dot2texi.pdf ${r}/gpl.txt ${r}/README \
53        ${r}/examples \
54        ${destroot}${texlive_texmfports}/doc/latex/dot2texi
55}
56
57post-activate {
58    texlive.mktexlsr
59}
60
61post-deactivate {
62    texlive.mktexlsr
63}
Note: See TracBrowser for help on using the repository browser.