summaryrefslogtreecommitdiff
path: root/games/kdegames/Makefile
blob: ce25e2e578aeac5e85e080781d7024e06b424b33 (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

PORTNAME=	kdegames
DISTVERSION=	${KDE_APPLICATIONS_VERSION}
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 "Makefile.common"

.for game in ${KDE_GAMES_ALL}
# _PORT, _DETECT, and _DESC are defined in Makefile.common
${game}_PORT?=		games/${game:tl}
${game}_DETECT?=	${KDE_PREFIX}/bin/${game:tl}
${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>