freebsd-ports/games/nehquake/Makefile
Daniel Engberg d46e6836f6 games/nehquake: Deprecate and set expiration date to 2023-11-30
Abandonware, fails to build and marked broken over a year go

Reference:
https://quakewiki.org/wiki/Nehahra
2023-10-14 19:11:28 +02:00

57 lines
1.4 KiB
Makefile

PORTNAME= nehquake
PORTVERSION= 1.0
PORTREVISION= 9
CATEGORIES= games
MASTER_SITES= LOCAL/alepulver
DISTNAME= NehQuake-bjp-bin-src.linux
MAINTAINER= ports@FreeBSD.org
COMMENT= Quake engine designed for playing Nehahra
WWW= http://planetquake.com/nehahra/
BROKEN_FreeBSD_13= ld: error: duplicate symbol: sb_lines
BROKEN_FreeBSD_14= ld: error: duplicate symbol: sb_lines
DEPRECATED= Fails to build, abandoned upstream and marked broken over a year go
EXPIRATION_DATE=2023-11-30
USES= gl gmake dos2unix tar:bzip2 xorg
USE_GL= gl
USE_XORG= xxf86dga xxf86vm
OPTIONS_DEFINE= OPTIMIZED_CFLAGS SDL
OPTIONS_DEFINE_amd64= X86_ASM
OPTIONS_DEFINE_i386= X86_ASM
OPTIONS_DEFAULT= OPTIMIZED_CFLAGS SDL
OPTIONS_DEFAULT_amd64= X86_ASM
OPTIONS_DEFAULT_i386= X86_ASM
OPTIONS_SUB= yes
SDL_USES= sdl
SDL_USE= SDL=sdl
SDL_MAKE_ENV= BUILD_SDL=YES
X86_ASM_DESC= Enable x86 assembly code
ALL_TARGET= release
SUB_FILES= pkg-message
.include "${.CURDIR}/../quake-data/Makefile.include"
.include <bsd.port.options.mk>
.for f in OPTIMIZED_CFLAGS X86_ASM
. if ${PORT_OPTIONS:M${f}}
MAKE_ENV+= USE_${f}=YES
. else
MAKE_ENV+= USE_${f}=NO
. endif
.endfor
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/release/nehahra ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MSDL}
${INSTALL_PROGRAM} ${WRKSRC}/release/nehahra-sdl ${STAGEDIR}${PREFIX}/bin
.endif
@${MKDIR} ${STAGEDIR}${Q1DIR}/nehahra
.include <bsd.port.mk>