Ticket #18197: Portfile

File Portfile, 1.3 KB (added by thatha@…, 16 years ago)
Line 
1# $Id$
2
3PortSystem          1.0
4
5name                pgf
6version             2.00
7categories          tex textproc
8platforms           darwin
9maintainers         nomaintainer
10description         PGF and TikZ -- Graphic systems for TeX
11long_description \
12    PGF is a TeX macro package for generating graphics. It is platform- and \
13    format-independent and works together with the most important TeX backend \
14    drivers, including pdftex and dvips. It comes with a user-friedly syntax \
15    layer called TikZ.
16
17homepage            http://pgf.sourceforge.net/
18master_sites        sourceforge:pgf
19checksums           md5     fb8cb62462f8248e327bf23ee5b9ccda \
20                    sha1    8c50ac3196380d164105ec96646c8e9424faa63c \
21                    rmd160  b7b18fded6ba819c2d79e7b0740d7fdfd0b9c94c
22
23livecheck.regex     <title>pgf version (.*) released.*</title>
24
25depends_lib         bin:texhash:texlive
26
27configure { }
28build { }
29
30destroot {
31    set latex_local ${destroot}${prefix}/share/texmf-local
32        set r ${workpath}/${name}-${version}
33    file mkdir ${latex_local}/tex
34    file copy ${r}/latex ${latex_local}/tex/
35    file copy ${r}/generic ${latex_local}/tex/
36    file copy ${r}/context ${latex_local}/tex/
37    file copy ${r}/plain ${latex_local}/tex/
38    file copy ${r}/doc ${latex_local}/
39}
40
41post-activate {
42    system "texhash"
43}