diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-08-20 20:22:42 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-08-20 20:22:42 +0000 |
commit | aade76271be960bd63c1e331d6d3098072862998 (patch) | |
tree | 996c3fc9ac89ee5fd85dcf86c721dd8597d49bf0 /games | |
parent | 08f2714782a6a3f8b51c7362c489f75f8d414ae0 (diff) | |
download | ports-aade76271be960bd63c1e331d6d3098072862998.tar.gz ports-aade76271be960bd63c1e331d6d3098072862998.zip |
Notes
Diffstat (limited to 'games')
-rw-r--r-- | games/moonlander/Makefile | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/games/moonlander/Makefile b/games/moonlander/Makefile index 7dfe417264e7..dbdc4649364d 100644 --- a/games/moonlander/Makefile +++ b/games/moonlander/Makefile @@ -17,26 +17,22 @@ USE_SDL= mixer image sdl WRKSRC= ${WRKDIR}/moon-lander -SOUNDS= sounds - PLIST_FILES= bin/${PORTNAME} PORTDATA= * OPTIONS_DEFINE= SOUND OPTIONS_DEFAULT=SOUND -.include <bsd.port.options.mk> - -.if ! ${PORT_OPTIONS:MSOUND} -SOUNDS= # empty -CFLAGS+= -DNOSOUND -.endif +SOUND_CFLAGS_OFF= -DNOSOUND do-configure: @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/moon_lander.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/moonlander ${STAGEDIR}${PREFIX}/bin/ - cd ${WRKSRC} && ${COPYTREE_SHARE} "fonts images ${SOUNDS}" ${STAGEDIR}${DATADIR}/ + cd ${WRKSRC} && ${COPYTREE_SHARE} "fonts images" ${STAGEDIR}${DATADIR}/ + +post-install-SOUND-on: + cd ${WRKSRC} && ${COPYTREE_SHARE} sounds ${STAGEDIR}${DATADIR}/ .include <bsd.port.mk> |