aboutsummaryrefslogtreecommitdiffstats
path: root/games/blackshadeselite
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2012-06-07 09:51:54 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2012-06-07 09:51:54 +0800
commitc714ebc3f5445cfaa0f2355b6dbc4511eecb304a (patch)
treebc9600c6323f84c764094ab18b267ed174b80c6c /games/blackshadeselite
parent664a3233fec44ff35ebb85439184cdd0ba146d30 (diff)
downloadfreebsd-ports-gnome-c714ebc3f5445cfaa0f2355b6dbc4511eecb304a.tar.gz
freebsd-ports-gnome-c714ebc3f5445cfaa0f2355b6dbc4511eecb304a.tar.zst
freebsd-ports-gnome-c714ebc3f5445cfaa0f2355b6dbc4511eecb304a.zip
- Do not install Apple Double garbage. This also fixes installation on 10.x
Diffstat (limited to 'games/blackshadeselite')
-rw-r--r--games/blackshadeselite/Makefile5
-rw-r--r--games/blackshadeselite/pkg-plist26
2 files changed, 4 insertions, 27 deletions
diff --git a/games/blackshadeselite/Makefile b/games/blackshadeselite/Makefile
index 06d9f061c97d..e98986a159e8 100644
--- a/games/blackshadeselite/Makefile
+++ b/games/blackshadeselite/Makefile
@@ -7,7 +7,7 @@
PORTNAME= blackshadeselite
PORTVERSION= 0.0.1
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= games
MASTER_SITES= http://download.gna.org/blackshadeselite/ \
http://mirror.amdmi3.ru/distfiles/
@@ -29,6 +29,9 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= Readme Readme.elite
+post-extract:
+ @${FIND} ${WRKSRC}/Data -name '._*' -delete
+
post-patch:
@${REINPLACE_CMD} -e '/InitGL/ s|.*|chdir("${DATADIR}"); &|' ${WRKSRC}/Source/Main.cpp
diff --git a/games/blackshadeselite/pkg-plist b/games/blackshadeselite/pkg-plist
index c5d4f7a1b733..bee558ff2a59 100644
--- a/games/blackshadeselite/pkg-plist
+++ b/games/blackshadeselite/pkg-plist
@@ -111,36 +111,10 @@ bin/blackshades
%%DATADIR%%/Data/Sounds/sniperrifle.ogg
%%DATADIR%%/Data/Sounds/underwater.ogg
%%DATADIR%%/Data/Sounds/zombiesong.ogg
-%%DATADIR%%/Data/Textures/._Blood
-%%DATADIR%%/Data/Textures/._Blood.tga
-%%DATADIR%%/Data/Textures/._Blood.tga copy
-%%DATADIR%%/Data/Textures/._BulletHole.tga
-%%DATADIR%%/Data/Textures/._Crater.tga
-%%DATADIR%%/Data/Textures/._Deadpersonsprite.tga
-%%DATADIR%%/Data/Textures/._Flare.tga
-%%DATADIR%%/Data/Textures/._Font.tga
-%%DATADIR%%/Data/Textures/._HitFlash.tga
-%%DATADIR%%/Data/Textures/._MuzzleFlash.tga
-%%DATADIR%%/Data/Textures/._Personsprite.tga
-%%DATADIR%%/Data/Textures/._Scope.tga
-%%DATADIR%%/Data/Textures/._Smoke.tga
-%%DATADIR%%/Data/Textures/._rain.tga
-%%DATADIR%%/Data/Textures/._snow.tga
%%DATADIR%%/Data/Textures/Blood.png
%%DATADIR%%/Data/Textures/Blood.png copy
%%DATADIR%%/Data/Textures/Blood.tga
%%DATADIR%%/Data/Textures/Blood.tga copy
-%%DATADIR%%/Data/Textures/Blood/._Blood1.tga
-%%DATADIR%%/Data/Textures/Blood/._Blood10.tga
-%%DATADIR%%/Data/Textures/Blood/._Blood11.tga
-%%DATADIR%%/Data/Textures/Blood/._Blood2.tga
-%%DATADIR%%/Data/Textures/Blood/._Blood3.tga
-%%DATADIR%%/Data/Textures/Blood/._Blood4.tga
-%%DATADIR%%/Data/Textures/Blood/._Blood5.tga
-%%DATADIR%%/Data/Textures/Blood/._Blood6.tga
-%%DATADIR%%/Data/Textures/Blood/._Blood7.tga
-%%DATADIR%%/Data/Textures/Blood/._Blood8.tga
-%%DATADIR%%/Data/Textures/Blood/._Blood9.tga
%%DATADIR%%/Data/Textures/Blood/Blood1.png
%%DATADIR%%/Data/Textures/Blood/Blood1.tga
%%DATADIR%%/Data/Textures/Blood/Blood10.png