Ticket #24791: Portfile

File Portfile, 1.5 KB (added by paumard, 14 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           yutils
6name                yorick-${uname}
7version             1.5.0
8categories          science
9maintainers         users.sourceforge.net:paumard
10description         Various utilities for the Yorick language
11long_description    Yutils is a must-have collection of interpreted routines \
12                    for Yorick. Topics: astronomical data reduction, physical \
13                    constants, search for extrema in arrays or functions, \
14                    plots, and more.
15homepage            http://maumae.net/yorick/doc/plugins.php
16platforms           darwin
17
18depends_lib         port:yorick
19
20master_sites        http://maumae.net/yorick/packages/src/
21distname            ${uname}-${version}-src
22extract.suffix      .tgz
23checksums           md5 c8d86715be5f9453fd0b8c70dd39308a \
24                    sha1 be3a4793cfe6080d2841dc1a9943f8fea5d31932 \
25                    rmd160 2c9fb2d3e751189d82235fafb84b2cb9439f9bde
26worksrcdir          ${name}-${version}
27
28configure           {
29                    system "cd ${worksrcpath} && \
30                            ${prefix}/bin/yorick -batch make.i"
31                    }
32
33build               {}
34
35post-destroot       {
36    xinstall -d ${destroot}${prefix}/lib/yorick/packages/installed/
37    xinstall ${worksrcpath}/${uname}.info \
38        ${destroot}${prefix}/lib/yorick/packages/installed/
39                    }