source: trunk/dports/tex/sketch/Portfile @ 90209

Last change on this file since 90209 was 90209, checked in by snc@…, 8 years ago

sketch: blind update to 0.3.7, http://lists.macosforge.org/pipermail/macports-dev/2012-February/017934.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 90209 2012-02-26 16:43:13Z snc@macports.org $
3
4PortSystem          1.0
5
6name                sketch
7version             0.3.7
8categories          tex
9maintainers         snc openmaintainer
10license             GPL-3+
11description         2D and 3D drawings with LaTeX output.
12long_description    \
13    Sketch is a small, simple system for producing line drawings of two- or \
14    three-dimensional objects and scenes.  Sketch accepts a tiny scene \
15    description language and generates PSTricks or TikZ/PGF code for LaTeX.
16homepage            http://www.frontiernet.net/~eugene.ressler/
17
18platforms           darwin
19depends_run         bin:latex:texlive
20
21master_sites        ${homepage}
22
23checksums           rmd160  cba6f2c8c8644f76e49c4756a4212d3014747375 \
24                    sha256  12962ad5fe5a0f7c9fc6d84bd4d09b879bbf604975c839405f1613be657ba804
25
26extract.suffix      .tgz
27
28patch {
29    reinplace "s|CC\ \=\ gcc\ -O1\ -g\ -Wall|CC \= ${configure.cc} ${configure.cflags}|g" ${worksrcpath}/makefile
30}
31
32use_configure       no
33
34build.target        sketch
35
36destroot {
37    xinstall ${worksrcpath}/sketch ${destroot}${prefix}/bin
38    xinstall ${worksrcpath}/Doc/sketch.info ${destroot}${prefix}/share/info
39    xinstall -d ${destroot}${prefix}/share/sketch/doc
40    xinstall ${worksrcpath}/Doc/sketch.pdf ${destroot}${prefix}/share/sketch/doc
41    eval xinstall [ glob ${worksrcpath}/Doc/sketch/* ] \
42        ${destroot}${prefix}/share/sketch/doc
43    xinstall -d ${destroot}${prefix}/share/sketch/examples
44    eval xinstall [ glob ${worksrcpath}/Data/* ] \
45        ${destroot}${prefix}/share/sketch/examples
46}
47
48livecheck.type      regex
49livecheck.url       ${master_sites}
50livecheck.regex     "${name}-(\\d+\\.\\d+(\\.\\d+)?)"
Note: See TracBrowser for help on using the repository browser.