aboutsummaryrefslogtreecommitdiffstats
path: root/games/instead/Makefile
blob: 5ab0dc3a660111654f20ac9fab14ad9d5f6c4cc9 (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.4.1
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_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>