aboutsummaryrefslogtreecommitdiff
path: root/games/klavaro/Makefile
blob: 5ecfd395d5c3d0903267b195d4b33c17921011d3 (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
# New ports collection makefile for:	klavaro
# Date created:		26 March 2007
# Whom:			Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	klavaro
PORTVERSION=	1.9.0
CATEGORIES=	games
MASTER_SITES=	SF/${PORTNAME}/

MAINTAINER=	h.skuhra@gmail.com
COMMENT=	Touchtyping trainer

LIB_DEPENDS=	curl.6:${PORTSDIR}/ftp/curl \
		gtkdatabox-0.9.0.1:${PORTSDIR}/x11-toolkits/gtkdatabox

LICENSE=	GPLv3

USE_GMAKE=	yes
USE_BZIP2=	yes
USE_GNOME=	gtk20
USE_LDCONFIG=	yes
USE_GETTEXT=	yes
INSTALLS_ICONS=	yes

CPPFLAGS=	-I${LOCALBASE}/include -I${LOCALBASE}/include/gtkdatabox
LDFLAGS=	-L${LOCALBASE}/lib -export-dynamic

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

MAN1=		${PORTNAME}.1

post-extract:
	@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' \
		${WRKSRC}/data/klavaro.desktop.in

.include <bsd.port.mk>