aboutsummaryrefslogtreecommitdiff
path: root/x11/wbar
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2011-07-06 16:19:26 +0000
committerNicola Vitale <nivit@FreeBSD.org>2011-07-06 16:19:26 +0000
commit9084120f3992dd8ffc2a467d308ec0ef34498531 (patch)
tree22aa827c43c292c638cb215fbbc94f3c81377c5b /x11/wbar
parent6b2fa6e8578f6af51eabb5f18ecb729ac8ad370a (diff)
downloadports-9084120f3992dd8ffc2a467d308ec0ef34498531.tar.gz
ports-9084120f3992dd8ffc2a467d308ec0ef34498531.zip
Notes
Diffstat (limited to 'x11/wbar')
-rw-r--r--x11/wbar/Makefile4
-rw-r--r--x11/wbar/files/patch-src__config__Run.cc11
-rw-r--r--x11/wbar/pkg-descr2
3 files changed, 13 insertions, 4 deletions
diff --git a/x11/wbar/Makefile b/x11/wbar/Makefile
index d249f273da73..3d1a1a708933 100644
--- a/x11/wbar/Makefile
+++ b/x11/wbar/Makefile
@@ -7,7 +7,7 @@
PORTNAME= wbar
PORTVERSION= 2.2.2
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
http://nivi.interfree.it/distfiles/${PORTNAME}/
@@ -15,8 +15,6 @@ MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
MAINTAINER= nivit@FreeBSD.org
COMMENT= A quick launch bar for fluxbox, WindowMaker, Xfce, etc
-RUN_DEPENDS= pidof:${PORTSDIR}/sysutils/pidof
-
CONFIGURE_ARGS= --exec-prefix=${PREFIX}
GNU_CONFIGURE= yes
diff --git a/x11/wbar/files/patch-src__config__Run.cc b/x11/wbar/files/patch-src__config__Run.cc
new file mode 100644
index 000000000000..edbce9486b96
--- /dev/null
+++ b/x11/wbar/files/patch-src__config__Run.cc
@@ -0,0 +1,11 @@
+--- ./src/config/Run.cc.orig 2011-05-20 18:25:35.000000000 +0200
++++ ./src/config/Run.cc 2011-07-06 17:21:57.000000000 +0200
+@@ -28,7 +28,7 @@
+ int pid = -1;
+ FILE * process;
+
+- process = popen("pidof "PACKAGE_NAME, "r");
++ process = popen("pgrep "PACKAGE_NAME, "r");
+
+ if (process)
+ {
diff --git a/x11/wbar/pkg-descr b/x11/wbar/pkg-descr
index 8feeb6e1cba6..28cba49b0a60 100644
--- a/x11/wbar/pkg-descr
+++ b/x11/wbar/pkg-descr
@@ -4,6 +4,6 @@ Initially developed for Fluxbox, then tested on WindowMaker, Xfce,
Gnome, etc.
It can run on top of desktops such as xfdesktop or nautilus with
-the -above-desk switch.
+the --above-desk switch.
WWW: http://wbar.googlecode.com/