2006-05-08 09:42:13 +02:00
|
|
|
# New ports collection makefile for: workrave
|
|
|
|
# Date created: 15 Jul 2003
|
|
|
|
# Whom: Koop Mast <einekoai@chello.nl>
|
2003-07-18 06:54:29 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= workrave
|
2011-05-31 02:28:59 +02:00
|
|
|
PORTVERSION= 1.9.4
|
2013-01-23 16:00: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
|
|
|
|
2010-03-25 20:06:36 +01:00
|
|
|
MAINTAINER= lx@FreeBSD.org
|
2013-01-23 00:13:41 +01:00
|
|
|
COMMENT= RSI prevention tool
|
2010-03-25 20:06:36 +01:00
|
|
|
|
|
|
|
BUILD_DEPENDS= gdome-config:${PORTSDIR}/textproc/gdome2
|
2003-07-18 06:54:29 +02:00
|
|
|
|
2010-03-26 00:28:36 +01:00
|
|
|
OPTIONS= GNOME "Build with Gnome support" off \
|
|
|
|
NETWORK "Build with network support" off
|
2003-07-18 06:54:29 +02:00
|
|
|
|
2011-05-31 02:28:59 +02:00
|
|
|
INSTALLS_ICONS= yes
|
2013-01-23 00:13:41 +01:00
|
|
|
DESKTOP_ENTRIES= "Workrave" "RSI prevention tool" \
|
2010-03-25 20:06:36 +01:00
|
|
|
"${DATADIR}/images/workrave-icon-small.png" \
|
|
|
|
"workrave" \
|
2013-01-23 00:13:41 +01:00
|
|
|
"Utility;" \
|
|
|
|
false
|
2010-03-25 20:06:36 +01:00
|
|
|
|
2010-03-26 00:28:36 +01:00
|
|
|
USE_XORG= x11 xmu recordproto xtst xext
|
2003-07-18 06:54:29 +02:00
|
|
|
USE_GMAKE= yes
|
2009-03-28 18:53:24 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2006-06-13 15:25:07 +02:00
|
|
|
USE_GNOME= gnomeprefix gnomehack intlhack gconf2 intltool
|
2010-03-25 20:32:41 +01:00
|
|
|
USE_GSTREAMER= good
|
2003-07-18 06:54:29 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CONFIGURE_ENV= LIBS="`pkg-config --libs libgnomeui-2.0`"
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2011-05-31 02:28:59 +02:00
|
|
|
CONFIGURE_ARGS= --enable-gconf --disable-pulse
|
2007-10-01 18:18:00 +02:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2010-07-05 21:37:29 +02:00
|
|
|
LIB_DEPENDS+= gdome.8:${PORTSDIR}/textproc/gdome2
|
2007-10-01 18:18:00 +02:00
|
|
|
|
|
|
|
.if defined(WITH_GNOME)
|
|
|
|
LIB_DEPENDS+= gnomeuimm-2.6.1:${PORTSDIR}/x11-toolkits/libgnomeuimm26
|
|
|
|
USE_GNOME+= gnomepanel
|
|
|
|
PLIST_SUB+= GNOME=""
|
2006-06-13 15:25:07 +02:00
|
|
|
.else
|
2007-10-01 18:18:00 +02:00
|
|
|
LIB_DEPENDS+= gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24
|
|
|
|
CONFIGURE_ARGS+=--disable-gnome
|
|
|
|
PLIST_SUB+= GNOME="@comment "
|
2006-06-13 15:25:07 +02:00
|
|
|
.endif
|
2007-10-01 18:18:00 +02:00
|
|
|
|
|
|
|
.if defined(WITH_NETWORK)
|
|
|
|
LIB_DEPENDS+= gnet-2.0.0:${PORTSDIR}/net/gnet2
|
|
|
|
.else
|
2006-06-13 15:25:07 +02:00
|
|
|
CONFIGURE_ARGS+=--disable-distribution
|
|
|
|
.endif
|
2003-07-18 06:54:29 +02:00
|
|
|
|
2007-10-01 18:18:00 +02:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|