blob: 0c803c5b823eb4a7ac545e9b9be566c9d47fc5a7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $FreeBSD$
PORTNAME= openjk
PORTVERSION= g20190428
PORTREVISION= 1
CATEGORIES= games
MAINTAINER= pkubaj@FreeBSD.org
COMMENT= Community effort to maintain Jedi Academy + Jedi Outcast
LICENSE= GPLv2
LIB_DEPENDS= libpng.so:graphics/png
USES= compiler:c++11-lang cmake gl jpeg localbase sdl xorg
USE_GL= gl glu
USE_GITHUB= yes
GH_ACCOUNT= JACoders
GH_PROJECT= OpenJK
GH_TAGNAME= 911c537
USE_SDL= sdl2
USE_XORG= x11
CXXFLAGS+= -DNDEBUG
OPENJK_ARCH= ${ARCH:S/powerpc64/ppc64/:S/armv7/arm/}
PLIST_SUB= ARCH="${OPENJK_ARCH}"
SUB_FILES= jamp \
jasp
SUB_LIST= ARCH="${OPENJK_ARCH}"
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/jamp ${WRKDIR}/jasp ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
|