source: trunk/dports/tex/dot2texi/Portfile @ 50984

Last change on this file since 50984 was 50091, checked in by snc@…, 11 years ago

fixed livecheck

  • Property snv:keywords set to Id
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 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 50091 2009-04-25 05:32:20Z snc@macports.org $
3
4PortSystem          1.0
5
6name                dot2texi
7version             3-0-0
8categories          tex
9platforms           darwin
10maintainers         snc openmaintainer
11description         Allows you to embed DOT descriptions in your TeX document
12long_description \
13   The dot2texi package allows you to embed graphs written the DOT \
14   description language directly in your document.  The dot2tex tool \
15   is used to transform the output from Graphviz to LATEX code using \
16   either the TikZ and PGF package, orthe PSTricks package. The generated \
17   code can then be included directly in you  document. This package can \
18   automate the process if shell escape is enabled.
19
20homepage            http://www.fauskes.net/code/dot2tex/documentation/#the-dot2texi-latex-package
21master_sites        googlecode:dot2tex
22checksums           md5     b8aa0f5f4feaf21a1a22b6743aa4d6b3 \
23                    sha1    7d6fa98931ec6806b9ba7c4f29f7e718ff6cb9a8 \
24                    rmd160  053f8db5f6f579f1850f02b9afc269986ee43ef5
25                   
26livecheck.regex     <a href="http://dot2tex.googlecode.com/files/dot2texisty\-\(\.\*\)\.zip"
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
39use_configure   no
40build { }
41
42destroot {
43    set texmf ${destroot}${prefix}/share/texmf-local/
44    set r ${worksrcpath}/dot2texi
45    file mkdir ${texmf}/tex/latex
46    file mkdir ${texmf}/doc/latex/dot2texi
47    file copy ${r}/dot2texi.sty ${texmf}/tex/latex/
48    file copy ${r}/dot2texi.tex ${r}/dot2texi.pdf ${r}/gpl.txt ${r}/README \
49        ${r}/examples \
50        ${texmf}/doc/latex/dot2texi
51}
52
53post-activate {
54    system "texhash"
55}
Note: See TracBrowser for help on using the repository browser.