Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Nov 2005 19:20:22 GMT
From:      Igor Pokrovsky <ip@doom.homeunix.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/86176: [UPDATE] games/tenebrae: integrate with "games/quake-data"
Message-ID:  <200511061920.jA6JKM8F013795@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/86176; it has been noted by GNATS.

From: Igor Pokrovsky <ip@doom.homeunix.org>
To: bug-followup@freebsd.org
Cc: vs@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511061920.jA6JKM8F013795>