Ticket #34013: Portfile

File Portfile, 1.8 KB (added by paumard, 12 years ago)
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
5PortGroup           github 1.0
6
7set uname           cubeview
8github.setup        paumard yorick-${uname} 1.6 cv_
9categories          science
10platforms           darwin
11maintainers         users.sourceforge.net:paumard openmaintainer
12supported_archs     noarch
13license             GPL-2+
14description         3D FITS data viewer specialized in spectro-imaging
15long_description    Cubeview is a viewer for 3D data store in FITS files, a \
16                    file format extensively used among astronomers. It is \
17                    specialized in displaying spectro-imaging data but can be \
18                    used to do basic visualization on any FITS file containing \
19                    a 3D array. Cubeview features a stand-alone graphical user \
20                    interface which adheres to the GTK+ look-and-feel. Being \
21                    written (mostly) in Yorick, it is inherently scriptable. A \
22                    system of hooks allows custom actions to be repeated \
23                    automatically when certain events occur.
24homepage            http://github.com/paumard/yorick-cubeview
25
26checksums           rmd160  76517f5531d4a881a474793424bf751063c48753 \
27                    sha256  6b222cb0482c8f869fdf1f0c49f7464f968aa790f0259464d6f568a341a37b67
28
29depends_lib         path:bin/yorick:yorick
30
31depends_run         port:yorick-yutils \
32                    port:py27-gtk
33
34post-patch {
35    reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python2.7|" \
36        ${worksrcpath}/${uname}.py
37}
38
39configure.cmd       ${prefix}/bin/yorick
40configure.pre_args
41configure.args      -batch make.i
42
43destroot.pre_args-append  BIN_DIR=${prefix}/bin MAN_DIR=${prefix}/share/man