1 # Created by: Koop Mast <einekoai@chello.nl>
9 COMMENT= RSI prevention tool
13 LIB_DEPENDS= libgdome.so:textproc/gdome2
15 USES= autoreconf:build gettext gmake libtool pathfix pkgconfig
16 USE_XORG= ice recordproto sm x11 xext xmu xscrnsaver xtst
17 USE_GNOME= intltool intlhack introspection gtkmm30
19 CONFIGURE_ARGS= --disable-silent-rules \
33 GH_TAGNAME= v${PORTVERSION:S/./_/g}
35 CFLAGS+= -I${LOCALBASE}/include
36 LDFLAGS+= -L${LOCALBASE}/lib
38 INSTALL_TARGET= install-strip
40 OPTIONS_DEFINE= DBUS DISTRIBUTION GSTREAMER
41 OPTIONS_DEFAULT= DBUS GSTREAMER
44 DISTRIBUTION_DESC= Build with networking support
46 DBUS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cheetah>0:devel/py-cheetah
47 DBUS_CONFIGURE_ENABLE= dbus
50 DISTRIBUTION_CONFIGURE_ENABLE= distribution
52 GSTREAMER_LIB_DEPENDS= libgstreamer-1.0.so:multimedia/gstreamer1
53 GSTREAMER_CONFIGURE_ENABLE= gstreamer
54 GSTREAMER_USE= gstreamer1=good
56 # Remove gnome-shell cinnamon subdirs from build, so it doesn't install
59 @${REINPLACE_CMD} -e 's| gnome-shell cinnamon | |' \
60 ${WRKSRC}/frontend/applets/Makefile.am
62 # Run bundled autogen.sh instead of relying on USES=autoreconf which
63 # leads to errors like
64 # config.status: error: po/Makefile.in.in was not created by intltoolize.
66 @cd ${WRKSRC} && ./autogen.sh
68 .include <bsd.port.mk>