Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Sep 2005 15:12:04 -0300
From:      "Alejandro Pulver" <alejandro@varnet.biz>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/86176: [UPDATE] games/tenebrae: integrate with "games/quake-data"
Message-ID:  <1126807924.0@phobos.mars.bsd>
Resent-Message-ID: <200509151820.j8FIK4UW053993@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         86176
>Category:       ports
>Synopsis:       [UPDATE] games/tenebrae: integrate with "games/quake-data"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 15 18:20:04 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Alejandro Pulver
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:





>Description:


Changes:
* Integrate with "games/quake-data".
* Remove pkg-message (not needed).


>How-To-Repeat:





>Fix:


--- tenebrae.diff begins here ---
diff -urN /usr/ports/games/tenebrae/Makefile tenebrae/Makefile
--- /usr/ports/games/tenebrae/Makefile	Wed Jul 21 14:47:50 2004
+++ tenebrae/Makefile	Sun Sep 11 16:43:19 2005
@@ -41,15 +41,13 @@
 	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/debugi386.glibc/bin/${PORTNAME}.run \
 		${PREFIX}/bin/${PORTNAME}
 	@${MKDIR} ${DATADIR}
-	@${MKDIR} ${DATADIR}/${PORTNAME}
-	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/Pak0.pak ${DATADIR}/${PORTNAME}
+	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/Pak0.pak ${DATADIR}
 .ifndef (NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 	${TR} -d '\r' <${WRKDIR}/Tenebrae_Readme.txt \
 		>${DOCSDIR}/Tenebrae_Readme.txt
 .endif
 
-post-install:
-	@${SED} -e 's|%%DATADIR%%|${DATADIR}|' <${PKGMESSAGE}
+.include "${.CURDIR}/../quake-data/Makefile.include"
 
 .include <bsd.port.mk>
diff -urN /usr/ports/games/tenebrae/pkg-message tenebrae/pkg-message
--- /usr/ports/games/tenebrae/pkg-message	Wed Mar 17 06:30:31 2004
+++ tenebrae/pkg-message	Wed Dec 31 21:00:00 1969
@@ -1,5 +0,0 @@
-*******************************************************************************
-* Before running Tenebrae copy Quake 1 data files (id1 directory)
-* into %%DATADIR%%.
-* Filenames should be in lower case!
-*******************************************************************************
diff -urN /usr/ports/games/tenebrae/pkg-plist tenebrae/pkg-plist
--- /usr/ports/games/tenebrae/pkg-plist	Wed Mar 17 06:30:31 2004
+++ tenebrae/pkg-plist	Sun Sep 11 16:43:38 2005
@@ -1,6 +1,4 @@
 bin/tenebrae
-%%DATADIR%%/tenebrae/Pak0.pak
-@dirrm %%DATADIR%%/tenebrae
-@dirrm %%DATADIR%%
+%%DATADIR%%/Pak0.pak
 %%PORTDOCS%%%%DOCSDIR%%/Tenebrae_Readme.txt
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
--- tenebrae.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



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