aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2005-07-24 03:45:44 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2005-07-24 03:45:44 +0000
commit37a32041b4b56ff6737ca34f7d21a0f32cd121a2 (patch)
tree79cc500295fbf696e721ba30a3ed692fdcc201ed /games
parente780d155dd565b8561e78993f3da4cea4fc84cca (diff)
downloadports-37a32041b4b56ff6737ca34f7d21a0f32cd121a2.tar.gz
ports-37a32041b4b56ff6737ca34f7d21a0f32cd121a2.zip
-Fix the plist.
-Use DATADIR macros and move some stuff in DATADIR. -Remove the BROKEN, DEPRECATED and EXPIRATION_DATE. -Bump the PORTREVISION. PR: ports/83955 Submitted by: Andrej Zverev <az@inec.ru>
Notes
Notes: svn path=/head/; revision=139998
Diffstat (limited to 'games')
-rw-r--r--games/oilwar/Makefile11
-rw-r--r--games/oilwar/pkg-plist15
2 files changed, 14 insertions, 12 deletions
diff --git a/games/oilwar/Makefile b/games/oilwar/Makefile
index 270a941d8b38..402ae54ed49b 100644
--- a/games/oilwar/Makefile
+++ b/games/oilwar/Makefile
@@ -7,7 +7,7 @@
PORTNAME= oilwar
PORTVERSION= 1.2.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://www.2ndpoint.fi/projektit/filut/
DISTNAME= OilWar-${PORTVERSION}
@@ -15,11 +15,12 @@ DISTNAME= OilWar-${PORTVERSION}
MAINTAINER= hendrik@scholz.net
COMMENT= Evil army wants to steal your oil
-BROKEN= Incomplete pkg-plist
-DEPRECATED= ${BROKEN}
-EXPIRATION_DATE=2005-09-22
-
USE_SDL= image mixer sdl
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
+post-patch:
+ @${REINPLACE_CMD} -e 's|games/oilwar|${PORTNAME}|g ; \
+ s|/var/games|\$$\(datadir\)/oilwar|g' ${WRKSRC}/Makefile.in
+
.include <bsd.port.mk>
diff --git a/games/oilwar/pkg-plist b/games/oilwar/pkg-plist
index 4a58268d0b29..0d47ec6ab29c 100644
--- a/games/oilwar/pkg-plist
+++ b/games/oilwar/pkg-plist
@@ -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%%