2013-03-22 09:16:07 +01:00
|
|
|
# Created by: Koop Mast <einekoai@chello.nl>
|
2003-07-18 06:54:29 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= workrave
|
2014-06-14 07:59:13 +02:00
|
|
|
PORTVERSION= 1.10.1
|
2014-12-23 00:10:18 +01:00
|
|
|
PORTREVISION= 2
|
2003-07-18 06:54:29 +02:00
|
|
|
CATEGORIES= x11 gnome
|
2006-07-31 00:46:04 +02:00
|
|
|
MASTER_SITES= SF
|
2003-07-18 06:54:29 +02:00
|
|
|
|
2014-05-23 19:18:56 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-01-23 00:13:41 +01:00
|
|
|
COMMENT= RSI prevention tool
|
2010-03-25 20:06:36 +01:00
|
|
|
|
2014-06-14 07:59:13 +02:00
|
|
|
LICENSE= GPLv3 # (or later)
|
2003-07-18 06:54:29 +02:00
|
|
|
|
2014-06-14 07:59:13 +02:00
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cheetah>0:${PORTSDIR}/devel/py-cheetah
|
|
|
|
LIB_DEPENDS= libgdome.so:${PORTSDIR}/textproc/gdome2
|
2003-07-18 06:54:29 +02:00
|
|
|
|
2014-10-19 20:16:15 +02:00
|
|
|
USES= gettext gmake pathfix pkgconfig python
|
2014-06-14 07:59:13 +02:00
|
|
|
USE_XORG= recordproto x11 xext xmu xscrnsaver xtst
|
2014-12-23 00:10:18 +01:00
|
|
|
USE_GNOME= intlhack gconf2 gtkmm24
|
2003-07-18 06:54:29 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2014-06-14 07:59:13 +02:00
|
|
|
CONFIGURE_ARGS= --disable-silent-rules --enable-gconf --disable-gnome3 \
|
|
|
|
--disable-indicator
|
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-09-25 17:18:27 +02:00
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
2014-06-14 07:59:13 +02:00
|
|
|
|
|
|
|
OPTIONS_DEFINE= GNOME GSTREAMER PULSEAUDIO
|
|
|
|
OPTIONS_DEFAULT= GSTREAMER
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
GNOME_USE= gnome=gnomepanel
|
|
|
|
GNOME_LIB_DEPENDS= libgnomeuimm-2.6.so:${PORTSDIR}/x11-toolkits/libgnomeuimm26
|
|
|
|
GNOME_CONFIGURE_ENABLE= gnome2
|
|
|
|
GSTREAMER_USE= gstreamer=good
|
|
|
|
GSTREAMER_CONFIGURE_ENABLE= gstreamer
|
|
|
|
PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio
|
|
|
|
PULSEAUDIO_CONFIGURE_ENABLE= pulse
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/if test/s|==|=|' ${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's| gnome-shell$$||' ${WRKSRC}/frontend/applets/Makefile.in
|
2007-10-01 18:18:00 +02:00
|
|
|
|
2013-03-22 09:16:07 +01:00
|
|
|
.include <bsd.port.mk>
|