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 | |
---|
6 | name krusader |
---|
7 | version 2.0.0-beta1 |
---|
8 | categories kde kde4 |
---|
9 | maintainers jonas@fs.ei.tum.de openmaintainer |
---|
10 | description Advanced twin panel (commander style) file manager for KDE. |
---|
11 | long_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 | |
---|
16 | platforms darwin |
---|
17 | homepage http://krusader.org |
---|
18 | master_sites sourceforge |
---|
19 | distname ${name}-${version} |
---|
20 | distfiles ${distname}.tar.gz |
---|
21 | checksums md5 8c068962fa3ecaf26f306a72ea874512 \ |
---|
22 | sha1 1476425654aa08e408a18d8ad3c418694a724119 \ |
---|
23 | rmd160 a34f77a80e90f9b31f3e393283974e5af6bda37e |
---|
24 | patchfiles patch-po-CMakeLists.txt |
---|
25 | |
---|
26 | depends_lib port:kdelibs4 |
---|
27 | |
---|
28 | depends_build port:cmake |
---|
29 | |
---|
30 | use_parallel_build yes |
---|
31 | worksrcdir build |
---|
32 | post-extract { file mkdir ${worksrcpath} } |
---|
33 | |
---|
34 | configure.cmd cmake |
---|
35 | configure.ccache no |
---|
36 | configure.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 | |
---|
44 | variant 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 | |
---|
49 | variant debug description "Enable debug binaries" { |
---|
50 | configure.args-delete -DCMAKE_BUILD_TYPE=Release |
---|
51 | configure.args-append -DCMAKE_BUILD_TYPE=debugFull |
---|
52 | } |
---|