aboutsummaryrefslogtreecommitdiffstats
path: root/games/instead/Makefile
blob: 9d2455c41ac374b4c82eac6c80f25e2c6fada48f (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
# Created by: neuroworker@gmail.com
# $FreeBSD$

PORTNAME=   instead
PORTVERSION=    3.1.2
CATEGORIES= games
MASTER_SITES=   SF
DISTNAME=   ${PORTNAME}_${PORTVERSION}

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

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/COPYING

USES=       cmake:outsource iconv lua:51 pkgconfig
CMAKE_ARGS= -DMANDIR=man

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

PORTDOCS=   *
PORTDATA=   *

OPTIONS_DEFINE=     DOCS
OPTIONS_DEFAULT=    SDL2 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_BOOL=    WITH_SDL2
GTK2_USE=       GNOME=gtk20
GTK2_CMAKE_BOOL=    WITH_GTK2
GTK3_USE=       GNOME=gtk30
GTK3_CMAKE_BOOL=    WITH_GTK3

.include <bsd.port.mk>