47 lines
1.0 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.27 2019/07/12 20:46:22 sthen Exp $
BROKEN-alpha = OOM on XcomRuleset.cpp
2016-04-09 22:28:40 +00:00
BROKEN-hppa = OOM on Engine/Scalers/hq4x.cpp
COMMENT = open source reimplementation of the original X-Com
DISTNAME = openxcom-1.0.0
2019-03-30 14:23:54 +00:00
REVISION = 10
EPOCH = 0
CATEGORIES = games x11
2017-11-27 04:21:51 +00:00
HOMEPAGE = https://openxcom.org/
2016-04-09 22:28:40 +00:00
MAINTAINER = Kirill Bychkov <kirby@openbsd.org>
# GPLv3
PERMIT_PACKAGE = Yes
WANTLIB = GL SDL SDL_gfx SDL_image SDL_mixer c m pthread \
2017-07-16 19:18:47 +00:00
yaml-cpp ${COMPILER_LIBCXX}
MASTER_SITES = ${HOMEPAGE}/wp-content/uploads/downloads/2014/06/
MODULES = devel/cmake
2017-05-22 15:06:28 +00:00
COMPILER = base-clang ports-gcc
RUN_DEPENDS = audio/timidity \
devel/desktop-file-utils \
x11/gtk+3,-guic
LIB_DEPENDS = devel/sdl-gfx \
devel/sdl-image \
devel/sdl-mixer \
devel/yaml-cpp>=0.5.1
CONFIGURE_ARGS = -DDEV_BUILD=Off
2013-03-11 11:02:49 +00:00
NO_TEST = Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/src/Engine/CrossPlatform.cpp
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/openxcom
cd ${WRKDIST}/bin/data && find . | pax -rw ${PREFIX}/share/openxcom
.include <bsd.port.mk>