Ticket #18513: Portfile

File Portfile, 1.5 KB (added by godboutn@…, 16 years ago)
Line 
1# $Id$
2
3PortSystem          1.0
4
5name                sketch
6version             0.2.141
7categories          tex
8maintainers         nomaintainer@macports.org
9description         2D and 3D drawings with LaTeX output.
10long_description    \
11    Sketch is a small, simple system for producing line drawings of two- or \
12    three-dimensional objects and scenes.  Sketch accepts a tiny scene \
13    description language and generates PSTricks or TikZ/PGF code for LaTeX.
14
15homepage            http://www.frontiernet.net/~eugene.ressler/
16platforms           darwin
17master_sites        ${homepage}
18
19checksums           md5 df898f42376c634e24600af20e88c0ef \
20                    sha1 5e5d2ebaac6bd68e4f2ed4d076acbdc18295d234 \
21                    rmd160 8470f25217f8c138ce3ef7de63877666a256c3c2
22
23extract.suffix      .tgz
24
25use_configure       no
26
27build.target        sketch
28
29destroot {
30    xinstall -d ${destroot}${prefix}/bin
31    xinstall ${worksrcpath}/sketch ${destroot}${prefix}/bin
32    xinstall -d ${destroot}${prefix}/share/info
33    xinstall ${worksrcpath}/Doc/sketch.info ${destroot}${prefix}/share/info
34    xinstall -d ${destroot}${prefix}/share/sketch/doc
35    xinstall ${worksrcpath}/Doc/sketch.pdf ${destroot}${prefix}/share/sketch/doc
36    eval xinstall [ glob ${worksrcpath}/Doc/sketch/* ] \
37        ${destroot}${prefix}/share/sketch/doc
38    xinstall -d ${destroot}${prefix}/share/sketch/examples
39    eval xinstall [ glob ${worksrcpath}/Data/* ] \
40        ${destroot}${prefix}/share/sketch/examples
41}