blob: a772ba762157c6e2f9eee8efd687aebde6daffbf (
plain)
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
|
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
PORTNAME= klavaro
PORTVERSION= 3.11
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/
MAINTAINER= fluffy@FreeBSD.org
COMMENT= Touchtyping trainer
LICENSE= GPLv3
LIB_DEPENDS= libcurl.so:ftp/curl
USES= gettext gmake gnome iconv pkgconfig tar:bzip2
USE_GNOME= cairo gtk30 intlhack
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -rdynamic
LIBS+= -L${LOCALBASE}/lib
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
post-install:
@${RM} -r ${STAGEDIR}${PREFIX}/lib
.include <bsd.port.mk>
|