2013-05-26 18:18:04 +02:00
|
|
|
# Created by: Tobias Kortkamp <tobias.kortkamp@gmail.com>
|
2013-02-15 02:51:30 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= easystroke
|
2013-05-26 18:18:04 +02:00
|
|
|
PORTVERSION= 0.6.0
|
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
2018-12-12 02:35:33 +01:00
|
|
|
PORTREVISION= 16
|
2013-02-15 02:51:30 +01:00
|
|
|
CATEGORIES= deskutils
|
2016-05-18 15:18:52 +02:00
|
|
|
MASTER_SITES= SF
|
2013-02-15 02:51:30 +01:00
|
|
|
|
2017-03-13 16:08:55 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-02-15 02:51:30 +01:00
|
|
|
COMMENT= Easystroke is a gesture-recognition application for X11
|
|
|
|
|
2013-05-26 18:18:04 +02:00
|
|
|
LICENSE= ISCL
|
2016-05-18 15:18:52 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2013-05-26 18:18:04 +02:00
|
|
|
|
2018-06-18 05:49:09 +02:00
|
|
|
BROKEN_powerpc64= fails to build: handler.cc:560:27: call of overloaded 'abs(float&)' is ambiguous
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
BUILD_DEPENDS= help2man:misc/help2man \
|
|
|
|
${LOCALBASE}/include/xorg/xserver-properties.h:x11-servers/xorg-server
|
2017-05-30 20:33:57 +02:00
|
|
|
LIB_DEPENDS= libdbus-1.so:devel/dbus \
|
2016-04-01 16:00:51 +02:00
|
|
|
libdbus-glib-1.so:devel/dbus-glib \
|
|
|
|
libboost_serialization.so:devel/boost-libs
|
2013-02-15 02:51:30 +01:00
|
|
|
|
2018-06-18 05:49:09 +02:00
|
|
|
USES= compiler:c++11-lang gettext gmake pkgconfig
|
2017-05-30 20:33:57 +02:00
|
|
|
USE_GNOME= gtkmm30
|
|
|
|
USE_XORG= x11 xext xfixes xi xtst
|
|
|
|
USE_CXXSTD= c++11
|
2013-02-15 02:51:30 +01:00
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= NLS
|
2016-05-18 15:18:52 +02:00
|
|
|
OPTIONS_SUB= yes
|
2013-02-15 02:51:30 +01:00
|
|
|
|
2016-05-18 15:18:52 +02:00
|
|
|
NLS_BUILD_DEPENDS= intltool-merge:textproc/intltool
|
|
|
|
NLS_ALL_TARGET= easystroke.desktop all man
|
2013-02-15 02:51:30 +01:00
|
|
|
# This builds easystroke without translations
|
2016-05-18 15:18:52 +02:00
|
|
|
NLS_ALL_TARGET_OFF= man
|
|
|
|
|
2013-02-15 02:51:30 +01:00
|
|
|
# Create a .desktop file without translations.
|
|
|
|
# It's usually created by intltool-merge during the build.
|
2016-05-18 15:18:52 +02:00
|
|
|
pre-build-NLS-off:
|
2013-02-15 02:51:30 +01:00
|
|
|
@${CP} ${WRKSRC}/${PORTNAME}.desktop.in ${WRKSRC}/${PORTNAME}.desktop
|
|
|
|
|
|
|
|
do-install:
|
2014-01-26 14:48:06 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.svg ${STAGEDIR}${PREFIX}/share/pixmaps/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
2013-02-15 02:51:30 +01:00
|
|
|
|
2016-05-18 15:18:52 +02:00
|
|
|
do-install-NLS-on:
|
2013-05-26 18:18:04 +02:00
|
|
|
(cd ${WRKSRC}/po/ && \
|
2014-01-26 14:48:06 +01:00
|
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/locale/ "-name *.mo")
|
2013-02-15 02:51:30 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|