Ticket #17731: Portfile

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

Portfile for krusader-2.0.0-beta1

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
7version             2.0.0-beta1
8categories          kde kde4
9maintainers         jonas@fs.ei.tum.de 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
19distname            ${name}-${version}
20distfiles           ${distname}.tar.gz
21checksums           md5     8c068962fa3ecaf26f306a72ea874512 \
22                    sha1    1476425654aa08e408a18d8ad3c418694a724119 \
23                    rmd160  a34f77a80e90f9b31f3e393283974e5af6bda37e
24patchfiles          patch-po-CMakeLists.txt
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 description "Compile for ppc and intel architectures" {
45    configure.universal_args-delete  --disable-dependency-tracking
46    configure.args-append       -DCMAKE_OSX_ARCHITECTURES=\"ppc\;i386\"
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}