Ticket #22983: Portfile

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

portfile for sextractor

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               sextractor
7version            2.8.6
8categories         science
9platforms          darwin
10maintainers        saao.ac.za:tim
11license            CeCILL
12
13description        sextractor is software for making catalogs of sources \
14    from astronomical images.
15
16long_description   SExtractor stands for ``Source Extractor'': software \
17    for making catalogs of sources from astronomical images. Multi-Extension \
18    FITS is now supported. Binary output catalogs are also MEFs. ASCII \
19    output catalogs contain detections from all extensions merged together. \
20    Use the "EXT_NUMBER" catalog parameter to identify the extension on which \
21    a given source was detected. Check-images will also be written as MEFs \
22    if the input image is a MEF.
23
24homepage           http://www.astromatic.net/software/sextractor/
25master_sites       ftp://ftp.iap.fr/pub/from_users/bertin/sextractor/
26checksums          md5 6c2fc529cd89bdd11b1fbafc0866131c \
27                   sha1 103ac2d51d9bae9fcbc5dda3031d82cd127f8250 \
28                   rmd160 98319c54ab3af0d4a91c3ffa70e7d5148b06d67a
29
30depends_lib        port:fftw-3 \
31                   port:atlas
32
33configure.fc               ${prefix}/bin/no-possible-compiler
34configure.cflags-append    -I${prefix}/include
35configure.ldflags-append   -L${prefix}/lib
36configure.args     --with-atlas=${prefix}/lib \
37                   --with-atlas-incdir=${prefix}/include \
38                   --with-fftw=${prefix}/lib \
39                   --with-fftw-incdir=${prefix}/include
40
41post-destroot {
42    set docdir ${destroot}${prefix}/share/doc
43    xinstall -d ${docdir}
44    copy ${worksrcpath}/doc ${docdir}/${name}
45    xinstall -m 644 -W ${worksrcpath} \
46        README \
47        AUTHORS \
48        COPYRIGHT \
49        ChangeLog \
50        BUGS \
51        HISTORY \
52        THANKS \
53        ${docdir}/${name}
54}
55
56livecheck.type     regex
57livecheck.url      [lindex ${master_sites} 0]
58livecheck.regex    ${name}-(\[0-9.\]+)\\.tar
59