mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
da3162c7c9
Per discussion with bapt on helping pkg handle the changing of these deps and avoiding impossible upgrade senarios. PR: 246767 Reviewed by: manu, bapt Approved by: x11 Differential Revision: https://reviews.freebsd.org/D30824
40 lines
958 B
Makefile
40 lines
958 B
Makefile
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
|
|
|
PORTNAME= cutemaze
|
|
PORTVERSION= 1.2.6
|
|
PORTREVISION= 1
|
|
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 <bsd.port.mk>
|