aboutsummaryrefslogtreecommitdiffstats
path: root/games/kdegames4/Makefile
blob: d34d629cf01be0f50859f58fd24ec7756ce88347 (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
30
31
32
33
34
35
36
37
# $FreeBSD$

PORTNAME=   kdegames
PORTVERSION=    ${KDE4_VERSION}
CATEGORIES= games kde
DISTFILES=  #

MAINTAINER= kde@FreeBSD.org
COMMENT=    Games for KDE 4 (meta port)

LATEST_LINK=    ${PORTNAME}4
USE_KDE4=   kdeprefix
NO_BUILD=   yes

OPTIONS_DEFINE= ${KDE4_GAMES_ALL}
OPTIONS_DEFAULT=    ${OPTIONS_DEFINE}

.include <${.CURDIR}/Makefile.common>

.for game in ${KDE4_GAMES_ALL}
${game}_PORT?=      games/${game}
${game}_DETECT?=    ${KDE4_PREFIX}/bin/${game}
${game}_DESC?=      Please fix a typo in option name/desc!
.endfor

.include <bsd.port.options.mk>

.for game in ${KDE4_GAMES_ALL}
. if ${PORT_OPTIONS:M${game}}
RUN_DEPENDS+=   ${${game}_DETECT}:${PORTSDIR}/${${game}_PORT}
. endif
.endfor

do-install:
    ${DO_NADA}

.include <bsd.port.mk>