e188928ba2
- Switch to options helpers
34 lines
700 B
Makefile
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>
|