blob: d4dabe1d2f87096ebb86db7c8e04edf28a38300c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= cutemaze
PORTVERSION= 1.2.4
PORTREVISION= 2
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 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>
|