2020-06-20 01:36:08 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2020/06/20 01:36:08 bcallah Exp $
|
2017-07-31 22:14:44 +00:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS = ${CXX11_ARCHS}
|
|
|
|
|
2020-06-20 01:36:08 +00:00
|
|
|
V = 0.64
|
2017-07-31 22:14:44 +00:00
|
|
|
COMMENT = open source clone of Theme Hospital
|
2017-12-22 07:35:15 +00:00
|
|
|
PKGNAME = corsixth-${V}
|
2017-07-31 22:14:44 +00:00
|
|
|
CATEGORIES = games x11
|
|
|
|
|
|
|
|
GH_ACCOUNT = CorsixTH
|
|
|
|
GH_PROJECT = CorsixTH
|
2017-12-22 07:35:15 +00:00
|
|
|
GH_TAGNAME = v${V}
|
2017-07-31 22:14:44 +00:00
|
|
|
|
2020-06-20 01:36:08 +00:00
|
|
|
HOMEPAGE = https://corsixth.com/
|
2017-07-31 22:14:44 +00:00
|
|
|
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
|
|
|
|
|
|
|
|
# MIT
|
2019-07-12 20:45:45 +00:00
|
|
|
PERMIT_PACKAGE = Yes
|
2017-07-31 22:14:44 +00:00
|
|
|
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} SDL2 SDL2_mixer avcodec avformat
|
|
|
|
WANTLIB += avutil c freetype m swresample swscale ${MODLUA_WANTLIB}
|
|
|
|
|
2019-05-25 15:49:40 +00:00
|
|
|
# C++11
|
|
|
|
COMPILER = base-clang ports-gcc
|
2017-07-31 22:14:44 +00:00
|
|
|
|
|
|
|
MODULES = devel/cmake \
|
|
|
|
lang/lua
|
|
|
|
MODLUA_VERSION = 5.3
|
|
|
|
|
|
|
|
LIB_DEPENDS = devel/sdl2-mixer \
|
|
|
|
graphics/ffmpeg
|
|
|
|
|
|
|
|
RUN_DEPENDS = audio/timidity \
|
2019-05-25 15:49:40 +00:00
|
|
|
devel/desktop-file-utils \
|
2017-07-31 22:14:44 +00:00
|
|
|
devel/lpeg,${MODLUA_FLAVOR} \
|
2019-05-25 15:49:40 +00:00
|
|
|
devel/luafs,${MODLUA_FLAVOR} \
|
|
|
|
x11/gtk+3,-guic
|
2017-07-31 22:14:44 +00:00
|
|
|
|
|
|
|
NO_TEST = Yes
|
|
|
|
|
2018-07-31 17:40:59 +00:00
|
|
|
# Remove the .orig file
|
2017-07-31 22:14:44 +00:00
|
|
|
post-install:
|
2018-07-31 17:40:59 +00:00
|
|
|
@rm -f ${PREFIX}/share/corsix-th/Lua/app.lua.orig
|
2017-07-31 22:14:44 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|