summaryrefslogtreecommitdiff
path: root/games/auralquiz/Makefile
blob: cadc6ac697957f153e2edce1f4be5bc8d6416338 (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
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$

PORTNAME=	auralquiz
PORTVERSION=	1.0.0
DISTVERSIONPREFIX=	v
PORTREVISION=	3
CATEGORIES=	games
MASTER_SITES=	SAVANNAH

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Simple music quiz game using your own music files

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libtag.so:audio/taglib

USES=		compiler:c++11-lang qmake qt:5
USE_GL=		gl
USE_QT=		core gui widgets phonon4 qmake_build buildtools_build

PORTDOCS=	CHANGELOG README TODO

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|; \
		s|%%MAN6PREFIX%%|${MAN6PREFIX}|' \
		${WRKSRC}/Auralquiz.pro

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor

.include <bsd.port.mk>