ports/68919: [New Port] misc/gkx86info2 - GKrellM2 plugin printing current clock speed
Tobias Roth
ports at fsck.ch
Sun Jul 11 14:00:42 UTC 2004
>Number: 68919
>Category: ports
>Synopsis: [New Port] misc/gkx86info2 - GKrellM2 plugin printing current clock speed
>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: Sun Jul 11 14:00:41 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Tobias Roth
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD localhost 5.2-CURRENT FreeBSD 5.2-CURRENT #10: Wed May 26 19:30:57 CEST 2004 toor at localhost:/usr/obj/usr/src/sys/FOOBAR i386
>Description:
New port: misc/gkx86info2
GKrellM2 plugin that simply prints the current clock speed
>How-To-Repeat:
>Fix:
# 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://anchois.free.fr/ \
X 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
XUSE_X_PREFIX= yes
XUSE_GNOME= gtk20
X
XWRKSRC= ${WRKDIR}/gkx86info${PORTVERSION}
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.gz) = e893ac5db865b4621c9f880686d30a99
XSIZE (gkx86info2-0.0.2.tar.gz) = 9570
END-of-gkx86info2/distinfo
echo x - gkx86info2/pkg-descr
sed 's/^X//' >gkx86info2/pkg-descr << 'END-of-gkx86info2/pkg-descr'
XThis is a plugin for gkrellm2 that simply prints the current clock
Xspeed for users that own speed stepping processors.
X
XThis is the gkrellm2 version of this plugin, done by anchois.
X
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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list