Ticket #43537: Portfile.2

File Portfile.2, 2.0 KB (added by cdeil (Christoph Deil), 11 years ago)

Use modern checksum format

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          rmd160  0cebd0f364f3cbe359cf91d35f9e37d9978cbd2b \
24                   sha256  53f1b449ab7da7e6e0a989c41b82885f52c8f08270ceb4378bb1ec7ef754af89
25
26depends_lib        port:fftw-3 \
27                   port:atlas \
28                   port:plplot
29
30configure.fc               ${prefix}/bin/no-possible-compiler
31eval configure.cflags-append ${configure.cppflags}
32configure.args     --with-atlas=${prefix}/lib \
33                   --with-atlas-incdir=${prefix}/include \
34                   --with-fftw=${prefix}/lib \
35                   --with-fftw-incdir=${prefix}/include \
36                   --with-plplot=${prefix}/lib \
37                   --with-plplot-incdir=${prefix}/include/plplot
38
39post-destroot {
40    set docdir ${destroot}${prefix}/share/doc
41    xinstall -d ${docdir}
42    copy ${worksrcpath}/doc ${docdir}/${name}
43    xinstall -m 644 -W ${worksrcpath} \
44        README \
45        AUTHORS \
46        COPYRIGHT \
47        ChangeLog \
48        BUGS \
49        HISTORY \
50        THANKS \
51        ${docdir}/${name}
52}
53
54livecheck.type     regex
55livecheck.url      [lindex ${master_sites} 0]
56livecheck.regex    ${name}-(\[0-9.\]+)\\.tar