From 7f467f319f4da7cb21c4ca644f19bf2f12c633f5 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Mon, 24 Aug 2015 00:00:30 +0000 Subject: - Switch to options helpers --- games/blinkensisters/Makefile | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'games') 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 -.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 -- cgit