ports/65916: New port: misc/gkx86info2 gkrellm2 plugin that shows current cpu frequency

Tobias Roth ports at fsck.ch
Fri Apr 23 14:20:23 UTC 2004


>Number:         65916
>Category:       ports
>Synopsis:       New port: 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:   Fri Apr 23 07:20:22 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     roth at angel-one.fsck.ch:/usr/obj/usr/src/sys/ANGEL-ONE  i386


	
>Description:
	This is the gkrellm2 version of the plugin, a version for gkrellm1
is already in the tree.
>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:		Fri Apr 23 14:15:40 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://www.iam.unibe.ch/~roth/
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} \
X		`pkg-config gtk+-2.0 --cflags` -c gkx86info.c
X	@cd ${WRKSRC} && eval ${CC} -shared ${CFLAGS} ${LDFLAGS} \
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_DATA} ${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) = d32431c118f1f140f82fa42e403d9903
XSIZE (gkx86info2-0.0.2.tar.bz2) = 8947
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%%/COPYING
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