47 lines
967 B
Makefile
47 lines
967 B
Makefile
# $OpenBSD: Makefile,v 1.8 2019/05/25 15:49:40 bcallah Exp $
|
|
|
|
ONLY_FOR_ARCHS = ${CXX11_ARCHS}
|
|
|
|
V = 0.63
|
|
COMMENT = open source clone of Theme Hospital
|
|
PKGNAME = corsixth-${V}
|
|
CATEGORIES = games x11
|
|
|
|
GH_ACCOUNT = CorsixTH
|
|
GH_PROJECT = CorsixTH
|
|
GH_TAGNAME = v${V}
|
|
|
|
# https site is a little broken.
|
|
HOMEPAGE = http://corsixth.com/
|
|
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} SDL2 SDL2_mixer avcodec avformat
|
|
WANTLIB += avutil c freetype m swresample swscale ${MODLUA_WANTLIB}
|
|
|
|
# C++11
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
MODULES = devel/cmake \
|
|
lang/lua
|
|
MODLUA_VERSION = 5.3
|
|
|
|
LIB_DEPENDS = devel/sdl2-mixer \
|
|
graphics/ffmpeg
|
|
|
|
RUN_DEPENDS = audio/timidity \
|
|
devel/desktop-file-utils \
|
|
devel/lpeg,${MODLUA_FLAVOR} \
|
|
devel/luafs,${MODLUA_FLAVOR} \
|
|
x11/gtk+3,-guic
|
|
|
|
NO_TEST = Yes
|
|
|
|
# Remove the .orig file
|
|
post-install:
|
|
@rm -f ${PREFIX}/share/corsix-th/Lua/app.lua.orig
|
|
|
|
.include <bsd.port.mk>
|