aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2004-02-29 16:23:49 +0800
committerkuriyama <kuriyama@FreeBSD.org>2004-02-29 16:23:49 +0800
commit5475db89bc9f14d11c3dd43ef851bd29e07a5734 (patch)
treef8cfa5b3c629e6f78abca4b9ee8439f01ccf4e67
parent571cdf4206eae7b4dc2d1060e9abd6fa71440953 (diff)
downloadfreebsd-ports-gnome-5475db89bc9f14d11c3dd43ef851bd29e07a5734.tar.gz
freebsd-ports-gnome-5475db89bc9f14d11c3dd43ef851bd29e07a5734.tar.zst
freebsd-ports-gnome-5475db89bc9f14d11c3dd43ef851bd29e07a5734.zip
o Fix missing master site and web site.
o Fix build. o SIZEify. o Respect CFLAGS and PTHREAD_LIBS. o Remove more empty directories. PR: ports/63080 Submitted by: Markus Brueffer <brueffer@phoenix-systems.de>
-rw-r--r--sysutils/kcpuload/Makefile13
-rw-r--r--sysutils/kcpuload/distinfo1
-rw-r--r--sysutils/kcpuload/pkg-descr2
-rw-r--r--sysutils/kcpuload/pkg-plist7
4 files changed, 15 insertions, 8 deletions
diff --git a/sysutils/kcpuload/Makefile b/sysutils/kcpuload/Makefile
index 3811eb2e1dae..5a90ac82c6c6 100644
--- a/sysutils/kcpuload/Makefile
+++ b/sysutils/kcpuload/Makefile
@@ -7,19 +7,20 @@
PORTNAME= kcpuload
PORTVERSION= 1.99
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= sysutils kde
-MASTER_SITES= http://ftp.kde.com/Administration/Monitoring/Resources/KCPULoad/
+MASTER_SITES= http://www.brueffer.de/distfiles/
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= CPU meter for Kicker
USE_KDELIBS_VER=3
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --program-transform-name="-e s,x,x,"
+USE_REINPLACE= yes
-# Hmm, I don't know how to tell meinproc where it should search for DTDs...
post-patch:
- @${LN} -s ${PREFIX}/share/apps/ksgmltools2/customization/dtd ${WRKSRC}/doc/en/dtd
+ @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/x11/kde3/Makefile.kde"
+.include <bsd.port.post.mk>
diff --git a/sysutils/kcpuload/distinfo b/sysutils/kcpuload/distinfo
index 1f075a162a10..5bd9c970a083 100644
--- a/sysutils/kcpuload/distinfo
+++ b/sysutils/kcpuload/distinfo
@@ -1 +1,2 @@
MD5 (kcpuload-1.99.tar.gz) = b86b638f93539186b01d5abf2056e018
+SIZE (kcpuload-1.99.tar.gz) = 568355
diff --git a/sysutils/kcpuload/pkg-descr b/sysutils/kcpuload/pkg-descr
index d42b56bd0e17..3e2c128bb87c 100644
--- a/sysutils/kcpuload/pkg-descr
+++ b/sysutils/kcpuload/pkg-descr
@@ -4,5 +4,3 @@ the CPU usage in form of one or two configurable diagrams. There are
settings for colors and some different styles. Note that it isn't
the real system load that's shown, but the percent used of the total
CPU power, which is calculated from the number of CPU ticks.
-
-WWW: http://apps.kde.com/na/2/info/id/584
diff --git a/sysutils/kcpuload/pkg-plist b/sysutils/kcpuload/pkg-plist
index 5bb12a3be893..4e2e9dcce7c8 100644
--- a/sysutils/kcpuload/pkg-plist
+++ b/sysutils/kcpuload/pkg-plist
@@ -41,3 +41,10 @@ share/icons/locolor/32x32/apps/kcpuload.png
@unexec rmdir %D/share/icons/crystalsvg/48x48/apps 2>/dev/null || true
@unexec rmdir %D/share/icons/crystalsvg/48x48 2>/dev/null || true
@unexec rmdir %D/share/icons/crystalsvg 2>/dev/null || true
+@unexec rmdir %D/share/applnk/System 2>/dev/null || true
+@unexec rmdir %D/share/applnk 2>/dev/null || true
+@unexec rmdir %D/share/icons/locolor/16x16/apps 2>/dev/null || true
+@unexec rmdir %D/share/icons/locolor/16x16 2>/dev/null || true
+@unexec rmdir %D/share/icons/locolor/32x32/apps 2>/dev/null || true
+@unexec rmdir %D/share/icons/locolor/32x32 2>/dev/null || true
+@unexec rmdir %D/share/icons/locolor 2>/dev/null || true