aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/conky-awesome
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2006-11-12 21:52:38 +0800
committernovel <novel@FreeBSD.org>2006-11-12 21:52:38 +0800
commit89717616acd8d3d3e0326d644d6789af102929a3 (patch)
tree9ce436f88ff8aa6cad942d440d28869bf342c170 /sysutils/conky-awesome
parentc1a3c82dc908c9ee496b8e641dbd43c73cdc1713 (diff)
downloadfreebsd-ports-gnome-89717616acd8d3d3e0326d644d6789af102929a3.tar.gz
freebsd-ports-gnome-89717616acd8d3d3e0326d644d6789af102929a3.tar.zst
freebsd-ports-gnome-89717616acd8d3d3e0326d644d6789af102929a3.zip
Update to 1.4.3.
Diffstat (limited to 'sysutils/conky-awesome')
-rw-r--r--sysutils/conky-awesome/Makefile14
-rw-r--r--sysutils/conky-awesome/distinfo6
-rw-r--r--sysutils/conky-awesome/files/patch-src-freebsd.c20
3 files changed, 24 insertions, 16 deletions
diff --git a/sysutils/conky-awesome/Makefile b/sysutils/conky-awesome/Makefile
index 9e2c4b31e933..e3609edebf3c 100644
--- a/sysutils/conky-awesome/Makefile
+++ b/sysutils/conky-awesome/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= conky
-PORTVERSION= 1.4.2
-PORTREVISION= 2
+PORTVERSION= 1.4.3
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -19,7 +18,9 @@ USE_BZIP2= yes
HAS_CONFIGURE= yes
USE_ICONV= yes
USE_X_PREFIX= yes
-CONFIGURE_ARGS+= --disable-portmon --disable-proc-uptime
+CONFIGURE_ARGS+= --disable-portmon \
+ --disable-proc-uptime \
+ --disable-hddtemp
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${X11BASE}/lib -L${LOCALBASE}/lib"
@@ -28,6 +29,13 @@ MAN1= conky.1
PORTDOCS= README AUTHORS ChangeLog TODO \
docs.html variables.html config_settings.html
+.if defined(WITH_AUDACIOUS)
+LIB_DEPENDS+= audacious.3:${PORTSDIR}/multimedia/audacious
+CONFIGURE_ARGS+= --enable-audacious
+.else
+CONFIGURE_ARGS+= --disable-audacious
+.endif
+
.if defined(WITH_BMPX)
BUILD_DEPENDS+= beep-media-player-2:${PORTSDIR}/multimedia/bmpx
RUN_DEPENDS+= beep-media-player-2:${PORTSDIR}/multimedia/bmpx
diff --git a/sysutils/conky-awesome/distinfo b/sysutils/conky-awesome/distinfo
index 9265e2027bf7..2d340c705dc6 100644
--- a/sysutils/conky-awesome/distinfo
+++ b/sysutils/conky-awesome/distinfo
@@ -1,3 +1,3 @@
-MD5 (conky-1.4.2.tar.bz2) = 050a53bdb359a96421ef3ddf761f143c
-SHA256 (conky-1.4.2.tar.bz2) = e792a1ea4f865225e6f9d1e4cafd405745390a09d48d4a8936d4b0556e6e32b2
-SIZE (conky-1.4.2.tar.bz2) = 400574
+MD5 (conky-1.4.3.tar.bz2) = 35136373cd528e65d7c391261e3122e1
+SHA256 (conky-1.4.3.tar.bz2) = 47f541ad7f7ba44e0df084f1c891c1376c89ddab753ce693f527eac375d56b88
+SIZE (conky-1.4.3.tar.bz2) = 385833
diff --git a/sysutils/conky-awesome/files/patch-src-freebsd.c b/sysutils/conky-awesome/files/patch-src-freebsd.c
index 0e1e6322072a..7c1ae6d21fb7 100644
--- a/sysutils/conky-awesome/files/patch-src-freebsd.c
+++ b/sysutils/conky-awesome/files/patch-src-freebsd.c
@@ -1,11 +1,11 @@
---- src/freebsd.c.orig Sun Mar 26 01:47:50 2006
-+++ src/freebsd.c Wed May 24 07:57:35 2006
-@@ -508,7 +508,7 @@
+--- src/freebsd.c.orig Sun Nov 12 09:23:59 2006
++++ src/freebsd.c Sun Nov 12 09:24:20 2006
+@@ -290,7 +290,7 @@
+ size_t len = sizeof (cp_time);
- if (GETSYSCTL("dev.cpu.0.freq", freq) == 0)
- snprintf(p_client_buffer, client_buffer_size,
-- p_format, freq/divisor);
-+ p_format, (float)freq/(float)divisor);
- else
- snprintf(p_client_buffer, client_buffer_size, p_format, 0.0f);
- }
+ /* add check for !info.cpu_usage since that mem is freed on a SIGUSR1 */
+- if ((cpu_setup == 0)) || (!info.cpu_usage) {
++ if ((cpu_setup == 0) || (!info.cpu_usage)) {
+ get_cpu_count();
+ cpu_setup = 1;
+ }