Date: Sat, 23 Jul 2005 20:51:33 +0400 From: Andrej Zverev <az@inec.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/83955: [unbreak] games/oilwar Message-ID: <E1DwNDp-000PW4-SI@az.inec.ru> Resent-Message-ID: <200507231700.j6NH0T2Z095976@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83955 >Category: ports >Synopsis: [unbreak] games/oilwar >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: Sat Jul 23 17:00:29 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Andrej Zverev >Release: FreeBSD 5.4-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD az.inec.ru 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #1: Mon May 23 20:34:48 MSD 2005 az@az.inec.ru:/usr/obj/usr/src/sys/GENERIC i386 >Description: 1. Fix plist 2. Play 20 min :) Feel better 3. Use DATADIR macros and overide (SCORE|DATA)_DIR to DATADIR >How-To-Repeat: >Fix: --- oilwar.diff begins here --- diff -Nru oilwar.orig/Makefile oilwar/Makefile --- oilwar.orig/Makefile Sat Jul 23 10:14:25 2005 +++ oilwar/Makefile Sat Jul 23 20:36:52 2005 @@ -15,11 +15,13 @@ MAINTAINER= hendrik@scholz.net COMMENT= Evil army wants to steal your oil -BROKEN= Incomplete pkg-plist -DEPRECATED= ${BROKEN} -EXPIRATION_DATE=2005-09-22 - +USE_REINPLACE= yes USE_SDL= image mixer sdl GNU_CONFIGURE= yes + +post-patch: + @${REINPLACE_CMD} -e 's|games/oilwar|${PORTNAME}|' \ + -e 's|/var/games|\$$\(datadir\)/oilwar|' \ + ${WRKSRC}/Makefile.in .include <bsd.port.mk> diff -Nru oilwar.orig/pkg-plist oilwar/pkg-plist --- oilwar.orig/pkg-plist Sun May 18 04:21:36 2003 +++ oilwar/pkg-plist Sat Jul 23 20:48:03 2005 @@ -1,8 +1,9 @@ bin/oilwar -share/games/oilwar/background.png -share/games/oilwar/bitmaps.png -share/games/oilwar/singlegunshot.wav -share/games/oilwar/bulletricochet.wav -share/games/oilwar/explode.wav -share/games/oilwar/gasp.wav -@dirrm share/games/oilwar +%%DATADIR%%/background.png +%%DATADIR%%/bitmaps.png +%%DATADIR%%/bulletricochet.wav +%%DATADIR%%/explode.wav +%%DATADIR%%/gasp.wav +%%DATADIR%%/oilwar.scores +%%DATADIR%%/singlegunshot.wav +@dirrm %%DATADIR%% \ No newline at end of file --- oilwar.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?E1DwNDp-000PW4-SI>