Date: Tue, 5 Feb 2019 13:47:24 +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: r492211 - head/games/digger-vgl Message-ID: <201902051347.x15DlO6d004414@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue Feb 5 13:47:24 2019 New Revision: 492211 URL: https://svnweb.freebsd.org/changeset/ports/492211 Log: - Switch to options helpers - Convert USE_SDL=yes to USE_SDL=sdl - Switch to options helpers - Convert build-time echo into pkg-message Added: head/games/digger-vgl/pkg-message.sound (contents, props changed) Modified: head/games/digger-vgl/Makefile Modified: head/games/digger-vgl/Makefile ============================================================================== --- head/games/digger-vgl/Makefile Tue Feb 5 13:41:36 2019 (r492210) +++ head/games/digger-vgl/Makefile Tue Feb 5 13:47:24 2019 (r492211) @@ -16,25 +16,19 @@ MAKEFILE= Makefile.fbsd OPTIONS_DEFINE= SOUND DOCS -.include <bsd.port.options.mk> +SOUND_USE= SDL=sdl +SOUND_MAKE_ENV= SOUND=yes +SOUND_VARS= PKGMESSAGE=${PKGDIR}/pkg-message.sound -.if ${PORT_OPTIONS:MSOUND} -USE_SDL= yes -MAKE_ENV= SOUND=yes -.endif - post-patch: @${REINPLACE_CMD} -e 's|Software|Software\\n\\|g' ${WRKSRC}/alpha.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/digger ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}/var/games/digger + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/digger.txt ${STAGEDIR}${DOCSDIR} -.if ${PORT_OPTIONS:MSOUND} - @${ECHO_MSG} - @${ECHO_MSG} "Use \"digger /A\" command to run Digger with sound enabled." - @${ECHO_MSG} -.endif .include <bsd.port.mk> Added: head/games/digger-vgl/pkg-message.sound ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/digger-vgl/pkg-message.sound Tue Feb 5 13:47:24 2019 (r492211) @@ -0,0 +1 @@ +Use "digger /A" command to run Digger with sound enabled.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902051347.x15DlO6d004414>