ports/86176: [UPDATE] games/tenebrae: integrate with "games/quake-data"
Igor Pokrovsky
ip at doom.homeunix.org
Sun Nov 6 19:20:22 UTC 2005
The following reply was made to PR ports/86176; it has been noted by GNATS.
From: Igor Pokrovsky <ip at doom.homeunix.org>
To: bug-followup at freebsd.org
Cc: vs at freebsd.org
Subject: Re: ports/86176: [UPDATE] games/tenebrae: integrate with "games/quake-data"
Date: Sun, 6 Nov 2005 22:19:20 +0300
I modified proposed patch to my taste a bit.
Changes made:
Rely on games/quake-data port for game data installation
Bumped port revision
diff -ruN /usr/ports/games/tenebrae/Makefile tenebrae/Makefile
--- /usr/ports/games/tenebrae/Makefile Wed Jul 21 21:47:50 2004
+++ tenebrae/Makefile Sun Nov 6 22:10:23 2005
@@ -7,6 +7,7 @@
PORTNAME= tenebrae
PORTVERSION= 1.04
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://tenebrae.sourceforge.net/downloads/
DISTFILES= ${PORTNAME}_src${EXTRACT_SUFX} \
@@ -18,11 +19,10 @@
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_ZIP= yes
+USE_REINPLACE= yes
USE_GMAKE= yes
USE_GL= yes
-USE_XLIB= yes
USE_SDL= yes
-USE_REINPLACE= yes
ONLY_FOR_ARCHS= i386
WRKSRC= ${WRKDIR}/${PORTNAME}_0
@@ -31,6 +31,8 @@
PTHREAD_LIBS="${PTHREAD_LIBS}" \
SDL_CONFIG="${SDL_CONFIG}"
+.include "${.CURDIR}/../quake-data/Makefile.include"
+
pre-patch:
@${REINPLACE_CMD} -e "s|$$(${PRINTF} '\r')||g" `${FIND} ${WRKSRC} -type f`
@@ -50,6 +52,6 @@
.endif
post-install:
- @${SED} -e 's|%%DATADIR%%|${DATADIR}|' <${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff -ruN /usr/ports/games/tenebrae/pkg-message tenebrae/pkg-message
--- /usr/ports/games/tenebrae/pkg-message Wed Mar 17 12:30:31 2004
+++ tenebrae/pkg-message Sun Nov 6 21:46:34 2005
@@ -1,5 +1,4 @@
*******************************************************************************
-* Before running Tenebrae copy Quake 1 data files (id1 directory)
-* into %%DATADIR%%.
-* Filenames should be in lower case!
+* Tenebrae Quake requires data files (id1 directory) from original game.
+* Before running Tenebrae install them using games/quake-data port.
*******************************************************************************
-ip
More information about the freebsd-ports-bugs
mailing list