From now on, ports that depend on Qt4 will have to set USES= qt:4 USE_QT= foo bar ports depending on Qt5 will use USES= qt:5 USE_QT= foo bar PR: 229225 Exp-run by: antoine Reviewed by: mat Approved by: portmgr (antoine) Differential Revision: →https://reviews.freebsd.org/D15540
39 lines
839 B
Makefile
39 lines
839 B
Makefile
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gottet
|
|
PORTVERSION= 1.1.5
|
|
DISTVERSIONSUFFIX= -src
|
|
CATEGORIES= games
|
|
MASTER_SITES= https://gottcode.org/gottet/
|
|
|
|
MAINTAINER= jhale@FreeBSD.org
|
|
COMMENT= Tetris clone
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= compiler:c++11-lib qmake qt:5 tar:bzip2
|
|
USE_GL= gl
|
|
USE_QT= core gui widgets \
|
|
buildtools_build linguisttools_build
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|share/man|man|' ${WRKSRC}/gottet.pro
|
|
|
|
post-patch-NLS-off:
|
|
@${REINPLACE_CMD} -e \
|
|
'/INSTALLS/s|qm||' ${WRKSRC}/gottet.pro
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} CREDITS ChangeLog NEWS README \
|
|
${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|