# -*- 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 sketch version 0.3.7 categories tex maintainers snc openmaintainer license GPL-3+ description 2D and 3D drawings with LaTeX output. long_description \ Sketch is a small, simple system for producing line drawings of two- or \ three-dimensional objects and scenes. Sketch accepts a tiny scene \ description language and generates PSTricks or TikZ/PGF code for LaTeX. homepage http://www.frontiernet.net/~eugene.ressler/ platforms darwin depends_run bin:latex:texlive master_sites ${homepage} checksums rmd160 cba6f2c8c8644f76e49c4756a4212d3014747375 \ sha256 12962ad5fe5a0f7c9fc6d84bd4d09b879bbf604975c839405f1613be657ba804 extract.suffix .tgz variant universal {} patchfiles patch-makefile.diff post-patch { reinplace "s|@CC@|${configure.cc} ${configure.cflags} [get_canonical_archflags cc]|g" ${worksrcpath}/makefile } use_configure no build.target sketch destroot { xinstall ${worksrcpath}/sketch ${destroot}${prefix}/bin xinstall ${worksrcpath}/Doc/sketch.info ${destroot}${prefix}/share/info xinstall -d ${destroot}${prefix}/share/sketch/doc xinstall ${worksrcpath}/Doc/sketch.pdf ${destroot}${prefix}/share/sketch/doc eval xinstall [ glob ${worksrcpath}/Doc/sketch/* ] \ ${destroot}${prefix}/share/sketch/doc xinstall -d ${destroot}${prefix}/share/sketch/examples eval xinstall [ glob ${worksrcpath}/Data/* ] \ ${destroot}${prefix}/share/sketch/examples } livecheck.type regex livecheck.url ${master_sites} livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)"