aboutsummaryrefslogtreecommitdiffstats
path: root/games/oilwar/Makefile
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2005-07-24 11:45:44 +0800
committermezz <mezz@FreeBSD.org>2005-07-24 11:45:44 +0800
commit91421ded7a02c0a7a2d96dd4f46ec37fcc74f02f (patch)
tree899a9e9c0a9240b08c3c50fddd53d7800cf4e1cb /games/oilwar/Makefile
parentd03d34ce77efae3b0c94e0b371c388d54bf7ae74 (diff)
downloadfreebsd-ports-gnome-91421ded7a02c0a7a2d96dd4f46ec37fcc74f02f.tar.gz
freebsd-ports-gnome-91421ded7a02c0a7a2d96dd4f46ec37fcc74f02f.tar.zst
freebsd-ports-gnome-91421ded7a02c0a7a2d96dd4f46ec37fcc74f02f.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>
Diffstat (limited to 'games/oilwar/Makefile')
-rw-r--r--games/oilwar/Makefile11
1 files changed, 6 insertions, 5 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>