Ticket #24792: Portfile

File Portfile, 1.8 KB (added by paumard, 15 years ago)
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$
3PortSystem          1.0
4
5set uname           imutil
6name                yorick-${uname}
7version             0.5.5
8categories          science
9maintainers         users.sourceforge.net:paumard
10description         Fast image manipulation routines for the Yorick language
11long_description    Compiled routines for basic but fast image manipulation in \
12                    yorick (an interpreted computer language specialized for \
13                    numerical and scientific problems). Includes 2d bilinear \
14                    and spline2 interpolation, clipping, 2d dist generator, \
15                    binning, image rotation, cartesian to polar coordinate \
16                    transform, gaussian and poisson random generator, fast \
17                    sort and fast median.
18homepage            http://maumae.net/yorick/doc/plugins.php
19platforms           darwin
20
21depends_lib         port:yorick
22depends_run         port:yorick-yutils
23
24master_sites        http://maumae.net/yorick/packages/src/
25distname            ${uname}-${version}-src
26extract.suffix      .tgz
27checksums           md5 238b299d5bb6f2aa573b2ac06a0a3c1b \
28                    sha1 bf00a914224f5464ed1aa76ceeeb1c2a23d00d32 \
29                    rmd160 03c23dd03ca9650928eb9bd775c7db074449ddaa
30worksrcdir          ${name}-${version}
31
32configure           {
33                    system "cd ${worksrcpath} && \
34                            ${prefix}/bin/yorick -batch make.i"
35                    }
36
37post-destroot       {
38    xinstall -d ${destroot}${prefix}/lib/yorick/packages/installed/
39    xinstall ${worksrcpath}/${uname}.info \
40        ${destroot}${prefix}/lib/yorick/packages/installed/
41                    }