Date: Wed, 11 May 2016 13:06:48 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r414989 - head/games/bouncy Message-ID: <201605111306.u4BD6mfu064418@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed May 11 13:06:48 2016 New Revision: 414989 URL: https://svnweb.freebsd.org/changeset/ports/414989 Log: - Switch to options helpers Modified: head/games/bouncy/Makefile Modified: head/games/bouncy/Makefile ============================================================================== --- head/games/bouncy/Makefile Wed May 11 13:05:34 2016 (r414988) +++ head/games/bouncy/Makefile Wed May 11 13:06:48 2016 (r414989) @@ -27,10 +27,6 @@ USES= python:2 PORTDOCS= README.txt -OPTIONS_DEFINE= DOCS SHADER -SHADER_DESC= Hardware shader support -OPTIONS_DEFAULT= SHADER - INSTALLS_ICONS= yes SUB_FILES= ${PORTNAME} @@ -38,16 +34,18 @@ SUB_FILES= ${PORTNAME} DESKTOP_ENTRIES="Bouncy the Hungry Rabbit" "" "${PORTNAME}" \ "${PORTNAME}" "Game;ArcadeGame;" "" -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS SHADER +OPTIONS_DEFAULT=SHADER + +SHADER_DESC= Hardware shader support post-patch: @${FIND} ${WRKSRC} -name '*.py' | ${XARGS} \ ${REINPLACE_CMD} -e 's|^.*#!.*python.*$$|#!${PYTHON_CMD}|' @${FIND} ${WRKSRC} -name "*.bak" -delete -.if ${PORT_OPTIONS:MSHADER} +post-patch-SHADER-on: @${REINPLACE_CMD} -i '' '/#try/,/# print/s/#//' ${WRKSRC}/objects.py -.endif do-build: @${PYTHON_CMD} -m compileall ${WRKSRC} @@ -68,6 +66,7 @@ do-install: ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605111306.u4BD6mfu064418>