diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2018-06-29 17:49:56 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2018-06-29 17:49:56 +0000 |
commit | 20dd223af70988ab8129c20ff33afc983de4f994 (patch) | |
tree | 01eb11e6eddddcf655508776fafca4948ff386b4 /games/holotz-castle | |
parent | 03ef621f7cfb95e993cdfb45e8627e1aaecf7e84 (diff) | |
download | ports-20dd223af70988ab8129c20ff33afc983de4f994.tar.gz ports-20dd223af70988ab8129c20ff33afc983de4f994.zip |
- Switch to options helpers
- Fix build with clang 6
Notes
Notes:
svn path=/head/; revision=473566
Diffstat (limited to 'games/holotz-castle')
-rw-r--r-- | games/holotz-castle/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/games/holotz-castle/Makefile b/games/holotz-castle/Makefile index 163385dee24e..e245d488be0c 100644 --- a/games/holotz-castle/Makefile +++ b/games/holotz-castle/Makefile @@ -26,6 +26,8 @@ MAKE_ARGS= HC_BASE=${PREFIX}/share/${PORTNAME}/ \ HC_BIN_DIR=${PREFIX}/bin/ MAKE_JOBS_UNSAFE= yes +CXXFLAGS+= -Wno-reserved-user-defined-literal + INSTALLS_ICONS= yes ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128 @@ -41,12 +43,8 @@ OPTIONS_SUB= yes SOLUTIONS_RUN_DEPENDS= mplayer:multimedia/mplayer -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MSOLUTIONS} -DISTFILES+= ${PORTNAME}_solutions${EXTRACT_SUFX} -EXTRACT_ONLY+= ${PORTNAME}_solutions${EXTRACT_SUFX} -.endif +SOLUTIONS_DISTFILES= ${PORTNAME}_solutions${EXTRACT_SUFX} +SOLUTIONS_EXTRACT_ONLY= ${PORTNAME}_solutions${EXTRACT_SUFX} post-install: .for f in ${PORTNAME} ${PORTNAME}-editor @@ -62,12 +60,11 @@ post-install: ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} (cd ${WRKSRC}/man && ${INSTALL_MAN} *.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/) -.if ${PORT_OPTIONS:MSOLUTIONS} +post-install-SOLUTIONS-on: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-solutions ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}-solutions.desktop \ ${STAGEDIR}${DESKTOPDIR} @${MKDIR} ${STAGEDIR}${DATADIR}/solutions @(cd ${WRKDIR} && ${INSTALL_DATA} *.avi ${STAGEDIR}${DATADIR}/solutions) -.endif .include <bsd.port.mk> |