Ticket #22971: Portfile

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

portfile for swarp

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               swarp
7version            2.17.6
8revision           1
9categories         science
10platforms          darwin
11maintainers        saao.ac.za:tim
12
13description        SWarp is a program that resamples and co-adds together \
14    FITS images using any arbitrary astrometric projection defined in the \
15    WCS standard.
16
17homepage           http://www.astromatic.net/software/swarp/
18platforms          darwin
19master_sites       ftp://ftp.iap.fr/pub/from_users/bertin/swarp/
20checksums          md5 ad8e99461fac011bef963eb1461886c6 \
21                   sha1 4656f6010926936b248080da2bbcf38e5cd1c22c \
22                   rmd160 2358756922918b49cc52367eac9e316f3598615c
23
24post-destroot {
25    set docdir ${destroot}${prefix}/share/doc/${name}-${version}
26    xinstall -m 755 -d ${docdir}
27    eval xinstall -m 644 ${worksrcpath}/README ${worksrcpath}/AUTHORS \
28        ${worksrcpath}/COPYRIGHT ${worksrcpath}/ChangeLog ${worksrcpath}/BUGS \
29        ${worksrcpath}/HISTORY ${worksrcpath}/INSTALL ${worksrcpath}/THANKS \
30        ${worksrcpath}/TODO [glob ${worksrcpath}/doc/*] ${docdir}
31}