freebsd-ports/games/libkdegames/Makefile
Tobias C. Berner 1d16d53e19 Introduce new extensible virtual categories for KDE
A lot of KDE Ports share MASTERSITES, LICENSE and so one, as they are
released as a bundle upstream, however, there was not really a clean
way to share this information.

Using these new categories, we can simplify the Makefiles for the diverse
KDE ports.
At the moment we support the virtual category
	* kde-kde4
In the future, this will be extended to
	* kde-frameworks
	* kde-plasma
	* kde-applications

PR:						213406
Differential Revision:	https://reviews.freebsd.org/D7645
Exp-run by :			antoine
Reviewed by:			mat, rakuco
Approved by: 			portmgr (mat), rakuco (mentor)
2016-10-18 17:22:35 +00:00

27 lines
677 B
Makefile

# $FreeBSD$
PORTNAME= libkdegames
PORTVERSION= ${KDE4_VERSION}
PORTREVISION= 1
CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= Libraries used by KDE 4 games
USES= cmake:outsource kde:4 tar:xz
USE_KDE= kdelibs automoc4
USE_QT4= network phonon xml moc_build qmake_build rcc_build uic_build
USE_LDCONFIG= yes
OPTIONS_DEFINE= LOWLATENCY
OPTIONS_DEFAULT= LOWLATENCY
LOWLATENCY_DESC= Use OpenAL and libsndfile for lower latency
LOWLATENCY_LIB_DEPENDS= libsndfile.so: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>