From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jul 23 17:00:30 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D04C116A41F for ; Sat, 23 Jul 2005 17:00:30 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B19343D4C for ; Sat, 23 Jul 2005 17:00:30 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6NH0T9a095985 for ; Sat, 23 Jul 2005 17:00:29 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6NH0T2Z095976; Sat, 23 Jul 2005 17:00:29 GMT (envelope-from gnats) Resent-Date: Sat, 23 Jul 2005 17:00:29 GMT Resent-Message-Id: <200507231700.j6NH0T2Z095976@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrej Zverev Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B354716A420 for ; Sat, 23 Jul 2005 16:51:24 +0000 (GMT) (envelope-from az@inec.ru) Received: from waterwall.inec.ru (waterwall.inec.ru [213.148.3.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB85B43D45 for ; Sat, 23 Jul 2005 16:51:21 +0000 (GMT) (envelope-from az@inec.ru) Received: from waterwall.inec.ru (root@localhost) by waterwall.inec.ru (8.13.1/8.12.6) with SMTP id j6NGqHMb071394 for ; Sat, 23 Jul 2005 20:52:17 +0400 (MSD) Received: from az.inec.ru (msproxyoutif.intermediate.org [10.0.0.2]) by waterwall.inec.ru (8.13.1/8.12.6) with ESMTP id j6NGqH8p071389 for ; Sat, 23 Jul 2005 20:52:17 +0400 (MSD) Received: from az by az.inec.ru with local (Exim 4.51 (FreeBSD)) id 1DwNDp-000PW4-SI for FreeBSD-gnats-submit@freebsd.org; Sat, 23 Jul 2005 20:51:33 +0400 Message-Id: Date: Sat, 23 Jul 2005 20:51:33 +0400 From: Andrej Zverev To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/83955: [unbreak] games/oilwar X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andrej Zverev List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jul 2005 17:00:31 -0000 >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 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: