mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
63 lines
2.2 KiB
Tcl
63 lines
2.2 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
|
|
name scamp
|
|
version 2.0.4
|
|
revision 2
|
|
categories science
|
|
platforms darwin
|
|
maintainers {aronnax @lpsinger} openmaintainer
|
|
license CeCILL
|
|
|
|
description computes astrometric and photometric solutions \
|
|
from SExtractor catalogs
|
|
|
|
long_description SCAMP takes catalogs generated by SExtractor and queries \
|
|
online astronomical databases to calibrate astronomical images \
|
|
both photometrically and astrometrically. It can deal with large \
|
|
numbers of overlapping observations and can provide robust calibrations \
|
|
even with poorly devised survey strategies.
|
|
|
|
homepage http://www.astromatic.net/software/scamp/
|
|
master_sites http://www.astromatic.net/download/scamp/
|
|
checksums md5 e2d4b9339d8e2573d20f3954c46fdda1 \
|
|
sha1 0c81ba051c17adda3b779d06059cec86ab1912dd \
|
|
rmd160 70c112faa961bb5533dfc8f6d2561d2a21fb2c5f
|
|
|
|
depends_lib port:fftw-3 \
|
|
port:fftw-3-single \
|
|
port:atlas \
|
|
port:cdsclient \
|
|
port:plplot
|
|
|
|
patchfiles patch-field.c.diff
|
|
|
|
configure.fc ${prefix}/bin/no-possible-compiler
|
|
configure.cflags-append {*}${configure.cppflags}
|
|
configure.args --with-atlas=${prefix}/lib \
|
|
--with-atlas-incdir=${prefix}/include \
|
|
--with-fftw=${prefix}/lib \
|
|
--with-fftw-incdir=${prefix}/include \
|
|
--with-plplot=${prefix}/lib \
|
|
--with-plplot-incdir=${prefix}/include/plplot
|
|
|
|
post-destroot {
|
|
set docdir ${destroot}${prefix}/share/doc
|
|
xinstall -d ${docdir}
|
|
copy ${worksrcpath}/doc ${docdir}/${name}
|
|
xinstall -m 644 -W ${worksrcpath} \
|
|
README \
|
|
AUTHORS \
|
|
COPYRIGHT \
|
|
ChangeLog \
|
|
BUGS \
|
|
HISTORY \
|
|
THANKS \
|
|
${docdir}/${name}
|
|
}
|
|
|
|
livecheck.type regex
|
|
livecheck.url [lindex ${master_sites} 0]
|
|
livecheck.regex ${name}-(\[0-9.\]+)\\.tar
|