1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name automoc4 |
---|
6 | version 0.9.87 |
---|
7 | revision 1 |
---|
8 | categories kde4 |
---|
9 | maintainers nobody |
---|
10 | description KDE's automoc utility |
---|
11 | long_description Complete and utter MAGIC. |
---|
12 | homepage http://www.kde.org |
---|
13 | platforms darwin |
---|
14 | master_sites http://www.kde.org |
---|
15 | distname ${version} |
---|
16 | |
---|
17 | fetch.type svn |
---|
18 | svn.url svn://anonsvn.kde.org/home/kde/tags/${name}/${version} |
---|
19 | |
---|
20 | depends_build port:cmake |
---|
21 | |
---|
22 | use_parallel_build yes |
---|
23 | |
---|
24 | worksrcdir build |
---|
25 | |
---|
26 | configure.cmd cmake |
---|
27 | |
---|
28 | pre-configure { file mkdir ${worksrcpath} } |
---|
29 | |
---|
30 | configure.args ../${distname} -DBUILD_SHARED_LIBS:BOOL=ON \ |
---|
31 | -DCMAKE_VERBOSE_MAKEFILE=ON \ |
---|
32 | -DCMAKE_BUILD_TYPE=Release \ |
---|
33 | -DCMAKE_SYSTEM_PREFIX_PATH=\"/opt/local\;/usr\" \ |
---|
34 | -DCMAKE_INSTALL_PREFIX=${prefix} \ |
---|
35 | -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib/ \ |
---|
36 | -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \ |
---|
37 | -Wno-dev |
---|
38 | |
---|
39 | variant universal description "Compile for ppc and intel architectures" { |
---|
40 | configure.universal_args-delete --disable-dependency-tracking |
---|
41 | configure.args-append -DCMAKE_OSX_ARCHITECTURES=\"ppc\;i386\" |
---|
42 | } |
---|