Ticket #32837: Portfile

File Portfile, 1.9 KB (added by meik.michalke@…, 10 years ago)

Portfile (svn rev 4791)

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$
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6fetch.type          svn
7name                rkward
8version             0.6.1
9svn.url             http://svn.code.sf.net/p/rkward/code/branches/release_branches/rkward_${version}
10svn.revision        4635
11patchfiles          patch-rkward-rbackend-rkstructuregetter.cpp.diff
12worksrcdir          ${name}_${version}
13
14conflicts           rkward-devel
15categories          kde kde4 math science
16maintainers         hhu.de:meik.michalke
17license             GPL-2
18platforms           darwin
19
20description         KDE frontend to the R statistics language
21
22long_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
26homepage            http://rkward.sourceforge.net
27
28master_sites        sourceforge:projects/rkward/files/Current_Stable_Releases
29
30depends_lib         port:kdelibs4 \
31                    port:kate \
32                    port:okular \
33                    port:R
34
35post-extract {
36        file mkdir ${worksrcpath}/build
37}
38
39configure.dir       ${worksrcpath}/build
40configure.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
46variant debug description {Add full debugging support} {
47        depends_lib-append port:valgrind
48}
49
50configure.post_args ..
51
52build.dir           ${worksrcpath}/build
53
54pre-pkg {
55        file copy -force -- ${worksrcdir}/macports/postinstall ${package.scripts}/postinstall
56        file attributes ${package.scripts}/postinstall -permissions 0755
57}