1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/x11/workrave/Makefile
2014-12-22 23:10:18 +00:00

48 lines
1.3 KiB
Makefile

# Created by: Koop Mast <einekoai@chello.nl>
# $FreeBSD$
PORTNAME= workrave
PORTVERSION= 1.10.1
PORTREVISION= 2
CATEGORIES= x11 gnome
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= RSI prevention tool
LICENSE= GPLv3 # (or later)
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cheetah>0:${PORTSDIR}/devel/py-cheetah
LIB_DEPENDS= libgdome.so:${PORTSDIR}/textproc/gdome2
USES= gettext gmake pathfix pkgconfig python
USE_XORG= recordproto x11 xext xmu xscrnsaver xtst
USE_GNOME= intlhack gconf2 gtkmm24
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-silent-rules --enable-gconf --disable-gnome3 \
--disable-indicator
INSTALLS_ICONS= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
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
.include <bsd.port.mk>