Ticket #22988: Portfile

File Portfile, 1.6 KB (added by tim@…, 15 years ago)

portfile for missfits

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               missfits
7version            2.2.11
8categories         science
9platforms          darwin
10maintainers        saao.ac.za:tim
11license            CeCILL
12
13description        MissFITS is a program that performs basic \
14    maintenance and packaging tasks on FITS files.
15
16long_description   MissFITS uses its own optimized library to perform \
17    basic maintenance and packaging tasks on FITS files.  The operations \
18    include adding/editing header keywords, splitting/joining \
19    multi-extension-FITS (MEF) files, packing/unpacking data cubes, \
20    and calculating/manipulating FITS checksums.  Its syntax is similar \
21    to that of other astromatic.net tools like sextractor and swarp.
22
23homepage           http://www.astromatic.net/software/missfits/
24master_sites       ftp://ftp.iap.fr/pub/from_users/bertin/missfits/
25checksums          md5 c772fc94438b3e43b488dec31f398b44 \
26                   sha1 7f8be75954b5cbcc04d024dfbaf6a2312c311d4d \
27                   rmd160 f382a01187035f201197b5a5eae7f2153c855971
28
29post-destroot {
30    set docdir ${destroot}${prefix}/share/doc
31    xinstall -d ${docdir}
32    copy ${worksrcpath}/doc ${docdir}/${name}
33    xinstall -m 644 -W ${worksrcpath} \
34        README \
35        AUTHORS \
36        COPYRIGHT \
37        ChangeLog \
38        BUGS \
39        HISTORY \
40        THANKS \
41        TODO \
42        ${docdir}/${name}
43}
44
45livecheck.type     regex
46livecheck.url      [lindex ${master_sites} 0]
47livecheck.regex    ${name}-(\[0-9.\]+)\\.tar