mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
41 lines
841 B
Makefile
41 lines
841 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
|
|
INSTALLS_ICONS= yes
|
|
|
|
PORTDOCS= CREDITS ChangeLog
|
|
|
|
NO_STAGE= yes
|
|
.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>
|