Ticket #22986: Portfile

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

portfile for scamp

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               scamp
7version            1.6.2
8categories         science
9platforms          darwin
10maintainers        saao.ac.za:tim
11license            CeCILL
12
13description        SCAMP computes astrometric and photometric solutions \
14    from SExtractor catalogs and stores them in header files.
15
16long_description   SCAMP takes catalogs generated by SExtractor and queries \
17    online astronomical databases to calibrate astronomical images \
18    both photometrically and astrometrically.  It can deal with large \
19    numbers of overlapping observations and can provide robust calibrations \
20    even with poorly devised survey strategies.
21
22homepage           http://www.astromatic.net/software/scamp/
23master_sites       ftp://ftp.iap.fr/pub/from_users/bertin/scamp/
24checksums          md5 2eecb2db5e4c8e2249196c0d1e62bbe5 \
25                   sha1 3d3cc047ea8b8790efcb6d8c177f88155dd01733 \
26                   rmd160 f9fff6ef886db1d345b2b25bc6cc097878321f8a
27
28depends_lib        port:fftw-3 \
29                   port:fftw-3-single \
30                   port:atlas \
31                   port:cdsclient \
32                   port:plplot
33
34configure.fc       ${prefix}/bin/no-possible-compiler
35configure.cflags   -I${prefix}/include
36configure.ldflags  -L${prefix}/lib
37configure.args     --with-atlas=${prefix}/lib \
38                   --with-atlas-incdir=${prefix}/include \
39                   --with-fftw=${prefix}/lib \
40                   --with-fftw-incdir=${prefix}/include \
41                   --with-plplot=${prefix}/lib \
42                   --with-plplot-incdir=${prefix}/include/plplot
43
44post-destroot {
45    set docdir ${destroot}${prefix}/share/doc
46    xinstall -d ${docdir}
47    copy ${worksrcpath}/doc ${docdir}/${name}
48    xinstall -m 644 -W ${worksrcpath} \
49        README \
50        AUTHORS \
51        COPYRIGHT \
52        ChangeLog \
53        BUGS \
54        HISTORY \
55        THANKS \
56        ${docdir}/${name}
57}
58
59livecheck.type     regex
60livecheck.url      [lindex ${master_sites} 0]
61livecheck.regex    ${name}-(\[0-9.\]+)\\.tar
62