Ticket #22998: Portfile

File Portfile, 2.7 KB (added by tim@…, 11 years ago)

update portfile

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$
3
4PortSystem         1.0
5
6name               funtools
7version            1.4.0
8categories         science
9platforms          darwin
10maintainers        saao.ac.za:tim
11license            LGPLv2.1
12
13description        Funtools, is a minimal buy-in FITS library and utility \
14    package developed at the the High Energy Astrophysics Division of SAO.
15
16long_description    The Funtools library provides simplified access to a \
17    wide array of file types: standard astronomical FITS images and binary \
18    tables, raw arrays and binary event lists, and even tables of ASCII \
19    column data. A sophisticated region filtering library (compatible with \
20    ds9) filters images and tables using boolean operations between geometric \
21    shapes, support world coordinates, etc. Funtools also supports advanced \
22    capabilities such as optimized data searching using index files.\
23    The main goal of the Funtools project has been to develop a minimal \
24    buy-in FITS library for researchers who are occasional (but serious) \
25    coders. In this case, minimal buy-in means easy to learn, easy to \
26    use, and easy to re-learn next month. We have tried to achieve this \
27    goal by emphasizing two essential capabilities. The first is the ability \
28    to develop FITS programs without knowing much about FITS, i.e., without \
29    having to deal with the arcane rules for generating a properly formatted \
30    FITS file. The second is to support the use of already-familiar C/Unix \
31    facilities, especially C structs and Unix stdio. Taken together, these \
32    two capabilities should allow researchers to leverage their existing \
33    programming expertise while minimizing the need to learn new and \
34    complex coding rules.
35
36homepage           http://www.cfa.harvard.edu/~john/funtools/
37master_sites       http://www.cfa.harvard.edu/~john/funtools/
38checksums          md5 8079d723e1424141c3f2bc4ea9b323db \
39                   sha1 cf24c89acd4a4e6815336e0cbc4d445998d89db3 \
40                   rmd160 f566ac1dfd5724171f46507ccbdec6f80a168f5b
41
42depends_run        port:xpa
43
44patch.pre_args     -p1
45patchfiles         patch-funtools
46
47destroot.destdir   INSTALL_ROOT=${destroot}
48
49post-destroot {
50    set docdir ${destroot}${prefix}/share/doc/${name}
51    xinstall -d ${docdir}
52    xinstall -m 644 -W ${worksrcpath} \
53        COPYING \
54        README \
55        ${docdir}
56    xinstall -m 644 -W ${worksrcpath}/doc \
57        funtools.pdf \
58        ${docdir}
59}
60
61livecheck.type     regex
62livecheck.url      [lindex ${master_sites} 0]
63livecheck.regex    ${name}-(\[0-9.\]+)\\.tar