# Created by: Olivier Cochard-Labbe # $FreeBSD$ PORTNAME= keyboard PORTVERSION= 0.3.1 CATEGORIES= x11 MASTER_SITES= http://www.defora.org/os/download/download/4453/ PKGNAMEPREFIX= deforaos- DISTNAME= Keyboard-${PORTVERSION} MAINTAINER= olivier@FreeBSD.org COMMENT= DeforaOS desktop virtual keyboard LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libDesktop.so:x11/deforaos-libdesktop \ libSystem.so:devel/deforaos-libsystem \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USE_GNOME= gtk20 cairo gdkpixbuf2 USES= desktop-file-utils pkgconfig USE_XORG= x11 xtst MAKE_ARGS+= PREFIX=${PREFIX} OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl post-patch-DOCS-off: ${REINPLACE_CMD} 's|data doc include|data include|' \ ${WRKSRC}/Makefile post-patch-NLS-off: ${REINPLACE_CMD} 's|include po src|include src|' \ ${WRKSRC}/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/keyboardctl \ ${STAGEDIR}${PREFIX}/bin/keyboard \ ${STAGEDIR}${PREFIX}/lib/Desktop/widget/keyboard.so .include