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

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

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

LICENSE=    GPLv3

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

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

GNU_CONFIGURE=  yes

MAN1=       ${PORTNAME}.1

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

.include <bsd.port.mk>