source: trunk/dports/science/scamp/Portfile

Last change on this file was 142564, checked in by khindenburg@…, 21 months ago

scamp: add patch to prevent crash #49434

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
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: Portfile 142564 2015-11-15 20:39:44Z ryandesign@macports.org $
3
4PortSystem         1.0
5
6name               scamp
7version            2.0.4
8revision           2
9categories         science
10platforms          darwin
11maintainers        gmail.com:Deil.Christoph aronnax openmaintainer
12license            CeCILL
13
14description        computes astrometric and photometric solutions \
15                   from SExtractor catalogs
16
17long_description   SCAMP takes catalogs generated by SExtractor and queries \
18    online astronomical databases to calibrate astronomical images \
19    both photometrically and astrometrically.  It can deal with large \
20    numbers of overlapping observations and can provide robust calibrations \
21    even with poorly devised survey strategies.
22
23homepage           http://www.astromatic.net/software/scamp/
24master_sites       http://www.astromatic.net/download/scamp/
25checksums          md5 e2d4b9339d8e2573d20f3954c46fdda1 \
26                   sha1 0c81ba051c17adda3b779d06059cec86ab1912dd \
27                   rmd160 70c112faa961bb5533dfc8f6d2561d2a21fb2c5f
28
29depends_lib        port:fftw-3 \
30                   port:fftw-3-single \
31                   port:atlas \
32                   port:cdsclient \
33                   port:plplot
34
35patchfiles         patch-field.c.diff
36
37configure.fc       ${prefix}/bin/no-possible-compiler
38eval configure.cflags-append ${configure.cppflags}
39configure.args     --with-atlas=${prefix}/lib \
40                   --with-atlas-incdir=${prefix}/include \
41                   --with-fftw=${prefix}/lib \
42                   --with-fftw-incdir=${prefix}/include \
43                   --with-plplot=${prefix}/lib \
44                   --with-plplot-incdir=${prefix}/include/plplot
45
46post-destroot {
47    set docdir ${destroot}${prefix}/share/doc
48    xinstall -d ${docdir}
49    copy ${worksrcpath}/doc ${docdir}/${name}
50    xinstall -m 644 -W ${worksrcpath} \
51        README \
52        AUTHORS \
53        COPYRIGHT \
54        ChangeLog \
55        BUGS \
56        HISTORY \
57        THANKS \
58        ${docdir}/${name}
59}
60
61livecheck.type     regex
62livecheck.url      [lindex ${master_sites} 0]
63livecheck.regex    ${name}-(\[0-9.\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.