summaryrefslogtreecommitdiff
path: root/games/goonies
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-19 14:10:32 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-19 14:10:32 +0000
commit850c053ceed27da54ce9f951ca2253c4f87b8e59 (patch)
tree478e03fa3c6a0ed0ef94ce6f234646f963551a1d /games/goonies
parent- Switch to options helpers (diff)
- Remove unneeded conditions
- Switch to BROKEN helpers
Notes
Notes: svn path=/head/; revision=394784
Diffstat (limited to 'games/goonies')
-rw-r--r--games/goonies/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/games/goonies/Makefile b/games/goonies/Makefile
index 4d2d4d96f0a5..07f4a59b4385 100644
--- a/games/goonies/Makefile
+++ b/games/goonies/Makefile
@@ -12,6 +12,8 @@ DISTNAME= ${PORTNAME}_r${PORTVERSION:C/\./-/g}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Remake of the 8 bit classic game 'The Goonies'
+BROKEN_sparc64= does not compile on sparc64
+
USES= gmake tar:tgz
USE_SDL= sdl mixer image
USE_GL= yes
@@ -28,12 +30,6 @@ PORTDATA= *
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == "sparc64"
-BROKEN= Does not compile on sparc64
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|sound/|${DATADIR}/sound/|g' \
${WRKSRC}/src/SFXManager.cpp
@@ -47,9 +43,7 @@ do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} \
'sound graphics maps' ${STAGEDIR}${DATADIR}/
-.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}/
-.endif
.include <bsd.port.mk>