Ticket #17731: Portfile.2

File Portfile.2, 1.9 KB (added by jonas.baehr@…, 16 years ago)

Portfile for krusader-2.0.0-beta2

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
5
6name                krusader-devel
7version             2.0.0-beta2
8categories          kde kde4
9maintainers         fs.ei.tum.de:jonas openmaintainer
10description         Advanced twin panel (commander style) file manager for KDE.
11long_description    Krusader is an advanced twin panel (commander style) file manager for KDE, \
12                    similar to Midnight or Total Commander (formerly Windows Commander), with \
13                    many extras such as directory synchronization, transparent archive handling, \
14                    FTP, advanced search, internal viewer, ...
15
16platforms           darwin
17homepage            http://krusader.org
18master_sites        sourceforge:krusader
19distname            krusader-${version}
20distfiles           ${distname}.tar.gz
21checksums           md5     88805a863dc51bf723a6307173f7f044 \
22                    sha1    c170d112b3a89cdcd5872669c403176030f71092 \
23                    rmd160  42860b8180af2857710428d44bad4e31ece3bd9a
24
25
26depends_lib         port:kdelibs4
27                                       
28depends_build       port:cmake
29
30use_parallel_build  yes
31worksrcdir          build
32post-extract        { file mkdir ${worksrcpath} }
33
34configure.cmd       cmake
35configure.ccache    no
36configure.args  ../${distname} \
37                -DCMAKE_VERBOSE_MAKEFILE=ON \
38                -DCMAKE_BUILD_TYPE=Release \
39                -DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix}\;/usr\" \
40                -DCMAKE_INSTALL_PREFIX=${prefix} \
41                -DCMAKE_OSX_SYSROOT=${sysroot} \
42                -Wno-dev
43
44variant universal {
45    configure.universal_args-delete  --disable-dependency-tracking
46    configure.args-append -DCMAKE_OSX_ARCHITECTURES=\"[strsed ${configure.universal_archs} "g| |;|"]\"
47}
48
49variant debug description "Enable debug binaries" {
50        configure.args-delete           -DCMAKE_BUILD_TYPE=Release
51        configure.args-append           -DCMAKE_BUILD_TYPE=debugFull
52}