blob: a37770cb216ea8973e42456e588e698584bd553d (
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
47
48
49
50
51
52
53
54
55
56
57
58
|
# Created by: Kris Moore <kmoore@FreeBSD.org>
# $FreeBSD$
PORTNAME= florence
PORTVERSION= 0.6.0
CATEGORIES= x11
MASTER_SITES= SF/florence/florence/${PORTVERSION}/
MAINTAINER= nemysis@gmx.ch
COMMENT= Extensible scalable virtual keyboard
LICENSE= GPLv2 GFDL
LICENSE_COMB= dual
LIB_DEPENDS= notify:${PORTSDIR}/devel/libnotify
BUILD_DEPENDS= ${LOCALBASE}/libexec/at-spi2-registryd:${PORTSDIR}/accessibility/at-spi2-core
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_BZIP2= yes
USES= desktop-file-utils iconv pathfix pkgconfig
USE_XORG= xtst xext
USE_GNOME= gtk30 cairo intlhack gnomedocutils librsvg2
USE_GSTREAMER= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--prefix=${LOCALBASE}
USE_GMAKE= yes
USE_LDCONFIG= yes
INSTALLS_OMF= yes
GLIB_SCHEMAS= org.florence.gschema.xml
MAN1= ${PORTNAME}.1 ${PORTNAME}_applet.1
PORTDOCS= AUTHORS ChangeLog NEWS README
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|^Categories=.*|Categories=Application;Accessibility;System;|' \
${WRKSRC}/data/florence.desktop.in.in
.if ! ${PORT_OPTIONS:MNLS}
@${REINPLACE_CMD} -e 's|^ALL_LINGUAS.*|ALL_LINGUAS =|' \
${WRKSRC}/po/Makefile.in.in
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>
|