summaryrefslogtreecommitdiff
path: root/games/trackballs/Makefile
blob: 919f419e98bdd238df63ec1c23f98e3f5e4baacb (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
# Created by: Adam Weinberger <adamw@FreeBSD.org>

PORTNAME=	trackballs
PORTVERSION=	1.3.3
DISTVERSIONPREFIX=	v
CATEGORIES=	games

MAINTAINER=	martymac@FreeBSD.org
COMMENT=	SDL-based Marble Madness clone

LICENSE=	GPLv2+ ETHYMONICS
LICENSE_COMB=	multi

LIB_DEPENDS=	libguile-2.2.so:lang/guile2 \
		libgc.so:devel/boehm-gc

USES=		cmake desktop-file-utils gettext-runtime gl gnome pkgconfig sdl
USE_GL=		gl
USE_SDL=	image2 mixer2 sdl2 ttf2

LICENSE_FILE_GPLv2+ =	${WRKSRC}/COPYING
LICENSE_FILE_ETHYMONICS=	${WRKSRC}/share/music/README
LICENSE_NAME_ETHYMONICS=	Ethymonics Free Music License
LICENSE_PERMS_ETHYMONICS=	dist-mirror dist-sell pkg-mirror pkg-sell \
							auto-accept

USE_GITHUB=	yes


CMAKE_ARGS+=	-DTRACKBALLS_DOC_DIR=${DOCSDIR} \
		-DTRACKBALLS_MAN_DIR=${PREFIX}/man

OPTIONS_DEFINE=	NLS DOCS
OPTIONS_SUB=	yes
NLS_USES=	gettext-tools
NLS_CMAKE_ON=	-DDISABLE_NLS:BOOL=OFF
NLS_CMAKE_OFF=	-DDISABLE_NLS:BOOL=ON

.include <bsd.port.mk>