blob: e4b8a12add49678b3e3b0c764709dedab2c8b7f0 (
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.9
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/
MAINTAINER= h.skuhra@gmail.com
COMMENT= Touchtyping trainer
LICENSE= GPLv3
LIB_DEPENDS= libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs \
libpcre.so:${PORTSDIR}/devel/pcre \
libcurl.so:${PORTSDIR}/ftp/curl \
libcairo.so:${PORTSDIR}/graphics/cairo \
libpng15.so:${PORTSDIR}/graphics/png \
libfreetype.so:${PORTSDIR}/print/freetype2 \
libexpat.so:${PORTSDIR}/textproc/expat2 \
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
libgtkdatabox.so:${PORTSDIR}/x11-toolkits/gtkdatabox
USES= pkgconfig gettext gmake iconv pathfix tar:bzip2
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 -rdynamic
GNU_CONFIGURE= yes
post-extract:
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' \
${WRKSRC}/data/klavaro.desktop.in
pre-build:
@${REINPLACE_CMD} -e 's|^am__append_1|#am__append_1|' \
${WRKSRC}/src/Makefile
.include <bsd.port.mk>
|