aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authornivit <nivit@FreeBSD.org>2011-07-07 00:19:26 +0800
committernivit <nivit@FreeBSD.org>2011-07-07 00:19:26 +0800
commit9e8097c0fcd20db0189c276edc2ab44e81ba65f6 (patch)
tree429d37609c2230bcaf9c76a4cbac1a8013cee7f5 /x11
parentd09ab30d29f12ac805825eaac995a8f59b91a477 (diff)
downloadfreebsd-ports-gnome-9e8097c0fcd20db0189c276edc2ab44e81ba65f6.tar.gz
freebsd-ports-gnome-9e8097c0fcd20db0189c276edc2ab44e81ba65f6.tar.zst
freebsd-ports-gnome-9e8097c0fcd20db0189c276edc2ab44e81ba65f6.zip
- Remove sysutils/pidof from RUN_DEPENDS (replaced by pgrep)
as suggested by danfe@, because "infrastructure costs get higher (extra dependency to track, upgrade, etc.) which in turn eats time". - Add files/patch-src__config__Run.cc - Bump PORTREVISION - Fix a typo in pkg-descr
Diffstat (limited to 'x11')
-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/