4d682966dd
- BUILD_DEPENDS is RUN_DEPENDS as well - Add DOCS option - Use OPTIONS_SUB PR: ports/180113 Submitted by: nemysis <nemysis@gmx.ch> (maintainer)
57 lines
1.3 KiB
Makefile
57 lines
1.3 KiB
Makefile
# 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
|
|
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
|
|
|
|
.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>
|