2020-05-18 05:29:06 -04:00
|
|
|
N = ezquake
|
2022-10-30 18:31:21 -04:00
|
|
|
V = 3.6.0
|
2018-08-15 18:15:02 -04:00
|
|
|
COMMENT = modern QuakeWorld client
|
2020-05-18 05:29:06 -04:00
|
|
|
|
|
|
|
PKGNAME = ${N}-${V}
|
2022-10-30 18:31:21 -04:00
|
|
|
GH_ACCOUNT = QW-Group
|
2020-05-18 05:29:06 -04:00
|
|
|
GH_PROJECT = ${N}-source
|
|
|
|
GH_TAGNAME = ${V}
|
|
|
|
|
2018-08-15 18:15:02 -04:00
|
|
|
CATEGORIES = games
|
|
|
|
|
|
|
|
HOMEPAGE = https://ezquake.github.io/
|
|
|
|
MAINTAINER = Tom Murphy <openbsd@pertho.net>
|
|
|
|
|
|
|
|
# GPLv2+
|
2019-07-12 16:45:45 -04:00
|
|
|
PERMIT_PACKAGE = Yes
|
2018-08-15 18:15:02 -04:00
|
|
|
|
2022-10-30 18:31:21 -04:00
|
|
|
WANTLIB += GL SDL2 c curl expat freetype jansson jpeg m pcre png pthread
|
|
|
|
WANTLIB += sndfile speex speexdsp z
|
2018-08-15 18:15:02 -04:00
|
|
|
|
2022-10-30 18:31:21 -04:00
|
|
|
LIB_DEPENDS = audio/libsndfile \
|
|
|
|
audio/speex \
|
2018-08-15 18:15:02 -04:00
|
|
|
graphics/jpeg \
|
|
|
|
graphics/png \
|
|
|
|
devel/sdl2 \
|
|
|
|
devel/jansson \
|
|
|
|
devel/pcre \
|
|
|
|
net/curl
|
|
|
|
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
MAKE_ENV = V=1
|
|
|
|
|
|
|
|
NO_TEST = Yes
|
|
|
|
|
2018-11-23 06:41:43 -05:00
|
|
|
GAMEDIR = ${PREFIX}/share/ezquake
|
|
|
|
SUBST_VARS += GAMEDIR
|
2022-10-30 18:31:21 -04:00
|
|
|
PATCHORIG = .orig.port
|
2018-11-23 06:41:43 -05:00
|
|
|
|
|
|
|
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>
|