diff --git a/x11/florence/Makefile b/x11/florence/Makefile index b777b10f8022..be1b2286fbd9 100644 --- a/x11/florence/Makefile +++ b/x11/florence/Makefile @@ -1,47 +1,56 @@ PORTNAME= florence PORTVERSION= 0.6.3 PORTREVISION= 5 CATEGORIES= x11 MASTER_SITES= SF/florence/florence/${PORTVERSION}/ MAINTAINER= ports@FreeBSD.org COMMENT= Extensible scalable virtual keyboard WWW= http://florence.sourceforge.net/ LICENSE= GPLv2+ GFDL LICENSE_COMB= multi LIB_DEPENDS= libnotify.so:devel/libnotify USES= gmake gnome gstreamer iconv libtool pathfix pkgconfig tar:bzip2 xorg -USE_XORG= xtst xext USE_GNOME= gtk30 cairo intlhack librsvg2 +USE_LDCONFIG= yes +USE_XORG= xtst xext + GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static --without-docs -USE_LDCONFIG= yes + GLIB_SCHEMAS= org.florence.gschema.xml + INSTALL_TARGET= install-strip MAKE_JOBS_UNSAFE= yes PORTDOCS= AUTHORS ChangeLog NEWS README OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: @${REINPLACE_CMD} -e 's|^Categories=.*|Categories=Application;Accessibility;System;|' \ ${WRKSRC}/data/florence.desktop.in.in post-patch-NLS-off: @${REINPLACE_CMD} -e 's|^ALL_LINGUAS.*|ALL_LINGUAS =|' \ ${WRKSRC}/po/Makefile.in.in post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include