source: trunk/dports/tex/sketch/Portfile

Last change on this file was 152725, checked in by ryandesign@…, 14 months ago

sketch: update homepage; fixes fetch failure

Resolves #52253

  • 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 152725 2016-09-15 12:51:42Z ryandesign@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://sketch4latex.sourceforge.net
17
18platforms           darwin
19depends_run         bin:latex:texlive
20
21master_sites        ${homepage}
22
23checksums           rmd160  cba6f2c8c8644f76e49c4756a4212d3014747375 \
24                    sha256  12962ad5fe5a0f7c9fc6d84bd4d09b879bbf604975c839405f1613be657ba804
25
26extract.suffix      .tgz
27
28variant universal {}
29
30patchfiles          patch-makefile.diff
31
32post-patch {
33    reinplace "s|@CC@|${configure.cc} ${configure.cflags} [get_canonical_archflags cc]|g" ${worksrcpath}/makefile
34}
35
36use_configure       no
37
38build.target        sketch
39
40destroot {
41    xinstall ${worksrcpath}/sketch ${destroot}${prefix}/bin
42    xinstall ${worksrcpath}/Doc/sketch.info ${destroot}${prefix}/share/info
43    xinstall -d ${destroot}${prefix}/share/sketch/doc
44    xinstall ${worksrcpath}/Doc/sketch.pdf ${destroot}${prefix}/share/sketch/doc
45    eval xinstall [ glob ${worksrcpath}/Doc/sketch/* ] \
46        ${destroot}${prefix}/share/sketch/doc
47    xinstall -d ${destroot}${prefix}/share/sketch/examples
48    eval xinstall [ glob ${worksrcpath}/Data/* ] \
49        ${destroot}${prefix}/share/sketch/examples
50}
51
52livecheck.type      regex
53livecheck.url       ${master_sites}
54livecheck.regex     "${name}-(\\d+\\.\\d+(\\.\\d+)?)"
Note: See TracBrowser for help on using the repository browser.