aboutsummaryrefslogtreecommitdiff
path: root/sysutils/gkrellm2
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2000-10-19 18:27:44 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2000-10-19 18:27:44 +0000
commitac2e5536962cb86a66c9bcf0e00507abcabc8a0e (patch)
tree6c9d485d7d9728d2730d32cbd96effdc424fbf9f /sysutils/gkrellm2
parentc7b32248010b45e483dfffb6348225713d0c4210 (diff)
downloadports-ac2e5536962cb86a66c9bcf0e00507abcabc8a0e.tar.gz
ports-ac2e5536962cb86a66c9bcf0e00507abcabc8a0e.zip
Notes
Diffstat (limited to 'sysutils/gkrellm2')
-rw-r--r--sysutils/gkrellm2/Makefile10
-rw-r--r--sysutils/gkrellm2/distinfo2
-rw-r--r--sysutils/gkrellm2/files/patch-ae10
3 files changed, 9 insertions, 13 deletions
diff --git a/sysutils/gkrellm2/Makefile b/sysutils/gkrellm2/Makefile
index 8ec5168fc75d..51558c01131b 100644
--- a/sysutils/gkrellm2/Makefile
+++ b/sysutils/gkrellm2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gkrellm
-PORTVERSION= 1.0.0
+PORTVERSION= 1.0.1
CATEGORIES= sysutils ipv6
MASTER_SITES= http://web.wt.net/~billw/gkrellm/ \
${MASTER_SITE_LOCAL}
@@ -41,12 +41,8 @@ BINMODE= 4111
BINMODE= 2111
.endif
-post-patch:
- @${MV} ${WRKSRC}/src/gkrellm.h ${WRKSRC}/src/gkrellm.h.orig
- @${SED} \
- -e "s^/usr/share/gkrellm/themes^${PREFIX}/share/gkrellm/themes^" \
- -e "s^/usr/share/gkrellm/plugins^${PREFIX}/libexec/gkrellm/plugins^" \
- ${WRKSRC}/src/gkrellm.h.orig > ${WRKSRC}/src/gkrellm.h
+CFLAGS+= -DSYSTEM_THEMES_DIR='\"${PREFIX}/share/gkrellm/themes\"' \
+ -DSYSTEM_PLUGINS_DIR='\"${PREFIX}/libexec/gkrellm/plugins\"'
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/gkrellm ${PREFIX}/bin/gkrellm
diff --git a/sysutils/gkrellm2/distinfo b/sysutils/gkrellm2/distinfo
index e90baa6bee55..ffbd6bd70e66 100644
--- a/sysutils/gkrellm2/distinfo
+++ b/sysutils/gkrellm2/distinfo
@@ -1 +1 @@
-MD5 (gkrellm-1.0.0.tar.gz) = 099486926aec809002c88640c3f00de6
+MD5 (gkrellm-1.0.1.tar.gz) = 2c3d94d0412defab897e6ca8ab298d34
diff --git a/sysutils/gkrellm2/files/patch-ae b/sysutils/gkrellm2/files/patch-ae
index c46d5cce0cd1..a6bebc432a4f 100644
--- a/sysutils/gkrellm2/files/patch-ae
+++ b/sysutils/gkrellm2/files/patch-ae
@@ -1,7 +1,7 @@
Index: src/Makefile.src
diff -u src/Makefile.src.orig src/Makefile.src
---- src/Makefile.src.orig Fri Oct 13 01:00:12 2000
-+++ src/Makefile.src Sat Oct 14 04:01:17 2000
+--- src/Makefile.src.orig Tue Oct 17 06:05:39 2000
++++ src/Makefile.src Thu Oct 19 16:32:03 2000
@@ -13,7 +13,7 @@
GTK_LIB = `$(GTK_CONFIG) --libs gthread`
IMLIB_LIB = `imlib-config --libs-gdk`
@@ -16,8 +16,8 @@ diff -u src/Makefile.src.orig src/Makefile.src
endif
-
--CC = gcc -Wall $(FLAGS)
+-CC = gcc -Wall $(FLAGS) $(CFLAGS)
+CFLAGS += $(FLAGS)
- GNOME_PREFIX = `gnome-config --prefix`
-
+ OBJS = main.o apm.o clock.o cpu.o disk.o fs.o hostname.o \
+ inet.o mail.o meminfo.o net.o proc.o sensors.o uptime.o \