source: trunk/dports/science/kst/Portfile @ 134216

Last change on this file since 134216 was 134216, checked in by nicos@…, 5 years ago

kst: modify to use cmake.out_of_source (ticket #47197)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 134216 2015-03-20 13:57:40Z nicos@macports.org $
3
4PortSystem       1.0
5PortGroup        qt4 1.0
6PortGroup        cmake 1.0
7
8name             kst
9version          2.0.8
10
11categories       science
12platforms        darwin
13maintainers      nicos openmaintainer
14license          GPL-2
15
16description      Plots scientific data
17long_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.
18
19homepage         http://kst.kde.org/
20master_sites     http://downloads.sourceforge.net/project/kst/Kst%20${version}
21distname         Kst-${version}
22
23checksums           rmd160  b4ed06ddbb4b2680d14e1ac5e8a310bcdd6f737c \
24                    sha256  cefbfd3e3710771985e08f02a397ef8ab407168fa8415d2c3c5740c031af18c6
25
26cmake.out_of_source yes
27
28#Not using fixup_bundle from cmake
29patchfiles       patch-CMakeLists.diff
30
31depends_lib      port:gsl \
32                 port:cfitsio \
33                 port:matio
34
35configure.args-append    -Dkst_install_prefix=${applications_dir} \
36                         -Dkst_install_libdir=lib \
37                         -Dkst_release=ON \
38                         -Dkst_clang=ON \
39                         -Dkst_3rdparty=ON
40
41post-destroot {
42    move ${destroot}${applications_dir}/share/kst ${destroot}${prefix}/share
43    delete ${destroot}${prefix}/lib
44    copy ${workpath}/build/build/lib ${destroot}${prefix}
45}
46
47livecheck.type          regex
48livecheck.url           http://sourceforge.net/projects/kst/files/
49livecheck.regex         Kst (\[0-9.\]\\.\[0-9.\]\\.\[0-9.\]).
Note: See TracBrowser for help on using the repository browser.