Ticket #25137: Portfile

File Portfile, 1.8 KB (added by tim@…, 14 years ago)

updated Portfile for skymaker

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 67966 2010-05-22 22:54:59Z jmr@macports.org $
3
4PortSystem         1.0
5
6name               skymaker
7version            3.3.3
8categories         science
9platforms          darwin
10maintainers        saao.ac.za:tim
11license            CeCILL
12
13description        SkyMaker is a program that simulates astronomical images.
14
15long_description   \
16    SkyMaker is a tool that takes catalogs generated by Stuff and creates \
17    realistic simulated images of the sky.  The documentation is still \
18    fairly sparse.  See the paper at: \
19    http://adsabs.harvard.edu/abs/2009MmSAI..80..422B \
20    for details.
21
22homepage           http://www.astromatic.net/software/skymaker/
23master_sites       ftp://ftp.iap.fr/pub/from_users/bertin/skymaker/
24checksums          md5 0b523c2a89af9b548b4bfa736780575e \
25                   sha1 781e4e1955a04bfadb74904243ddfd8f507839d5 \
26                   rmd160 8f9809a1fcf6659a6d76b6d8f6cc1a9154306262
27
28depends_lib        port:fftw-3-single
29universal_variant  no
30
31configure.fc               ${prefix}/bin/no-possible-compiler
32eval configure.cflags-append  ${configure.cppflags}
33configure.args             --disable-threads \
34                           --with-fftw=${prefix}/lib \
35                           --with-fftw-incdir=${prefix}/include
36
37post-destroot {
38    set docdir ${destroot}${prefix}/share/doc
39    xinstall -m 755 -d ${docdir}
40    copy ${worksrcpath}/doc ${docdir}/${name}
41    xinstall -m 644 -W ${worksrcpath} \
42        README \
43        AUTHORS \
44        COPYRIGHT \
45        ChangeLog \
46        BUGS \
47        HISTORY \
48        THANKS \
49        ${docdir}/${name}
50}
51
52livecheck.type     regex
53livecheck.url      [lindex ${master_sites} 0]
54livecheck.regex    ${name}-(\[0-9.\]+)\\.tar