Ticket #22981: Portfile

File Portfile, 1.7 KB (added by tim@…, 15 years ago)

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$
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
29
30configure.fc               ${prefix}/bin/no-possible-compiler
31configure.cflags-append    -I${prefix}/include
32configure.ldflags-append   -L${prefix}/lib
33configure.args             --with-fftw=${prefix}/lib \
34                           --with-fftw-incdir=${prefix}/include
35
36post-destroot {
37    set docdir ${destroot}${prefix}/share/doc
38    xinstall -m 755 -d ${docdir}
39    copy ${worksrcpath}/doc ${docdir}/${name}
40    xinstall -m 644 -W ${worksrcpath} \
41        README \
42        AUTHORS \
43        COPYRIGHT \
44        ChangeLog \
45        BUGS \
46        HISTORY \
47        THANKS \
48        ${docdir}/${name}
49}
50
51livecheck.type     regex
52livecheck.url      [lindex ${master_sites} 0]
53livecheck.regex    ${name}-(\[0-9.\]+)\\.tar