aboutsummaryrefslogtreecommitdiffstats
path: root/games/kdegames4/Makefile
blob: 9afd06cd996a2aec6ce7b772ab4adfea4a880da4 (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
38
39
# $FreeBSD$

PORTNAME=   kdegames
PORTVERSION=    ${KDE4_VERSION}
PORTREVISION=   1
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}

NO_STAGE=   yes
.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>