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