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 cmake 1.0 |
---|
6 | fetch.type svn |
---|
7 | name rkward |
---|
8 | version 0.6.1 |
---|
9 | svn.url http://svn.code.sf.net/p/rkward/code/branches/release_branches/rkward_${version} |
---|
10 | svn.revision 4635 |
---|
11 | patchfiles patch-rkward-rbackend-rkstructuregetter.cpp.diff |
---|
12 | worksrcdir ${name}_${version} |
---|
13 | |
---|
14 | conflicts rkward-devel |
---|
15 | categories kde kde4 math science |
---|
16 | maintainers hhu.de:meik.michalke |
---|
17 | license GPL-2 |
---|
18 | platforms darwin |
---|
19 | |
---|
20 | description KDE frontend to the R statistics language |
---|
21 | |
---|
22 | long_description RKWard aims to become an easy to use, transparent frontend to R, a powerful system \ |
---|
23 | for statistical computation and graphics. Besides a convenient GUI for the most important \ |
---|
24 | statistical functions, future versions will also provide seamless integration with an office-suite. |
---|
25 | |
---|
26 | homepage http://rkward.sourceforge.net |
---|
27 | |
---|
28 | master_sites sourceforge:projects/rkward/files/Current_Stable_Releases |
---|
29 | |
---|
30 | depends_lib port:kdelibs4 \ |
---|
31 | port:kate \ |
---|
32 | port:okular \ |
---|
33 | port:R |
---|
34 | |
---|
35 | post-extract { |
---|
36 | file mkdir ${worksrcpath}/build |
---|
37 | } |
---|
38 | |
---|
39 | configure.dir ${worksrcpath}/build |
---|
40 | configure.args-append \ |
---|
41 | -DNO_R_XML=1 \ |
---|
42 | -DRKVERSION_NUMBER=${version} \ |
---|
43 | -DBUNDLE_INSTALL_DIR=${applications_dir} \ |
---|
44 | -DR_EXECUTABLE=${frameworks_dir}/R.framework/Resources/R |
---|
45 | |
---|
46 | variant debug description {Add full debugging support} { |
---|
47 | depends_lib-append port:valgrind |
---|
48 | } |
---|
49 | |
---|
50 | configure.post_args .. |
---|
51 | |
---|
52 | build.dir ${worksrcpath}/build |
---|
53 | |
---|
54 | pre-pkg { |
---|
55 | file copy -force -- ${worksrcdir}/macports/postinstall ${package.scripts}/postinstall |
---|
56 | file attributes ${package.scripts}/postinstall -permissions 0755 |
---|
57 | } |
---|