freebsd-ports/games/gottet/Makefile
Dmitry Marakasov e188928ba2 - Add LICENSE_FILE
- Switch to options helpers
2016-12-11 09:00:48 +00:00

34 lines
700 B
Makefile

# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= gottet
PORTVERSION= 1.1.1
DISTVERSIONSUFFIX= -src
CATEGORIES= games
MASTER_SITES= http://gottcode.org/gottet/
MAINTAINER= ports@FreeBSD.org
COMMENT= Tetris clone
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= compiler:c++11-lib qmake tar:bzip2
USE_QT5= buildtools_build widgets
INSTALLS_ICONS= yes
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
's|share/man|man|' ${WRKSRC}/gottet.pro
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} CREDITS ChangeLog NEWS README \
${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>