1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/games/kdegames4/Makefile
Alberto Villa a2d3b5a4bc The KDE/FreeBSD team is pleased to announce KDE Software Compilation
4.7.2. The official release notes can be found at:
http://kde.org/announcements/announce-4.7.2.php
This release ships with many improvements. Read more about them here:
http://FreeBSD.kde.org/news.php#itemKDESC472availableinports

We'd like to say thanks to all testers and contributors, especially to
lwhsu@ for his effort on hosting our test packages.

PR:		156293 [1]
		159219 [2]
		160164 [3]
Submitted by:	Oleg Sidorkin <osidorkin@gmail.com> [1]
		Alvaro Castillo <gobledb@gmail.com> [2]
		dkeav04@gmail.com [3]
Tested by:	exp-run via pav
2011-10-17 00:03:42 +00:00

56 lines
1.4 KiB
Makefile

# New ports collection Makefile for: kdegames
# Date created: 2008-02-08
# Whom: Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$
PORTNAME= kdegames
PORTVERSION= ${KDE4_VERSION}
CATEGORIES= games kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= Games for KDE 4
LIB_DEPENDS= ggzcore.9:${PORTSDIR}/games/ggz-client-libs \
qca.2:${PORTSDIR}/devel/qca \
qhull.5:${PORTSDIR}/math/qhull5 \
sndfile.1:${PORTSDIR}/audio/libsndfile
LATEST_LINK= ${PORTNAME}4
USE_KDE4= kdehier kdelibs kdeprefix sharedmime automoc4
KDE4_BUILDENV= yes
USE_OPENAL= al
USE_QT_VER= 4
QT_COMPONENTS= dbus gui network opengl qt3support script svg xml \
moc_build qmake_build rcc_build uic_build
USE_BZIP2= yes
CMAKE_ARGS+= -DBUILD_kajongg:BOOL=FALSE
MAKE_JOBS_SAFE= yes
OPTIONS= FREEBSD "Install FreeBSD card deck" off \
KAJONGG "Install the classical Mah Jongg for four players" off
.include <bsd.port.options.mk>
.if defined(WITH_FREEBSD)
RUN_DEPENDS+= kde4-freebsd-carddeck>=1.0:${PORTSDIR}/games/freebsd-carddeck-kde4
.endif
.if defined(WITH_KAJONGG)
RUN_DEPENDS+= ${KDE4_PREFIX}/bin/kajongg:${PORTSDIR}/games/kajongg
.endif
post-patch:
# Prevent updating MIME during build.
${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d' \
${WRKSRC}/palapeli/mime/CMakeLists.txt
post-install:
@-update-mime-database ${KDE4_PREFIX}/share/mime
.include <bsd.port.mk>