freebsd-ports/games/gottet/Makefile
Dmitry Marakasov d3d3d75b79 - Simplify Makefile
PR:		171363
Submitted by:	nemysis <nemysis@gmx.ch> (maintainer)
Feature safe:	yes
2012-11-28 23:41:21 +00:00

39 lines
773 B
Makefile

# Created by: nemysis@gmx.ch
# $FreeBSD$
PORTNAME= gottet
PORTVERSION= 1.0.4
PORTREVISION= 1
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= ChangeLog
.include <bsd.port.options.mk>
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
post-install:
# Pixmaps
${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.png ${PREFIX}/share/pixmaps/
# Documentation
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
.endif
.include <bsd.port.mk>