Ticket #16131: Portfile.7

File Portfile.7, 1.4 KB (added by illogical1@…, 16 years ago)

Soprano Portfile (kdelibs nepomuk dependency)

Line 
1# $Id$
2
3PortSystem          1.0
4
5name                soprano
6version             2.1
7revision            848630-svn
8categories          devel
9maintainers         nobody
10description         The Qt-based RDF framework.
11long_description    Soprano is a software library that provides an \
12                    object-oriented C++/Qt4 framework for RDF data.
13homepage            http://soprano.sourceforge.net
14platforms           darwin
15master_sites        sourceforge:soprano
16distname            2.1
17
18fetch.type          svn
19svn.url             svn://anonsvn.kde.org/home/kde/branches/${name}/${version}
20
21depends_build       port:cmake
22depends_lib         port:clucene port:redland
23
24use_parallel_build  yes
25
26worksrcdir              build
27
28configure.cmd           cmake
29
30pre-configure { file mkdir ${worksrcpath} }
31
32configure.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
41variant 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
46variant debug description "Enable debug binaries" {
47        configure.args-delete           -DCMAKE_BUILD_TYPE=Release
48        configure.args-append           -DCMAKE_BUILD_TYPE=debugFull
49
50}