aboutsummaryrefslogtreecommitdiffstats
path: root/games/klavaro/Makefile
blob: ea00b8bd434c5d6fe7473ff122b449d1f17b280f (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
42
43
44
45
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$

PORTNAME=   klavaro
PORTVERSION=    1.9.6
PORTREVISION=   1
CATEGORIES= games
MASTER_SITES=   SF/${PORTNAME}/

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

LICENSE=    GPLv3

LIB_DEPENDS=    pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
        pcre:${PORTSDIR}/devel/pcre \
        curl:${PORTSDIR}/ftp/curl \
        cairo:${PORTSDIR}/graphics/cairo \
        png15:${PORTSDIR}/graphics/png \
        freetype:${PORTSDIR}/print/freetype2 \
        expat:${PORTSDIR}/textproc/expat2 \
        fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
        gtkdatabox:${PORTSDIR}/x11-toolkits/gtkdatabox

USES=       pkgconfig gettext iconv
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_XORG=   pixman x11 xau xcb xcomposite xcursor xdamage xdmcp xext \
        xfixes xi xinerama xrandr xrender
USE_GNOME=  gtk20
USE_LDCONFIG=   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>