Ticket #16131: Portfile.13

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

QImageBlitz (kdebase requirement)

Line 
1# $Id$
2
3PortSystem          1.0
4
5name                qimageblitz
6version             0.0.5
7revision            1
8categories          kde4
9maintainers         nomaintainer
10description         Graphical effects library for KDE4
11long_description    QImageBlitz is a graphical effect and filter library for KDE4 \
12                    with MMX/SSE support.
13homepage            http://www.kde.org
14platforms           darwin
15master_sites        http://www.kde.org
16distname            ${version}
17
18fetch.type          svn
19svn.url             svn://anonsvn.kde.org/home/kde/tags/${name}/${version}
20
21depends_lib         port:qt4-mac
22
23depends_build       port:cmake \
24                                        port:automoc4
25
26use_parallel_build  yes
27
28worksrcdir              build
29
30configure.cmd           cmake
31
32pre-configure { file mkdir ${worksrcpath} }
33
34configure.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
43variant 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
48variant debug description "Enable debug binaries" {
49        configure.args-delete           -DCMAKE_BUILD_TYPE=Release
50        configure.args-append           -DCMAKE_BUILD_TYPE=debugFull
51
52}