blob: e08fa57d7f910837b1321e6bef8d4e6c5e41d33f (
plain)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# New ports collection Makefile for: kdegames
# Date created: 2008-02-08
# Whom: Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$
PORTNAME= kdegames
PORTVERSION= ${KDE4_VERSION}
PORTREVISION= 1
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>
|