aboutsummaryrefslogtreecommitdiff
path: root/games/shaaft
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-01-10 00:22:54 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-01-10 00:22:54 +0000
commit6ea857cbb8fc792cd00f142a365e8e5fbba53f83 (patch)
tree2b3a7f94b41396eaf8e177f0d46425e8d70de65b /games/shaaft
parenta390f203fdc9442aaa74205f49ab4cb73b2c0d5e (diff)
downloadports-6ea857cbb8fc792cd00f142a365e8e5fbba53f83.tar.gz
ports-6ea857cbb8fc792cd00f142a365e8e5fbba53f83.zip
- Drop unneeded PLIST_DIRS
- Switch to BROKEN helpers
Notes
Notes: svn path=/head/; revision=405661
Diffstat (limited to 'games/shaaft')
-rw-r--r--games/shaaft/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/games/shaaft/Makefile b/games/shaaft/Makefile
index 341c35e6e1b7..3353f8eea192 100644
--- a/games/shaaft/Makefile
+++ b/games/shaaft/Makefile
@@ -15,7 +15,9 @@ LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
CONFLICTS= criticalmass-*
-USES= tar:bzip2
+BROKEN_sparc64= does not compile
+
+USES= tar:bzip2
USE_SDL= mixer image sdl
USE_GL= yes
USE_GCC= any
@@ -29,16 +31,9 @@ DATADIR= ${PREFIX}/share/Shaaft
PLIST_FILES= bin/Packer bin/shaaft %%DATADIR%%/resource.dat \
man/man6/shaaft.6.gz
-PLIST_DIRS= %%DATADIR%%
DESKTOP_ENTRIES="Shaaft" "" "" "${PORTNAME}" "" ""
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "sparc64"
-BROKEN= Does not compile on sparc64
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG:T}|g ; \
s|^CXXFLAGS|#CXXFLAGS|g ; \
@@ -49,4 +44,4 @@ post-patch:
's|SDL/SDL|SDL|g'
@${REINPLACE_CMD} -e 's|== 3|>= 3|' ${WRKSRC}/utils/hashMap.hpp
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>