summaryrefslogtreecommitdiffstats
path: root/x11/workrave
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
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')
-rw-r--r--x11/workrave/Makefile49
-rw-r--r--x11/workrave/distinfo6
-rw-r--r--x11/workrave/files/patch-frontend__common__src__System.cc10
-rw-r--r--x11/workrave/pkg-plist45
4 files changed, 69 insertions, 41 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>
diff --git a/x11/workrave/distinfo b/x11/workrave/distinfo
index abc58ffe2..cc32715a1 100644
--- a/x11/workrave/distinfo
+++ b/x11/workrave/distinfo
@@ -1,3 +1,3 @@
-MD5 (workrave-1.8.3.tar.gz) = e1fe49f6fdf9d725bd21d50e2e0dc20d
-SHA256 (workrave-1.8.3.tar.gz) = 411487f55d7e15e68618d30f9931bffafb3154cac36d7ea15ea5f80c3bbac10f
-SIZE (workrave-1.8.3.tar.gz) = 1604897
+MD5 (workrave-1.8.5.tar.gz) = 3df48ab5600256fadc11a976f15bcc7a
+SHA256 (workrave-1.8.5.tar.gz) = 4a2f8f16f015fcec4446953421c8e12cdb41391a6da0e63d04d17b30534a0c56
+SIZE (workrave-1.8.5.tar.gz) = 1940651
diff --git a/x11/workrave/files/patch-frontend__common__src__System.cc b/x11/workrave/files/patch-frontend__common__src__System.cc
new file mode 100644
index 000000000..08aaad5de
--- /dev/null
+++ b/x11/workrave/files/patch-frontend__common__src__System.cc
@@ -0,0 +1,10 @@
+--- frontend/common/src/System.cc.orig 2007-09-28 13:18:31.000000000 -0300
++++ frontend/common/src/System.cc 2007-09-28 13:18:48.000000000 -0300
+@@ -28,6 +28,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <strings.h>
++#include <sys/wait.h>
+
+ #include "System.hh"
+ #include "debug.hh"
diff --git a/x11/workrave/pkg-plist b/x11/workrave/pkg-plist
index d5769558d..c4f656043 100644
--- a/x11/workrave/pkg-plist
+++ b/x11/workrave/pkg-plist
@@ -23,6 +23,8 @@ share/workrave/exercises/exercises.xml
share/workrave/exercises/eye-darkness.png
share/workrave/exercises/finger-stretch-1.png
share/workrave/exercises/finger-stretch-2.png
+share/workrave/exercises/fist-roll-1.png
+share/workrave/exercises/fist-roll-2.png
share/workrave/exercises/monitor-border-1.png
share/workrave/exercises/monitor-border-2.png
share/workrave/exercises/monitor-border-3.png
@@ -55,23 +57,32 @@ share/workrave/images/workrave-icon-small.png
share/workrave/images/workrave-quiet-icon-medium.png
share/workrave/images/workrave-suspended-icon-medium.png
share/workrave/images/workrave.png
-share/locale/ca/LC_MESSAGES/workrave.mo
-share/locale/cs/LC_MESSAGES/workrave.mo
-share/locale/da/LC_MESSAGES/workrave.mo
-share/locale/de/LC_MESSAGES/workrave.mo
-share/locale/eo/LC_MESSAGES/workrave.mo
-share/locale/es/LC_MESSAGES/workrave.mo
-share/locale/eu/LC_MESSAGES/workrave.mo
-share/locale/fr/LC_MESSAGES/workrave.mo
-share/locale/he/LC_MESSAGES/workrave.mo
-share/locale/lt/LC_MESSAGES/workrave.mo
-share/locale/nl/LC_MESSAGES/workrave.mo
-share/locale/no/LC_MESSAGES/workrave.mo
-share/locale/pl/LC_MESSAGES/workrave.mo
-share/locale/pt_BR/LC_MESSAGES/workrave.mo
-share/locale/ru/LC_MESSAGES/workrave.mo
-share/locale/sv/LC_MESSAGES/workrave.mo
-share/locale/zh_TW/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/bg/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/da/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/de/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/el/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/eo/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/es/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/eu/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/he/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/it/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/lt/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/no/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/workrave.mo
@dirrm share/workrave/images
@dirrm share/workrave/exercises
@dirrm share/workrave