freebsd-ports/games/gottet/Makefile
Pawel Pekala 56a261dfe6 - Update to version 1.0.5 [1]
- Respect CFLAGS

PR:		ports/176588 [1]
Submitted by:	nemysis <nemysis@gmx.ch> (maintainer)
2013-03-01 18:11:10 +00:00

40 lines
847 B
Makefile

# Created by: nemysis@gmx.ch
# $FreeBSD$
PORTNAME= gottet
PORTVERSION= 1.0.5
CATEGORIES= games
MASTER_SITES= http://gottcode.org/${PORTNAME}/
EXTRACT_SUFX= -src.tar.bz2
MAINTAINER= nemysis@gmx.ch
COMMENT= Tetris clone
LICENSE= GPLv3
USE_BZIP2= yes
USE_QT4= moc_build qmake_build rcc_build iconengines imageformats
MAKE_JOBS_SAFE= yes
INSTALLS_ICONS= yes
PORTDOCS= CREDITS ChangeLog
.include <bsd.port.options.mk>
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
post-configure:
@${REINPLACE_CMD} 's|-O2 -Wall|-Wall|g' \
${WRKSRC}/Makefile
post-install:
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps/
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>