# -*- 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
github.setup pgf-tikz pgf 3.1.4b
description PGF and TikZ -- Graphic systems for TeX
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.
homepage http://sourceforge.net/projects/pgf/
depends_lib bin:texhash:texlive-basic
checksums rmd160 a48d10595e79265fe2c8e266c97e36b5023a6467 \
sha256 65c516c6b1ac725381b2f143cc9e440b6cb1e487c866925063a8994b13a6e057 \
# the patchfiles are only relevant if building the C code gets enabled one day,
# but the patches are not complete yet (building the module is not working)
# patchfiles patch-MakefileConfig.mk.diff \
# # instead of patching all this one could also create LocalMakefileConfig.mk
# set mymakefileconfig ${worksrcpath}/source/generic/pgf/c/config/MakefileConfig.mk
# reinplace s|@@PREFIX@@|${prefix}| ${mymakefileconfig}
# reinplace s|@@CC@@|${configure.cc}| ${mymakefileconfig}
# reinplace s|@@ARCHFLAGS@@|-arch\ ${build_arch}| ${mymakefileconfig}
# reinplace s|@@CFLAGS@@|${configure.cflags}| ${mymakefileconfig}
# reinplace s|@@LDFLAGS@@|${configure.ldflags}\ -llua| ${mymakefileconfig}
# we won't build anything for now, but if anyone wants to finish the work,
# see https://trac.macports.org/ticket/42088
# build.dir ${worksrcpath}/source/generic/pgf/c
file mkdir ${destroot}${texlive_texmfports}/
file copy ${r}/doc ${destroot}${texlive_texmfports}/
file copy ${r}/source ${destroot}${texlive_texmfports}/
file copy ${r}/tex ${destroot}${texlive_texmfports}/