1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name qimageblitz |
---|
6 | version 0.0.5 |
---|
7 | revision 1 |
---|
8 | categories kde4 |
---|
9 | maintainers nomaintainer |
---|
10 | description Graphical effects library for KDE4 |
---|
11 | long_description QImageBlitz is a graphical effect and filter library for KDE4 \ |
---|
12 | with MMX/SSE support. |
---|
13 | homepage http://www.kde.org |
---|
14 | platforms darwin |
---|
15 | master_sites http://www.kde.org |
---|
16 | distname ${version} |
---|
17 | |
---|
18 | fetch.type svn |
---|
19 | svn.url svn://anonsvn.kde.org/home/kde/tags/${name}/${version} |
---|
20 | |
---|
21 | depends_lib port:qt4-mac |
---|
22 | |
---|
23 | depends_build port:cmake \ |
---|
24 | port:automoc4 |
---|
25 | |
---|
26 | use_parallel_build yes |
---|
27 | |
---|
28 | worksrcdir build |
---|
29 | |
---|
30 | configure.cmd cmake |
---|
31 | |
---|
32 | pre-configure { file mkdir ${worksrcpath} } |
---|
33 | |
---|
34 | configure.args ../${distname} -DBUILD_SHARED_LIBS:BOOL=ON \ |
---|
35 | -DCMAKE_VERBOSE_MAKEFILE=ON \ |
---|
36 | -DCMAKE_BUILD_TYPE=Release \ |
---|
37 | -DCMAKE_SYSTEM_PREFIX_PATH=\"/opt/local\;/usr\" \ |
---|
38 | -DCMAKE_INSTALL_PREFIX=${prefix} \ |
---|
39 | -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib/ \ |
---|
40 | -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \ |
---|
41 | -Wno-dev |
---|
42 | |
---|
43 | variant universal description "Compile for ppc and intel architectures" { |
---|
44 | configure.universal_args-delete --disable-dependency-tracking |
---|
45 | configure.args-append -DCMAKE_OSX_ARCHITECTURES=\"ppc\;i386\" |
---|
46 | } |
---|
47 | |
---|
48 | variant debug description "Enable debug binaries" { |
---|
49 | configure.args-delete -DCMAKE_BUILD_TYPE=Release |
---|
50 | configure.args-append -DCMAKE_BUILD_TYPE=debugFull |
---|
51 | |
---|
52 | } |
---|