aboutsummaryrefslogtreecommitdiff
path: root/games/tenebrae
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-03-18 02:45:32 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-03-18 02:45:32 +0000
commit56f1a46f53030427abf2dccce6f9f7919e7f5912 (patch)
treec29bc95e17d1ab70b6d4484eea97576b2daa16eb /games/tenebrae
parent3ecf13ea49e990ba96c7f7eb147e2a57508ec958 (diff)
downloadports-56f1a46f53030427abf2dccce6f9f7919e7f5912.tar.gz
ports-56f1a46f53030427abf2dccce6f9f7919e7f5912.zip
Notes
Diffstat (limited to 'games/tenebrae')
-rw-r--r--games/tenebrae/Makefile33
1 files changed, 15 insertions, 18 deletions
diff --git a/games/tenebrae/Makefile b/games/tenebrae/Makefile
index 412ada7bc998..fe07020dcadf 100644
--- a/games/tenebrae/Makefile
+++ b/games/tenebrae/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: tenebrae
-# Date created: 14 Mar 2004
-# Whom: Igor Pokrovsky <tiamat@comset.net>
-#
+# Created by: Igor Pokrovsky <tiamat@comset.net>
# $FreeBSD$
-#
PORTNAME= tenebrae
PORTVERSION= 1.04
@@ -14,35 +10,37 @@ DISTFILES= ${PORTNAME}_src${EXTRACT_SUFX} \
${PORTNAME}data${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
-COMMENT= Quake 1 source port with advanced graphics
+COMMENT= Quake engine with lighting similar to that in Doom III
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
USE_ZIP= yes
USE_DOS2UNIX= yes
USE_GMAKE= yes
-USE_XORG= xxf86dga
-USE_GL= gl
+USE_GL= glu
USE_SDL= yes
-
-OPTIONS_DEFINE= X86_ASM DOCS
-OPTIONS_DEFAULT= X86_ASM
-X86_ASM_DESC= Enable use of x86 assembly code
+USE_XORG= xxf86dga
WRKSRC= ${WRKDIR}/${PORTNAME}_0
BUILD_WRKSRC= ${WRKSRC}/linux
MAKEFILE= Makefile.i386linux
MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE_i386= ASM
+OPTIONS_DEFAULT_i386= ASM
+OPTIONS_DEFINE_amd64= ASM
+OPTIONS_DEFAULT_amd64= ASM
+
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MX86_ASM}
+.if ${PORT_OPTIONS:MASM}
MAKE_ENV+= USE_ASM=1
.endif
post-patch:
- ${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
- ${WRKSRC}/gl_warp.c
+ ${REINPLACE_CMD} -e 's|gray_1_2_4_to_8|expand_&|' \
+ ${WRKSRC}/gl_warp.c
pre-build:
@cd ${BUILD_WRKSRC} && ${LN} -sf Makefile.i386linux Makefile
@@ -54,8 +52,8 @@ do-install:
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/Pak0.pak ${Q1DIR}/${PORTNAME}
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
- ${TR} -d '\r' <${WRKDIR}/Tenebrae_Readme.txt \
- >${DOCSDIR}/Tenebrae_Readme.txt
+ ${TR} -d '\r' < ${WRKDIR}/Tenebrae_Readme.txt \
+ > ${DOCSDIR}/Tenebrae_Readme.txt
.endif
post-install:
@@ -64,5 +62,4 @@ post-install:
@${ECHO_CMD}
.include "${.CURDIR}/../quake-data/Makefile.include"
-
.include <bsd.port.mk>