diff --git a/games/ezquake/Makefile b/games/ezquake/Makefile index 9b3c3585150..984da4ce29d 100644 --- a/games/ezquake/Makefile +++ b/games/ezquake/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.4 2018/09/15 18:54:54 bcallah Exp $ +# $OpenBSD: Makefile,v 1.5 2018/11/23 11:41:43 solene Exp $ V = 3.1 COMMENT = modern QuakeWorld client DISTNAME = ezquake-source-${V} PKGNAME = ezquake-${V} CATEGORIES = games -REVISION = 1 +REVISION = 2 HOMEPAGE = https://ezquake.github.io/ MAINTAINER = Tom Murphy @@ -32,7 +32,15 @@ WRKDIST = ${WRKDIR} NO_TEST = Yes +GAMEDIR = ${PREFIX}/share/ezquake +SUBST_VARS += GAMEDIR + +do-configure: + ${SUBST_CMD} ${WRKSRC}/EX_browser_sources.c + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/ezquake ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/ezquake ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${GAMEDIR} + @cp ${WRKSRC}/misc/sb/*.txt ${GAMEDIR}/ .include diff --git a/games/ezquake/pkg/PLIST b/games/ezquake/pkg/PLIST index 9e3d2f5c5f7..cc225a1c4b7 100644 --- a/games/ezquake/pkg/PLIST +++ b/games/ezquake/pkg/PLIST @@ -1,3 +1,14 @@ -@comment $OpenBSD: PLIST,v 1.2 2018/09/04 12:53:16 espie Exp $ +@comment $OpenBSD: PLIST,v 1.3 2018/11/23 11:41:43 solene Exp $ @bin bin/ezquake share/doc/pkg-readmes/${PKGSTEM} +share/ezquake/ +share/ezquake/au-sv.txt +share/ezquake/ctf.txt +share/ezquake/eu-4on4.txt +share/ezquake/eu-sv.txt +share/ezquake/global.txt +share/ezquake/na-sv.txt +share/ezquake/qizmo.txt +share/ezquake/sa-sv.txt +share/ezquake/sources.txt +share/ezquake/tf.txt