freebsd-ports/games/cutemaze/Makefile
Rusmir Dusko 3464e55508 - Transfer maintainership to games@ team
- Use tar:bzip2 instead of USE_BZIP2=yes
2014-05-06 06:41:55 +00:00

50 lines
1.2 KiB
Makefile

# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= cutemaze
PORTVERSION= 1.1.1
CATEGORIES= games
MASTER_SITES= http://gottcode.org/${PORTNAME}/
DISTNAME= ${PORTNAME}-${DISTVERSION}-src
MAINTAINER= games@FreeBSD.org
COMMENT= Simple, top-down game in which mazes are randomly generated
LICENSE= GPLv3
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= qmake tar:bzip2
USE_QT4= moc_build rcc_build uic_build iconengines_run imageformats_run \
corelib gui svg
INSTALLS_ICONS= yes
PORTDOCS= ChangeLog NEWS README
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
.include <bsd.port.options.mk>
post-patch:
.if ! ${PORT_OPTIONS:MNLS}
@${REINPLACE_CMD} -i '' '/qm.files/,/qm.path/s/^/#/' \
${WRKSRC}/cutemaze.pro
.endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.for d in 16x16 22x22 scalable
@(cd ${WRKSRC}/icons/oxygen && ${COPYTREE_SHARE} ${d} \
${STAGEDIR}${PREFIX}/share/icons/oxygen)
.endfor
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>