aboutsummaryrefslogtreecommitdiffstats
path: root/games/kdegames/Makefile
blob: a64d82c00d9ec3520b3609c7108ccde5eb17cc71 (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
# $FreeBSD$

PORTNAME=   kdegames
DISTVERSION=    ${KDE_APPLICATIONS_VERSION}
PORTREVISION=   1
CATEGORIES= games kde

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

USES=       kde:5 metaport

OPTIONS_DEFINE= ALL ${KDE_GAMES_ALL}
OPTIONS_DEFAULT=    ALL

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

.for game in ${KDE_GAMES_ALL}
# _PORT, _DETECT, and _DESC are defined in Makefile.common
${game}_PORT?=      games/${game}
${game}_DETECT?=    ${KDE_PREFIX}/bin/${game}
${game}_DESC?=      Please fix a typo in option name/desc!
${game}_RUN_DEPENDS=    ${${game}_DETECT}:${${game}_PORT}
ALL_RUN_DEPENDS+=   ${${game}_RUN_DEPENDS}
.endfor

.include <bsd.port.mk>