ports/63080: [non maintainer] sysutils/kcpuload: various fixes (bento)

Markus Brueffer brueffer at phoenix-systems.de
Thu Feb 19 21:10:32 UTC 2004


>Number:         63080
>Category:       ports
>Synopsis:       [non maintainer] sysutils/kcpuload: various fixes (bento)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 19 13:10:31 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Markus Brueffer
>Release:        FreeBSD 5.2.1-RC i386
>Organization:
>Environment:
System: FreeBSD cheops.phoenix 5.2.1-RC FreeBSD 5.2.1-RC #0: Thu Feb 5 13:59:13 CET 2004 root at cheops.phoenix:/usr/obj/usr/src/sys/CHEOPS i386

>Description:
	Fix sysutils/kcpuload:

	- fix MASTER_SITE
	- remove dead link to website
	- fix build
	- respect CFLAGS and PTHREAD_LIBS
	- SIZEify

	Reported by: bento

>How-To-Repeat:
>Fix:

--- kcpuload.diff begins here ---
diff -ruN kcpuload.orig/Makefile kcpuload/Makefile
--- kcpuload.orig/Makefile	Thu Feb 19 21:28:01 2004
+++ kcpuload/Makefile	Thu Feb 19 21:34:47 2004
@@ -9,17 +9,18 @@
 PORTVERSION=	1.99
 PORTREVISION=	2
 CATEGORIES=	sysutils kde
-MASTER_SITES=	http://ftp.kde.com/Administration/Monitoring/Resources/KCPULoad/
+MASTER_SITES=	http://www.brueffer.de/distfiles/
 
 MAINTAINER=	kuriyama at 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 -ruN kcpuload.orig/distinfo kcpuload/distinfo
--- kcpuload.orig/distinfo	Thu Feb 19 21:28:01 2004
+++ kcpuload/distinfo	Thu Feb 19 21:42:09 2004
@@ -1 +1,2 @@
 MD5 (kcpuload-1.99.tar.gz) = b86b638f93539186b01d5abf2056e018
+SIZE (kcpuload-1.99.tar.gz) = 568355
diff -ruN kcpuload.orig/pkg-descr kcpuload/pkg-descr
--- kcpuload.orig/pkg-descr	Thu Feb 19 21:28:01 2004
+++ kcpuload/pkg-descr	Thu Feb 19 21:55:10 2004
@@ -4,5 +4,3 @@
 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
--- kcpuload.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list