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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | set uname cubeview |
---|
8 | github.setup paumard yorick-${uname} 1.6 cv_ |
---|
9 | categories science |
---|
10 | platforms darwin |
---|
11 | maintainers users.sourceforge.net:paumard openmaintainer |
---|
12 | supported_archs noarch |
---|
13 | license GPL-2+ |
---|
14 | description 3D FITS data viewer specialized in spectro-imaging |
---|
15 | long_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. |
---|
24 | homepage http://github.com/paumard/yorick-cubeview |
---|
25 | |
---|
26 | checksums rmd160 76517f5531d4a881a474793424bf751063c48753 \ |
---|
27 | sha256 6b222cb0482c8f869fdf1f0c49f7464f968aa790f0259464d6f568a341a37b67 |
---|
28 | |
---|
29 | depends_lib path:bin/yorick:yorick |
---|
30 | |
---|
31 | depends_run port:yorick-yutils \ |
---|
32 | port:py27-gtk |
---|
33 | |
---|
34 | post-patch { |
---|
35 | reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python2.7|" \ |
---|
36 | ${worksrcpath}/${uname}.py |
---|
37 | } |
---|
38 | |
---|
39 | configure.cmd ${prefix}/bin/yorick |
---|
40 | configure.pre_args |
---|
41 | configure.args -batch make.i |
---|
42 | |
---|
43 | destroot.pre_args-append BIN_DIR=${prefix}/bin MAN_DIR=${prefix}/share/man |
---|