source: trunk/dports/science/kst/Portfile

Last change on this file was 150613, checked in by raimue@…, 16 months ago

science/cfitsio:
Fix compatibility version in library, closes #51645
Rev-bump all direct dependents for rebuild.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 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 150613 2016-07-24 08:27:35Z ryandesign@macports.org $
3
4PortSystem       1.0
5PortGroup        qt4 1.0
6PortGroup        cmake 1.0
7
8name             kst
9version          2.0.8
10revision         2
11
12categories       science
13platforms        darwin
14maintainers      nicos openmaintainer
15license          GPL-2
16
17description      Plots scientific data
18long_description Kst is the fastest real-time large-dataset viewing and plotting tool available and has basic data analysis functionality. Kst contains many powerful built-in features and is expandable with plugins and extensions.
19
20homepage         http://kst.kde.org/
21master_sites     http://downloads.sourceforge.net/project/kst/Kst%20${version}
22distname         Kst-${version}
23
24checksums           rmd160  b4ed06ddbb4b2680d14e1ac5e8a310bcdd6f737c \
25                    sha256  cefbfd3e3710771985e08f02a397ef8ab407168fa8415d2c3c5740c031af18c6
26
27cmake.out_of_source yes
28
29#Not using fixup_bundle from cmake
30#Also fixing compilation with GSL2. Reported at
31#https://bugs.kde.org/show_bug.cgi?id=355324
32patchfiles       patch-CMakeLists.diff \
33                 patch-gsl2.diff
34
35depends_lib-append   port:gsl \
36                     port:cfitsio \
37                     port:matio
38
39configure.args-append    -Dkst_install_prefix=${applications_dir} \
40                         -Dkst_install_libdir=lib \
41                         -Dkst_release=ON \
42                         -Dkst_3rdparty=ON
43
44platform darwin {
45    if {${os.major} > 11} {
46        configure.args-append    -Dkst_clang=ON
47    }
48}
49
50post-destroot {
51    move ${destroot}${applications_dir}/share/kst ${destroot}${prefix}/share
52    delete ${destroot}${prefix}/lib
53    copy ${destroot.dir}/build/lib ${destroot}${prefix}
54}
55
56livecheck.type          regex
57livecheck.url           http://sourceforge.net/projects/kst/files/
58livecheck.regex         Kst (\[0-9.\]\\.\[0-9.\]\\.\[0-9.\]).
Note: See TracBrowser for help on using the repository browser.