2018-11-23 09:15:03 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2018/11/23 14:15:03 solene Exp $
|
2018-08-15 18:15:02 -04:00
|
|
|
|
2018-09-15 14:54:54 -04:00
|
|
|
V = 3.1
|
2018-08-15 18:15:02 -04:00
|
|
|
COMMENT = modern QuakeWorld client
|
2018-09-15 14:54:54 -04:00
|
|
|
DISTNAME = ezquake-source-${V}
|
|
|
|
PKGNAME = ezquake-${V}
|
2018-08-15 18:15:02 -04:00
|
|
|
CATEGORIES = games
|
2018-11-23 09:15:03 -05:00
|
|
|
REVISION = 3
|
2018-08-15 18:15:02 -04:00
|
|
|
|
|
|
|
HOMEPAGE = https://ezquake.github.io/
|
|
|
|
MAINTAINER = Tom Murphy <openbsd@pertho.net>
|
|
|
|
|
|
|
|
# GPLv2+
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
|
|
|
|
WANTLIB += GL SDL2 c curl expat jansson jpeg m pcre png pthread
|
|
|
|
WANTLIB += speex speexdsp z
|
|
|
|
|
2018-09-15 14:54:54 -04:00
|
|
|
MASTER_SITES = https://github.com/ezQuake/ezquake-source/releases/download/${V}/
|
|
|
|
|
2018-08-15 18:15:02 -04:00
|
|
|
LIB_DEPENDS = audio/speex \
|
|
|
|
graphics/jpeg \
|
|
|
|
graphics/png \
|
|
|
|
devel/sdl2 \
|
|
|
|
devel/jansson \
|
|
|
|
devel/pcre \
|
|
|
|
net/curl
|
|
|
|
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
MAKE_ENV = V=1
|
2018-09-15 14:54:54 -04:00
|
|
|
WRKDIST = ${WRKDIR}
|
2018-08-15 18:15:02 -04:00
|
|
|
|
|
|
|
NO_TEST = Yes
|
|
|
|
|
2018-11-23 06:41:43 -05:00
|
|
|
GAMEDIR = ${PREFIX}/share/ezquake
|
|
|
|
SUBST_VARS += GAMEDIR
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/EX_browser_sources.c
|
|
|
|
|
2018-08-15 18:15:02 -04:00
|
|
|
do-install:
|
2018-11-23 06:41:43 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ezquake ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${GAMEDIR}
|
|
|
|
@cp ${WRKSRC}/misc/sb/*.txt ${GAMEDIR}/
|
2018-08-15 18:15:02 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|