mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
39 lines
871 B
Makefile
39 lines
871 B
Makefile
# Avoid future EPOCH bumps.
|
|
COMMENT = open source reimplementation of Jedi Academy game
|
|
DISTNAME = openjk-0.0.0.20251207
|
|
CATEGORIES = games x11
|
|
|
|
GH_ACCOUNT = JACoders
|
|
GH_PROJECT = OpenJK
|
|
GH_COMMIT = 407a56fbca21310ff158fabbb3207410e381bfc8
|
|
|
|
MAINTAINER = Thomas Frohwein <thfr@openbsd.org>
|
|
|
|
# GPLv2 only
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} GL GLU SDL2 c jpeg m png z
|
|
|
|
# C++11
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
MODULES = devel/cmake
|
|
|
|
LIB_DEPENDS = devel/sdl2 \
|
|
graphics/jpeg \
|
|
graphics/png
|
|
|
|
NO_TEST = Yes
|
|
|
|
MODCMAKE_POLICY_VERSION_OVERRIDE = Yes
|
|
|
|
pre-configure:
|
|
sed -i "s,-O3,-I${X11BASE}/include,g" ${WRKSRC}/CMakeLists.txt
|
|
|
|
post-install:
|
|
${SUBST_CMD} -c -m 555 ${FILESDIR}/jamp ${PREFIX}/bin/jamp
|
|
${SUBST_CMD} -c -m 555 ${FILESDIR}/jasp ${PREFIX}/bin/jasp
|
|
${SUBST_CMD} -c -m 555 ${FILESDIR}/openjkded ${PREFIX}/bin/openjkded
|
|
|
|
.include <bsd.port.mk>
|