blob: a205dbfe75b9356eccef9f7c85e3a15296add567 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= gottet
PORTVERSION= 1.1.7
PORTREVISION= 3
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 README \
${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
|