1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name soprano |
---|
6 | version 2.1 |
---|
7 | revision 848630-svn |
---|
8 | categories devel |
---|
9 | maintainers nobody |
---|
10 | description The Qt-based RDF framework. |
---|
11 | long_description Soprano is a software library that provides an \ |
---|
12 | object-oriented C++/Qt4 framework for RDF data. |
---|
13 | homepage http://soprano.sourceforge.net |
---|
14 | platforms darwin |
---|
15 | master_sites sourceforge:soprano |
---|
16 | distname 2.1 |
---|
17 | |
---|
18 | fetch.type svn |
---|
19 | svn.url svn://anonsvn.kde.org/home/kde/branches/${name}/${version} |
---|
20 | |
---|
21 | depends_build port:cmake |
---|
22 | depends_lib port:clucene port:redland |
---|
23 | |
---|
24 | use_parallel_build yes |
---|
25 | |
---|
26 | worksrcdir build |
---|
27 | |
---|
28 | configure.cmd cmake |
---|
29 | |
---|
30 | pre-configure { file mkdir ${worksrcpath} } |
---|
31 | |
---|
32 | configure.args ../${distname} -DBUILD_SHARED_LIBS:BOOL=ON \ |
---|
33 | -DCMAKE_VERBOSE_MAKEFILE=ON \ |
---|
34 | -DCMAKE_BUILD_TYPE=Release \ |
---|
35 | -DCMAKE_SYSTEM_PREFIX_PATH=\"/opt/local\;/usr\" \ |
---|
36 | -DCMAKE_INSTALL_PREFIX=${prefix} \ |
---|
37 | -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib/ \ |
---|
38 | -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \ |
---|
39 | -Wno-dev |
---|
40 | |
---|
41 | variant universal description "Compile for ppc and intel architectures" { |
---|
42 | configure.universal_args-delete --disable-dependency-tracking |
---|
43 | configure.args-append -DCMAKE_OSX_ARCHITECTURES=\"ppc\;i386\" |
---|
44 | } |
---|
45 | |
---|
46 | variant debug description "Enable debug binaries" { |
---|
47 | configure.args-delete -DCMAKE_BUILD_TYPE=Release |
---|
48 | configure.args-append -DCMAKE_BUILD_TYPE=debugFull |
---|
49 | |
---|
50 | } |
---|