2013-09-20 19:36:33 +02:00
|
|
|
# Created by: alepulver
|
2006-05-19 18:51:26 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= nehquake
|
|
|
|
PORTVERSION= 1.0
|
2017-05-23 07:03:14 +02:00
|
|
|
PORTREVISION= 8
|
2006-05-19 18:51:26 +02:00
|
|
|
CATEGORIES= games
|
2015-05-14 12:15:04 +02:00
|
|
|
MASTER_SITES= LOCAL/alepulver
|
2006-05-19 18:51:26 +02:00
|
|
|
DISTNAME= NehQuake-bjp-bin-src.linux
|
|
|
|
|
2011-02-27 05:54:41 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-05-19 18:51:26 +02:00
|
|
|
COMMENT= Quake engine designed for playing Nehahra
|
|
|
|
|
2014-04-15 20:33:49 +02:00
|
|
|
USES= gmake dos2unix tar:bzip2
|
2008-03-27 12:20:17 +01:00
|
|
|
USE_GL= gl
|
|
|
|
USE_XORG= xxf86dga
|
2006-05-19 18:51:26 +02:00
|
|
|
|
2012-06-12 18:35:45 +02:00
|
|
|
OPTIONS_DEFINE= OPTIMIZED_CFLAGS SDL X86_ASM
|
|
|
|
OPTIONS_DEFAULT= OPTIMIZED_CFLAGS SDL X86_ASM
|
2014-04-15 20:33:49 +02:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
SDL_USE= SDL=sdl
|
|
|
|
SDL_MAKE_ENV= BUILD_SDL=YES
|
|
|
|
|
2012-06-12 18:35:45 +02:00
|
|
|
X86_ASM_DESC= Enable x86 assembly code
|
2006-05-19 18:51:26 +02:00
|
|
|
|
|
|
|
ALL_TARGET= release
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
|
|
|
.include "${.CURDIR}/../quake-data/Makefile.include"
|
|
|
|
|
2012-06-12 18:35:45 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2006-05-19 18:51:26 +02:00
|
|
|
|
2006-05-27 19:14:10 +02:00
|
|
|
.for f in OPTIMIZED_CFLAGS X86_ASM
|
2012-06-12 18:35:45 +02:00
|
|
|
. if ${PORT_OPTIONS:M${f}}
|
2006-05-27 19:14:10 +02:00
|
|
|
MAKE_ENV+= USE_${f}=YES
|
|
|
|
. else
|
|
|
|
MAKE_ENV+= USE_${f}=NO
|
|
|
|
. endif
|
|
|
|
.endfor
|
2006-05-19 18:51:26 +02:00
|
|
|
|
|
|
|
do-install:
|
2014-04-15 20:33:49 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/release/nehahra ${STAGEDIR}${PREFIX}/bin
|
2012-06-12 18:35:45 +02:00
|
|
|
.if ${PORT_OPTIONS:MSDL}
|
2014-04-15 20:33:49 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/release/nehahra-sdl ${STAGEDIR}${PREFIX}/bin
|
2006-05-19 18:51:26 +02:00
|
|
|
.endif
|
2014-04-15 20:33:49 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${Q1DIR}/nehahra
|
2006-05-19 18:51:26 +02:00
|
|
|
|
2012-06-12 18:35:45 +02:00
|
|
|
.include <bsd.port.mk>
|