2019-04-30 20:51:53 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= openjk
|
|
|
|
PORTVERSION= g20190428
|
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
2019-07-26 22:46:53 +02:00
|
|
|
PORTREVISION= 1
|
2019-04-30 20:51:53 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
|
|
|
|
MAINTAINER= pkubaj@FreeBSD.org
|
|
|
|
COMMENT= Community effort to maintain Jedi Academy + Jedi Outcast
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
LIB_DEPENDS= libpng.so:graphics/png
|
|
|
|
|
2019-11-05 23:16:14 +01:00
|
|
|
USES= compiler:c++11-lang cmake gl jpeg localbase sdl xorg
|
2019-04-30 20:51:53 +02:00
|
|
|
USE_GL= gl glu
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= JACoders
|
|
|
|
GH_PROJECT= OpenJK
|
|
|
|
GH_TAGNAME= 911c537
|
|
|
|
USE_SDL= sdl2
|
|
|
|
USE_XORG= x11
|
|
|
|
|
|
|
|
CXXFLAGS+= -DNDEBUG
|
2019-10-13 02:04:16 +02:00
|
|
|
OPENJK_ARCH= ${ARCH:S/powerpc64/ppc64/:S/armv7/arm/}
|
2019-05-12 13:33:35 +02:00
|
|
|
PLIST_SUB= ARCH="${OPENJK_ARCH}"
|
2019-04-30 20:51:53 +02:00
|
|
|
SUB_FILES= jamp \
|
|
|
|
jasp
|
2019-05-12 13:33:35 +02:00
|
|
|
SUB_LIST= ARCH="${OPENJK_ARCH}"
|
2019-04-30 20:51:53 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/jamp ${WRKDIR}/jasp ${STAGEDIR}${PREFIX}/bin
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|