summaryrefslogtreecommitdiffstats
path: root/x11/workrave/Makefile
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-10-03 13:29:58 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-10-03 13:29:58 +0800
commit9531e9388eef200bd1ae606e5fbfed4b19615d67 (patch)
tree4612e5a5f00b6162ab4a5130ee3cc6fe540726b1 /x11/workrave/Makefile
parent74152aa244747424357e2de5e4701019c78151e0 (diff)
downloadmarcuscom-ports-9531e9388eef200bd1ae606e5fbfed4b19615d67.tar
marcuscom-ports-9531e9388eef200bd1ae606e5fbfed4b19615d67.tar.gz
marcuscom-ports-9531e9388eef200bd1ae606e5fbfed4b19615d67.tar.bz2
marcuscom-ports-9531e9388eef200bd1ae606e5fbfed4b19615d67.tar.lz
marcuscom-ports-9531e9388eef200bd1ae606e5fbfed4b19615d67.tar.xz
marcuscom-ports-9531e9388eef200bd1ae606e5fbfed4b19615d67.tar.zst
marcuscom-ports-9531e9388eef200bd1ae606e5fbfed4b19615d67.zip
Sync w/ FreeBSD ports.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9719 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/workrave/Makefile')
-rw-r--r--x11/workrave/Makefile49
1 files changed, 28 insertions, 21 deletions
diff --git a/x11/workrave/Makefile b/x11/workrave/Makefile
index 0f0ce6e21..205ecb72b 100644
--- a/x11/workrave/Makefile
+++ b/x11/workrave/Makefile
@@ -6,41 +6,48 @@
#
PORTNAME= workrave
-PORTVERSION= 1.8.3
-PORTREVISION= 2
+PORTVERSION= 1.8.5
+PORTREVISION= 1
CATEGORIES= x11 gnome
MASTER_SITES= SF
-MAINTAINER= infofarmer@FreeBSD.org
+MAINTAINER= garga@FreeBSD.org
COMMENT= A Gnome RSI prevention tool
-.if !defined(WITHOUT_GNOME)
-LIB_DEPENDS= gnomeuimm-2.6.1:${PORTSDIR}/x11-toolkits/libgnomeuimm26
-.else
-LIB_DEPENDS= gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24
-.endif
-.if !defined(WITHOUT_NETWORK)
-LIB_DEPENDS+= gnet-2.0.0:${PORTSDIR}/net/gnet2
-.endif
+OPTIONS= GNOME "Build with Gnome support" on \
+ NETWORK "Build with network support" on
USE_GMAKE= yes
-USE_GETTEXT= yes
USE_GNOME= gnomeprefix gnomehack intlhack gconf2 intltool
-.if !defined(WITHOUT_GNOME)
-USE_GNOME+= gnomepanel
-.endif
USE_GCC= 3.4+
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-gconf
-.if defined(WITHOUT_GNOME)
-CONFIGURE_ARGS+=--disable-gnome
-PLIST_SUB= GNOME="@comment "
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_GNOME)
+LIB_DEPENDS+= gnomeuimm-2.6.1:${PORTSDIR}/x11-toolkits/libgnomeuimm26
+USE_GNOME+= gnomepanel
+PLIST_SUB+= GNOME=""
.else
-PLIST_SUB= GNOME=""
+LIB_DEPENDS+= gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24
+CONFIGURE_ARGS+=--disable-gnome
+PLIST_SUB+= GNOME="@comment "
.endif
-.if defined(WITHOUT_NETWORK)
+
+.if defined(WITH_NETWORK)
+LIB_DEPENDS+= gnet-2.0.0:${PORTSDIR}/net/gnet2
+.else
CONFIGURE_ARGS+=--disable-distribution
.endif
-.include <bsd.port.mk>
+.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>