# Created by: Rusmir Dusko # $FreeBSD: head/games/cutemaze/Makefile 540830 2020-06-29 20:36:32Z jhale $ PORTNAME= cutemaze PORTVERSION= 1.2.6 CATEGORIES= games MASTER_SITES= http://gottcode.org/${PORTNAME}/ DISTNAME= ${PORTNAME}-${DISTVERSION}-src MAINTAINER= jhale@FreeBSD.org COMMENT= Simple, top-down game in which mazes are randomly generated LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lang gl qmake qt:5 tar:bzip2 USE_GL= gl USE_QT= core gui svg imageformats_run widgets \ linguisttools_build buildtools_build PORTDOCS= ChangeLog README WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes post-patch: @${REINPLACE_CMD} -e 's|share/man|man|' \ ${WRKSRC}/cutemaze.pro post-patch-NLS-off: @${REINPLACE_CMD} -i '' '/qm.files/,/qm.path/s/^/#/' \ ${WRKSRC}/cutemaze.pro post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include