freebsd-ports/games/nehquake/Makefile

50 lines
1 KiB
Makefile
Raw Normal View History

# Created by: alepulver
# $FreeBSD$
PORTNAME= nehquake
PORTVERSION= 1.0
PORTREVISION= 8
CATEGORIES= games
MASTER_SITES= LOCAL/alepulver
DISTNAME= NehQuake-bjp-bin-src.linux
MAINTAINER= ports@FreeBSD.org
COMMENT= Quake engine designed for playing Nehahra
USES= gmake dos2unix tar:bzip2
USE_GL= gl
USE_XORG= xxf86dga
2012-06-12 18:35:45 +02:00
OPTIONS_DEFINE= OPTIMIZED_CFLAGS SDL X86_ASM
OPTIONS_DEFAULT= OPTIMIZED_CFLAGS SDL X86_ASM
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
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>
.for f in OPTIMIZED_CFLAGS X86_ASM
2012-06-12 18:35:45 +02:00
. 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
2012-06-12 18:35:45 +02:00
.if ${PORT_OPTIONS:MSDL}
${INSTALL_PROGRAM} ${WRKSRC}/release/nehahra-sdl ${STAGEDIR}${PREFIX}/bin
.endif
@${MKDIR} ${STAGEDIR}${Q1DIR}/nehahra
2012-06-12 18:35:45 +02:00
.include <bsd.port.mk>