--- /dev/null
+# ChangeLog for app-admin/consolehm
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/consolehm/ChangeLog,v 1.1 2007/01/12 15:23:09 the_paya Exp $
+
+*consolehm-1.31 (12 Jan 2007)
+
+ 12 Jan 2007; Javier Villavicencio <the_paya@gentoo.org>
+ +files/consolehm-gcc4.patch, +consolehm-1.31.ebuild:
+ New ebuild. Hardware sensors monitoring for FreeBSD.
+
--- /dev/null
+AUX consolehm-gcc4.patch 250 RMD160 2bd7cb58e0232247e2793ff7fecabfc198b74465 SHA1 fd1ab3ebd851ac505afaf1968bbc374574995742 SHA256 59cab73407d1311686629585eb893a3e704feb5aa9c963ad38acad859b8c1723
+MD5 a7b12929c24c877709ec8b616ff03377 files/consolehm-gcc4.patch 250
+RMD160 2bd7cb58e0232247e2793ff7fecabfc198b74465 files/consolehm-gcc4.patch 250
+SHA256 59cab73407d1311686629585eb893a3e704feb5aa9c963ad38acad859b8c1723 files/consolehm-gcc4.patch 250
+DIST consolehm-1.31.tar.gz 21615 RMD160 6a7e9df513066b52bc545365ffc8176fddfdace0 SHA1 3e8cc555190baf7c0c18b34a072dff85b2c2d4a0 SHA256 121bdc1f50f06e7a751bf1aee9d3d7d36415b234a524af6b6f626dcf5b9d5ef6
+EBUILD consolehm-1.31.ebuild 1129 RMD160 198c9a7fc283f5dd4d325081361bb81482835331 SHA1 e9439baf623f3212519da0c50320041be52d518b SHA256 82a5aa71dce0b558abb560a8963f83b465cd8d03da4f6ba4b9f2e9d61e0ffef7
+MD5 162a73674e702d2f37aafdd0c3de28a1 consolehm-1.31.ebuild 1129
+RMD160 198c9a7fc283f5dd4d325081361bb81482835331 consolehm-1.31.ebuild 1129
+SHA256 82a5aa71dce0b558abb560a8963f83b465cd8d03da4f6ba4b9f2e9d61e0ffef7 consolehm-1.31.ebuild 1129
+MISC ChangeLog 413 RMD160 d24b313e06b4e41b1969c4c78f105d77e346d18d SHA1 49b65df2c491579981ff79e700293eb8bbc2d949 SHA256 f1f00feb4cc171853e1701d2a77a5eb5acf3a5499ba165ced87319440ba3f82f
+MD5 f83e7d94c0eb56b4ddd413270cd790d1 ChangeLog 413
+RMD160 d24b313e06b4e41b1969c4c78f105d77e346d18d ChangeLog 413
+SHA256 f1f00feb4cc171853e1701d2a77a5eb5acf3a5499ba165ced87319440ba3f82f ChangeLog 413
+MISC metadata.xml 156 RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 SHA1 d9d9d4f2b5afc58339ea3e562fca490156935f1f SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7
+MD5 2bd48a5ae413433cbb36110b219ce97c metadata.xml 156
+RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 metadata.xml 156
+SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7 metadata.xml 156
+MD5 39e4b289a6512af75fc886412337f0a1 files/digest-consolehm-1.31 241
+RMD160 534a5abbae31a0f3963dbafbe59f3f42d373848a files/digest-consolehm-1.31 241
+SHA256 84f155344fc91aa62549fed308cfe47b600767ff4e412867822ceeb7555a34fd files/digest-consolehm-1.31 241
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/consolehm/consolehm-1.31.ebuild,v 1.1 2007/01/12 15:23:09 the_paya Exp $
+
+inherit eutils
+
+DESCRIPTION="Console based hardware monitor for FreeBSD"
+HOMEPAGE="ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/fenner/"
+SRC_URI="ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/fenner/${P}.tar.gz"
+LICENSE="BSD-2"
+SLOT="0"
+
+KEYWORDS="~x86-fbsd"
+
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PN}-gcc4.patch || die "patch failed"
+ export CHMS="${S}/consolehm"
+ # The only 'SMBus' smb.h i've found is in a different place:
+ cd "${S}/consolehm"
+ sed -i.orig -e 's:machine/smb.h:dev/smbus/smb.h:g' \
+ configure.in \
+ configure \
+ chm.h || die "sed failed."
+}
+
+src_compile() {
+ cd "${S}/consolehm"
+ econf || die "econf failed"
+ MAKE=make emake || die "emake failed"
+}
+
+src_install() {
+ dobin "${S}/consolehm/chm"
+ doman "${S}/consolehm/chm.8"
+ dodoc ${S}/CHANGELOG
+ dodoc ${S}/README
+ dodoc ${S}/TODO
+}
--- /dev/null
+--- consolehm/consolehm/chm.c.orig 2000-12-23 03:51:45 -0300
++++ consolehm/consolehm/chm.c 2007-01-12 11:18:27 -0300
+@@ -165,6 +165,7 @@
+ printf("Delay: %d microseconds. \n\n",delay);
+ break;
+ default:
++ ;;
+ }
+
+ file_handle = OpenIO();
--- /dev/null
+MD5 d8f7418b28b5f605c6ac4a09563490d4 consolehm-1.31.tar.gz 21615
+RMD160 6a7e9df513066b52bc545365ffc8176fddfdace0 consolehm-1.31.tar.gz 21615
+SHA256 121bdc1f50f06e7a751bf1aee9d3d7d36415b234a524af6b6f626dcf5b9d5ef6 consolehm-1.31.tar.gz 21615
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>bsd</herd>
+</pkgmetadata>