summaryrefslogtreecommitdiff
path: root/games/kdegames4/Makefile
blob: 357e97367ce1fa7f99984a0e35b8acd301d8d8c7 (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
# $NetBSD: Makefile,v 1.30 2012/06/16 04:45:29 markd Exp $

DISTNAME=	kdegames-${_KDE_VERSION}
PKGNAME=	${DISTNAME:S/-4/4-4/}
CATEGORIES=	games
COMMENT=	Games for the KDE integrated X11 desktop

.include "../../meta-pkgs/kde4/Makefile.kde4"

# BUILD_MAKE_FLAGS+= VERBOSE=1

REPLACE_PERL+=	katomic/katomic-levelset-upd.pl
REPLACE_PERL+=	klickety/klickety-2.0-inherit-ksame-highscore.pl

DEPENDS+=	${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted

REPLACE_PYTHON+=	kajongg/setup.py
REPLACE_PYTHON+=	kajongg/src/deferredutil.py
REPLACE_PYTHON+=	kajongg/src/kajongg.py
REPLACE_PYTHON+=	kajongg/src/kajonggserver.py
REPLACE_PYTHON+=	kajongg/src/scoringtest.py
REPLACE_PYTHON+=	kajongg/src/server.py

.include "../../meta-pkgs/kde4/kde4.mk"

.include "../../audio/openal/buildlink3.mk"
.include "../../audio/libsndfile/buildlink3.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../lang/python/application.mk"
# don't add python include dir to include path
# as eg kolf will pick up wrong versions of header files
BUILDLINK_INCDIRS.${PYPACKAGE}=
.include "../../games/ggz-client-libs/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../security/qca2/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/kdelibs4/buildlink3.mk"
.include "../../x11/kde-runtime4/buildlink3.mk"
.include "../../x11/py-kde4/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"