# -*- 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
# $Id$

PortSystem      1.0

name            pgf-devel
conflicts       pgf
version         2010-01-17
categories      tex textproc
platforms       darwin
maintainers     alum.wpi.edu:arno+macports openmaintainer
description     PGF and TikZ -- Graphic systems for TeX (development version)

long_description \
    PGF is a TeX macro package for generating graphics. It is platform- and \
    format-independent and works together with the most important TeX backend \
    drivers, including pdftex and dvips. It comes with a user-friedly syntax \
    layer called TikZ. This development build provides the latest features \
    and bug-fixes.

homepage        http://www.texample.net/tikz/builds/
master_sites    http://media.texample.net/pgf/builds/
distfiles	    pgfCVS${version}_TDS.zip
use_zip         yes

checksums       sha1    ed8da7b4cb816a1869dc7706657961c703c28189 \
                md5     11c240042aebd7c88bab501c67672f3d \
                rmd160  90aaf0d4b6e3edafaf43099b073a33336d5da5e9

livecheck.type  regex
livecheck.url   ${homepage}
livecheck.regex Build date (.*)</a></dt>

depends_lib     bin:texhash:texlive

use_configure   no
build { }

destroot {
    set latex_local ${destroot}${prefix}/share/texmf-local
    set r ${workpath}
    file mkdir ${latex_local}/
    file copy ${r}/tex ${latex_local}/
    file copy ${r}/doc ${latex_local}/
}

post-activate {
    system "texhash"
}

