blob: 13a777fcb4acff944fcc48a3b85ca39ac56c0ae8 (
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
46
|
# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/trunk/accessibility/caribou/Makefile 17268 2013-04-01 05:13:11Z marcus $
PORTNAME= caribou
PORTVERSION= 0.4.3
CATEGORIES= accessibility gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= Gnome On-Screen keyboard
LICENSE= LGPL20
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
LIB_DEPENDS= clutter-glx-1.0:${PORTSDIR}/graphics/clutter \
gee:${PORTSDIR}/devel/libgee06 \
xklavier:${PORTSDIR}/x11/libxklavier
RUN_DEPENDS= py*-atspi>=2.1.91:${PORTSDIR}/accessibility/py-atspi
USE_XZ= yes
USE_GMAKE= yes
MAKE_JOBS_UNSAFE=yes
USES= gettext pathfix pkgconfig
USE_PYTHON= yes
USE_XORG= x11 xtst
USE_GNOME= intltool pygobject3 gtk30 intlhack gnomedocutils libxml2
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-gtk2-module=no
GLIB_SCHEMAS= org.gnome.caribou.gschema.xml \
org.gnome.antler.gschema.xml
post-patch:
@${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|g' \
${WRKSRC}/tools/*.py
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' \
-e 's|$${BASH_SOURCE\[0\]}|.|g' \
${WRKSRC}/bin/antler-keyboard.in \
${WRKSRC}/bin/caribou-preferences.in \
${WRKSRC}/bin/caribou.in
.include <bsd.port.mk>
|