source: trunk/dports/science/yorick-spydr/Portfile

Last change on this file was 127626, checked in by thibaut@…, 3 years ago

yorick-spydr: update to 0.8.7

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
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 127626 2014-10-30 22:46:46Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7set uname           spydr
8github.setup        frigaut yorick-${uname} 0.8.7 v
9license             GPL-3+
10categories          science yorick
11platforms           darwin
12maintainers         thibaut openmaintainer
13supported_archs     noarch
14description         FITS image display and simple analysis
15long_description    Spydr (pronounced like spider) basically is an FITS \
16                    image viewer. It can work as a stand-alone \
17                    application but is best integrated in a \
18                    Yorick-based data-analysis work-flow (Yorick is an \
19                    interpreted language specialized in numerical \
20                    computations and scientific graphics). It includes \
21                    tools to zoom, produce cuts, histograms, \
22                    Gaussian/Moffat fits, PSF fits (inc. FWHM and \
23                    Strehl). Can work on single images, sequences of \
24                    images or data cubes.
25homepage            http://maumae.net/yorick/doc/plugins.php
26
27checksums           rmd160  d5743d0576e9493f47951f26a190adee03991d92 \
28                    sha256  1f4d662c35966d87916a238bb66d4f13319f39e109d72a879055a044fa32c087
29
30depends_lib         path:bin/yorick:yorick
31
32depends_run         port:yorick-yao \
33                    port:py27-pygtk \
34                    port:zenity
35
36post-patch {
37    reinplace "s|#!/usr/bin/env python2|#!${prefix}/bin/python2.7|" \
38        ${worksrcpath}/${uname}.py
39}
40
41configure.cmd       ${prefix}/bin/yorick
42configure.pre_args
43configure.args      -batch make.i
44
45build               {}
46
47post-destroot {
48    xinstall -d ${destroot}${prefix}/lib/yorick/packages/installed/
49    xinstall -m 644 ${worksrcpath}/${uname}.info \
50        ${destroot}${prefix}/lib/yorick/packages/installed/
51    xinstall -m 644 ${worksrcpath}/${uname}.1 \
52        ${destroot}${prefix}/share/man/man1/
53    ln -s ${prefix}/lib/yorick/bin/${uname} ${destroot}${prefix}/bin/
54}
Note: See TracBrowser for help on using the repository browser.