svn commit: r492240 - head/games/tenebrae

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Feb 5 14:29:25 UTC 2019


Author: amdmi3
Date: Tue Feb  5 14:29:24 2019
New Revision: 492240
URL: https://svnweb.freebsd.org/changeset/ports/492240

Log:
  - Add USES=gl
  - Add missing USE_GL=gl
  - Convert USE_SDL=yes to USE_SDL=sdl
  - Silence patching
  - Switch to options helpers

Modified:
  head/games/tenebrae/Makefile

Modified: head/games/tenebrae/Makefile
==============================================================================
--- head/games/tenebrae/Makefile	Tue Feb  5 14:27:03 2019	(r492239)
+++ head/games/tenebrae/Makefile	Tue Feb  5 14:29:24 2019	(r492240)
@@ -14,10 +14,10 @@ COMMENT=	Quake engine with lighting similar to that in
 
 LIB_DEPENDS=	libpng.so:graphics/png
 
-USES=		gmake dos2unix zip
-USE_GL=		glu
-USE_SDL=	yes
-USE_XORG=	xxf86dga
+USES=		gl gmake dos2unix zip
+USE_GL=		gl glu
+USE_SDL=	sdl
+USE_XORG=	x11 xext xxf86vm xxf86dga
 
 WRKSRC=		${WRKDIR}/${PORTNAME}_0
 BUILD_WRKSRC=	${WRKSRC}/linux
@@ -31,7 +31,7 @@ OPTIONS_DEFAULT_amd64=	ASM
 ASM_MAKE_ENV=	USE_ASM=1
 
 post-patch:
-	${REINPLACE_CMD} -e 's|gray_1_2_4_to_8|expand_&|' \
+	@${REINPLACE_CMD} -e 's|gray_1_2_4_to_8|expand_&|' \
 		${WRKSRC}/gl_warp.c
 
 pre-build:
@@ -42,6 +42,8 @@ do-install:
 		${STAGEDIR}${PREFIX}/bin
 	@${MKDIR} ${STAGEDIR}${Q1DIR}/${PORTNAME}
 	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/Pak0.pak ${STAGEDIR}${Q1DIR}/${PORTNAME}
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${TR} -d '\r' < ${WRKDIR}/Tenebrae_Readme.txt \
 		> ${STAGEDIR}${DOCSDIR}/Tenebrae_Readme.txt


More information about the svn-ports-all mailing list