aboutsummaryrefslogtreecommitdiffstats
path: root/games/instead/Makefile
blob: 387e85128a2688c49ca99083d8d40250e949d6bd (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
40
41
42
43
44
45
46
47
48
49
# Created by: neuroworker@gmail.com
# $FreeBSD$

PORTNAME=   instead
PORTVERSION=    2.0.3
CATEGORIES= games
MASTER_SITES=   SF/instead/instead/${PORTVERSION}/
DISTNAME=   instead_${PORTVERSION}

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    Simple Text Adventure, The Interpreter

LICENSE=    MIT

USES=       cmake:outsource pkgconfig iconv
CMAKE_ARGS= -DMANDIR=man
USE_LUA=    5.1

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

PORTDOCS=   *
PORTDATA=   *

OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=SDL GTK2
OPTIONS_SINGLE= SDL_VERSION
OPTIONS_SINGLE_SDL_VERSION= SDL SDL2
OPTIONS_RADIO=  GTK_VERSION
OPTIONS_RADIO_GTK_VERSION=  GTK2 GTK3

SDL_VERSION_DESC=SDL version
SDL_DESC=   Use SDL 1.2
SDL2_DESC=  Use SDL 2.0
GTK_VERSION_DESC=GTK version for file open dialog
GTK2_DESC=  Use GTK 2
GTK3_DESC=  Use GTK 3

SDL_USE=    SDL=sdl,image,ttf,mixer
SDL2_USE=   SDL=sdl2,image2,ttf2,mixer2
SDL2_CMAKE_ON=  -DWITH_SDL2=ON
SDL2_CMAKE_OFF= -DWITH_SDL2=OFF
GTK2_USE=   GNOME=gtk20
GTK2_CMAKE_ON=  -DWITH_GTK2=ON
GTK2_CMAKE_OFF= -DWITH_GTK2=OFF
GTK3_USE=   GNOME=gtk30
GTK3_CMAKE_ON=  -DWITH_GTK3=ON
GTK3_CMAKE_OFF= -DWITH_GTK3=OFF

.include <bsd.port.mk>