Tweak games/cutemaze version 1.1.0_3
[dports.git] / games / cutemaze / Makefile
1 # $FreeBSD: games/cutemaze/Makefile 327730 2013-09-20 17:36:33Z bapt $
2
3 PORTNAME=       cutemaze
4 PORTVERSION=    1.1.0
5 PORTREVISION=   3
6 CATEGORIES=     games
7 MASTER_SITES=   http://gottcode.org/${PORTNAME}/
8 DISTNAME=       ${PORTNAME}-${DISTVERSION}-src
9
10 MAINTAINER=     nemysis@gmx.ch
11 COMMENT=        Simple, top-down game in which mazes are randomly generated
12
13 LICENSE=        GPLv3
14
15 WRKSRC=         ${WRKDIR}/${PORTNAME}-${PORTVERSION}
16
17 USE_BZIP2=      yes
18 USE_QT4=        moc_build qmake_build rcc_build uic_build iconengines imageformats
19 INSTALLS_ICONS= yes
20
21 PORTDOCS=       ChangeLog README
22
23 NO_STAGE=       yes
24 .include <bsd.port.options.mk>
25
26 do-configure:
27         @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
28                 ${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX} ${WRKSRC}/${PORTNAME}.pro
29
30 post-install:
31 # Icons
32         @(cd ${WRKSRC}/icons && ${COPYTREE_SHARE} oxygen ${PREFIX}/share/icons/)
33
34 # Pixmaps
35         ${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.png ${PREFIX}/share/pixmaps/
36
37 # Documentation
38 .if ${PORT_OPTIONS:MDOCS}
39         ${MKDIR} ${DOCSDIR}
40 .  for f in ${PORTDOCS}
41         ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
42 .  endfor
43 .endif
44
45 .include <bsd.port.mk>