aboutsummaryrefslogtreecommitdiffstats
path: root/games/libkdegames/Makefile
blob: bdc7d86e4f6e6e06b4f7726f52f497f7fb5c60de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $FreeBSD$

PORTNAME=   libkdegames
PORTVERSION=    ${KDE4_VERSION}
CATEGORIES= games kde
MASTER_SITES=   KDE/${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR=    KDE/${PORTVERSION}

MAINTAINER= kde@FreeBSD.org
COMMENT=    Libraries used by KDE 4 games

USE_KDE4=   kdehier kdelibs kdeprefix automoc4
USES=       cmake:outsource
USE_QT4=    network phonon xml moc_build qmake_build rcc_build uic_build
USE_XZ=     yes
USE_LDCONFIG=   yes

OPTIONS_DEFINE=     LOWLATENCY
OPTIONS_DEFAULT=    LOWLATENCY

LOWLATENCY_DESC=    Use OpenAL and libsndfile for lower latency
LOWLATENCY_LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile
LOWLATENCY_USES=    openal
LOWLATENCY_CMAKE_ON=    -DWITH_OpenAL=on \
            -DWITH_SndFile=on
LOWLATENCY_CMAKE_OFF=   -DWITH_OpenAL=off \
            -DWITH_SndFile=off

.include <bsd.port.mk>