Ticket #43537: Portfile

File Portfile, 2.0 KB (added by cdeil (Christoph Deil), 11 years ago)
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               psfex
7version            3.17.1
8categories         science
9platforms          darwin
10maintainers        gmail.com:Deil.Christoph openmaintainer
11license            GPL-3+
12
13description        tool to extract the point spread function from astronomical images
14
15long_description   PSFEx  (PSF Extractor) extracts models of the \
16    Point Spread Function (PSF) from FITS images processed with SExtractor, \
17    and measures the quality of images. \
18    The generated PSF models can be used for model-fitting photometry \
19    or morphological analyses.
20
21homepage           http://www.astromatic.net/software/psfex/
22master_sites       http://www.astromatic.net/download/psfex/
23checksums           md5     8256c8117e8f270cf05f44fa7774ce1d \
24                    sha1    366a7bdb2609fd0453d712aab3d11fdf95604c60 \
25                    rmd160  0cebd0f364f3cbe359cf91d35f9e37d9978cbd2b
26
27depends_lib        port:fftw-3 \
28                   port:atlas \
29                   port:plplot
30
31configure.fc               ${prefix}/bin/no-possible-compiler
32eval configure.cflags-append ${configure.cppflags}
33configure.args     --with-atlas=${prefix}/lib \
34                   --with-atlas-incdir=${prefix}/include \
35                   --with-fftw=${prefix}/lib \
36                   --with-fftw-incdir=${prefix}/include \
37                   --with-plplot=${prefix}/lib \
38                   --with-plplot-incdir=${prefix}/include/plplot
39
40post-destroot {
41    set docdir ${destroot}${prefix}/share/doc
42    xinstall -d ${docdir}
43    copy ${worksrcpath}/doc ${docdir}/${name}
44    xinstall -m 644 -W ${worksrcpath} \
45        README \
46        AUTHORS \
47        COPYRIGHT \
48        ChangeLog \
49        BUGS \
50        HISTORY \
51        THANKS \
52        ${docdir}/${name}
53}
54
55livecheck.type     regex
56livecheck.url      [lindex ${master_sites} 0]
57livecheck.regex    ${name}-(\[0-9.\]+)\\.tar