ports/66028: misc/gkx86info2 gkrellm2 plugin that shows current cpu frequency
Tobias Roth
ports at fsck.ch
Tue Apr 27 13:20:17 UTC 2004
>Number: 66028
>Category: ports
>Synopsis: misc/gkx86info2 gkrellm2 plugin that shows current cpu frequency
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Apr 27 06:20:16 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: Tobias Roth
>Release: 5.2.1-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD angel-one.fsck.ch 5.2.1-RELEASE-p5 FreeBSD 5.2.1-RELEASE-p5 #7: Fri Apr 16 11:42:59 CEST 2004
>Description:
This is the gkrellm2 version of the plugin, a version for gkrellm1 is already in the tree.
The distfile has been repacked and copied to my personal site to avoid a name clash with the gkrellm1 version.
>How-To-Repeat:
>Fix:
--- gkx86info2.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# gkx86info2
# gkx86info2/Makefile
# gkx86info2/distinfo
# gkx86info2/pkg-descr
# gkx86info2/pkg-plist
#
echo c - gkx86info2
mkdir -p gkx86info2 > /dev/null 2>&1
echo x - gkx86info2/Makefile
sed 's/^X//' >gkx86info2/Makefile << 'END-of-gkx86info2/Makefile'
X# New ports collection makefile for: gkx86info2
X# Date created: Tue Apr 27 14:15:53 CEST 2004
X# Whom: Tobias Roth <ports at fsck.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME= gkx86info2
XPORTVERSION= 0.0.2
XCATEGORIES= misc
XMASTER_SITES= http://depot.fsck.ch/mirror/distfiles/
X
XMAINTAINER= ports at fsck.ch
XCOMMENT= GKrellM2 plugin that simply prints the current clock speed
X
XBUILD_DEPENDS= ${X11BASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
XRUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
X
XONLY_FOR_ARCHS= i386
XUSE_X_PREFIX= yes
XUSE_BZIP2= yes
XUSE_GNOME= gtk20
X
Xdo-build:
X @cd ${WRKSRC} && eval ${CC} ${CFLAGS} -o MHz.o -c MHz.c
X @cd ${WRKSRC} && eval ${CC} ${CFLAGS} -fPIC \
X `pkg-config gtk+-2.0 --cflags` -c gkx86info.c
X @cd ${WRKSRC} && eval ${CC} ${CFLAGS} -shared \
X -o ${PORTNAME}.so MHz.o gkx86info.o
X
Xdo-install:
X @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}.so \
X ${PREFIX}/libexec/gkrellm2/plugins/
X
Xpost-install:
X.ifndef(NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X @${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-gkx86info2/Makefile
echo x - gkx86info2/distinfo
sed 's/^X//' >gkx86info2/distinfo << 'END-of-gkx86info2/distinfo'
XMD5 (gkx86info2-0.0.2.tar.bz2) = 0cd6d6aa607e989f0c50408ca4049f49
XSIZE (gkx86info2-0.0.2.tar.bz2) = 9083
END-of-gkx86info2/distinfo
echo x - gkx86info2/pkg-descr
sed 's/^X//' >gkx86info2/pkg-descr << 'END-of-gkx86info2/pkg-descr'
X[ excerpt from developer's www site ]
X
XThis is a plugin for gkrellm that simply prints the current clock
Xspeed for users that own speed stepping processors.
X
XIt works on normal non-stepping processors also, but there is not any
Xpoint in mesuring the clock if it is the same every time you mesure
Xit, now is there?
X
XIncluded code from x86info to calculate an estimate clock speed.
X
X[ end excerpt ]
X
XThis is the gkrellm2 version of this plugin, done by anchois.
X
XAuthor: Jake Richardson <jake at asdfnews.org>
XWWW: http://anchois.free.fr/
END-of-gkx86info2/pkg-descr
echo x - gkx86info2/pkg-plist
sed 's/^X//' >gkx86info2/pkg-plist << 'END-of-gkx86info2/pkg-plist'
Xlibexec/gkrellm2/plugins/gkx86info2.so
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-gkx86info2/pkg-plist
exit
--- gkx86info2.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list