blob: ff126c099af74b0391be8119e171ae7ca619b977 (
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
59
60
|
# 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
USE_BZIP2= yes
USES= desktop-file-utils gettext iconv pathfix
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= NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
.endif
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>
|