aboutsummaryrefslogtreecommitdiff
path: root/german/tipp10/Makefile
blob: b3aa7a392884f6f29ae935e001751536aacf7ac0 (plain) (blame)
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
41
# New ports collection makefile for:	tipp10
# Date created:		2007-11-26
# Whom:			Heiner <h.eichmann@gmx.de>
#
# $FreeBSD$
#

PORTNAME=	tipp10
PORTVERSION=	2.0.1
PORTREVISION=	1
CATEGORIES=	german
MASTER_SITES=	http://www.tipp10.de/download/
DISTNAME=	tipp10_source_v2-0-1

MAINTAINER=	h.eichmann@gmx.de
COMMENT=	A 10 finger touch typing learning program

RUN_DEPENDS=	${LOCALBASE}/lib/qt4/plugins/sqldrivers/libqsqlsqlite2.so:${PORTSDIR}/databases/qt4-sqlite-plugin \
		${LOCALBASE}/lib/qt4/plugins/sqldrivers/libqsqlsqlite.so:${PORTSDIR}/databases/qt4-sqlite3-plugin

USE_ZIP=	yes
USE_QT_VER=	4
QT_COMPONENTS=	qmake sql corelib network script qtestlib rcc uic moc gui
WRKSRC=		${WRKDIR}/source

do-configure:
	@cd ${WRKSRC} \
	&&  ${SETENV} ${MAKE_ENV} ${QMAKE} -spec ${QMAKESPEC}

do-install:
	${INSTALL_DATA} -d ${DATADIR}/help/img
	${INSTALL_DATA} -d ${DATADIR}/help/content
	${INSTALL_PROGRAM} ${WRKSRC}/tipp10 ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/tipp10v2.template ${WRKSRC}/license.txt ${WRKSRC}/wrong.wav ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/help/content/* ${DATADIR}/help/content
	${INSTALL_DATA} ${WRKSRC}/help/img/* ${DATADIR}/help/img
	${INSTALL_DATA} ${WRKSRC}/help/index.html ${DATADIR}/help
	${INSTALL_DATA} ${WRKSRC}/help/Thumbs.db ${DATADIR}/help
	${LN} -s ${DATADIR}/tipp10 ${PREFIX}/bin

.include <bsd.port.mk>