aboutsummaryrefslogtreecommitdiff
path: root/games/blinkensisters
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-24 00:00:30 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-24 00:00:30 +0000
commitac5c8903670cd6ff951ef0b111b7f8443000b56c (patch)
tree055ea08ad1eea47fcd9986e2a3cd4415ef8c9b96 /games/blinkensisters
parentdfe369a605828458dabe425888ebcfa8e4891f0c (diff)
downloadports-ac5c8903670cd6ff951ef0b111b7f8443000b56c.tar.gz
ports-ac5c8903670cd6ff951ef0b111b7f8443000b56c.zip
Notes
Diffstat (limited to 'games/blinkensisters')
-rw-r--r--games/blinkensisters/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/games/blinkensisters/Makefile b/games/blinkensisters/Makefile
index 552b05741bc7..4fc409ee0203 100644
--- a/games/blinkensisters/Makefile
+++ b/games/blinkensisters/Makefile
@@ -10,6 +10,8 @@ MASTER_SITES= SF/${PORTNAME}/Blinkensisters%20-%20Lost%20Pixels/LostPixels%20${P
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Parallax-style 2D scrolling platform game
+BROKEN_sparc64= does not compile on sparc64
+
USE_SDL= sdl image ttf
USE_PERL5= build
USES= cmake perl5 compiler:c++11-lang # actually, old gcc fails in theora.h
@@ -49,10 +51,6 @@ THEORA_LIB_DEPENDS= libtheora.so:${PORTSDIR}/multimedia/libtheora
.include <bsd.port.options.mk>
-.if ${ARCH} == "sparc64"
-BROKEN= Does not compile on sparc64
-.endif
-
.if ${PORT_OPTIONS:MADDONS}
DISTNAME= LostPixels-${PORTVERSION}-source-with-addons
PKGNAMESUFFIX= -with-addons
@@ -64,18 +62,16 @@ post-patch:
@${REINPLACE_CMD} -e 's|share/blinkensisters|${DATADIR:S,${PREFIX}/,,}|; \
s|share/doc/blinkensisters|${DOCSDIR:S,${PREFIX}/,,}|' \
${WRKSRC}/CMakeLists.txt
-.if ${PORT_OPTIONS:MADDONS}
+
+post-patch-ADDONS-on:
@${FIND} ${ADDONS_WRKSRC} -name "Makefile" | ${XARGS} \
${REINPLACE_CMD} -e 's|bmfcompress|${WRKSRC}/&|'
-.endif
-.if ${PORT_OPTIONS:MADDONS}
-post-build:
+post-build-ADDONS-on:
cd ${ADDONS_WRKSRC} && ${MAKE}
-post-install:
+post-install-ADDONS-on:
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${ADDONS_WRKSRC}/for_upload/*.bmf ${STAGEDIR}${DATADIR}/
-.endif
.include <bsd.port.mk>