--- /dev/null
+# ChangeLog for media-gfx/metacam
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+*be-9999 (07 Feb 2010)
+ 07 Feb 2009; W. Trevor King <wking@drexel.edu> ChangeLog, metadata.xml, be-9999.ebuild, be-9999-docbook2man.patch, be-9999-install-dir.patch :
+ - Created ebuild suite for bugs-everywhere (BE) revision
+ cjb@laptop.org-20091006145647-kqkmoh481tl5hvt4
+ - Added initial ChangeLog which should be updated whenever the
+ package is updated in any way. This changelog is targetted to
+ users. This means that the comments should well explained and
+ written in clean English. The details about writing correct
+ changelogs are explained in the skel.ChangeLog file which you can
+ find in the root directory of the portage repository.
--- /dev/null
+AUX be-9999-docbook2man.patch 291 RMD160 044883ad3d77a4ee68d67b0c89818eab990e5f88 SHA1 ce53e9cfc7ae926276e2f01e603e077174f734de SHA256 7f4691a80a9cc57c3f0453ed43ab59969c44cb011dc79900143273bfc3897b73
+AUX be-9999-install-dir.patch 296 RMD160 f49a07bcbbf96201d3fd021c2d919b5eb61328f4 SHA1 5db1037ca1aaf884f8b2858d897ca72e1afee0d2 SHA256 ff27a7c5b9371571baa43f6a9b0b3ad68504c3cea5b49cf947ee27fb3aa12022
+AUX be-9999-version.patch 306 RMD160 4a83f99118439478527e4a0f0a38db5ffa5b8420 SHA1 621ea01d6c46ba25981a7c687c2d69cafb11b5b0 SHA256 00fb7a2476937393cf976c507d3ff0e7636c31d5bbbef1995f04186a60715a31
+EBUILD be-9999.ebuild 1259 RMD160 45329f91393b9870d889cf22d8c64f42fad1f0e4 SHA1 d3c971deee72605e261bc023ecc235df7e883c99 SHA256 2719a4e1f1ad5e7a72b7610a11f7dec4f91c879106644b6bb4f5006bdecfe299
+MISC ChangeLog 813 RMD160 ca00542d7f60caee7aecb3ad802ad5ba1b01223d SHA1 6154a1d462b694b79a55ad5e0ebaa617c04aef22 SHA256 cde00d8429da7df900e64de038aed61e3ecc91b1c1f6ca4b619da3abdb185d53
+MISC metadata.xml 321 RMD160 f1c228ca9454d018e84c7fa458cd8a1ddb4a22a0 SHA1 a21e5950c45f5bb268ab86c06f2d52c7a95d15fa SHA256 217043d3419af1b60adbd5e4028a57f1b1de1eebbe44afa9befe33faac60db37
--- /dev/null
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit eutils
+
+if [[ ${PV} == "9999" ]] ; then
+ EBZR_REPO_URI="http://bzr.bugseverywhere.org/${PN}"
+ inherit bzr
+ SRC_URI=""
+else
+ SRC_URI="http://bugseverywhere.org/${PN}/${P}.tar.gz"
+fi
+
+DESCRIPTION="Bugs Everywere distributed bug tracker"
+HOMEPAGE="http://bugseverywhere.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+RDEPEND="dev-lang/python
+ dev-python/pyyaml"
+DEPEND="${RDEPEND}
+ dev-util/bzr
+ app-text/docbook-sgml-utils"
+
+src_unpack() {
+ if [[ ${PV} == "9999" ]] ; then
+ bzr_src_unpack
+ else
+ unpack ${A}
+ fi
+ cd "${S}"
+ epatch ${FILESDIR}/${P}-install-dir.patch
+ epatch ${FILESDIR}/${P}-version.patch
+ epatch ${FILESDIR}/${P}-docbook2man.patch
+}
+
+if [[ ${PV} == "9999" ]] ; then
+ src_prepare() {
+ bzr_src_prepare || die
+ EBZR_BRANCH_DIR="${EBZR_STORE_DIR}/${EBZR_CACHE_DIR}"
+ bzr version-info --format python "${EBZR_BRANCH_DIR}" > \
+ "${S}/libbe/_version.py" \
+ || die "Unable to make _verison.py from ${EBZR_BRANCH_DIR}"
+ }
+fi
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS NEWS README
+ if [[ ${PV} != "9999" ]] ; then
+ dodoc ChangeLog
+ fi
+}
--- /dev/null
+diff -u be/doc/module.mk be-patched/doc/module.mk
+--- be/doc/module.mk 2009-11-30 23:11:33.000000000 -0500
++++ be-patched/doc/module.mk 2009-11-30 21:53:41.000000000 -0500
+@@ -40,4 +40,5 @@
+ man: ${manpage_files}
+
+ %.1: %.1.sgml
+- docbook-to-man $< > $@
++ docbook2man $<
++ mv BE.1 $@
--- /dev/null
+diff -u be/Makefile be-patched/Makefile
+--- be/Makefile 2009-11-24 13:11:42.000000000 -0500
++++ be-patched/Makefile 2009-11-30 20:32:38.000000000 -0500
+@@ -38,8 +38,7 @@
+
+ RM = rm
+
+-#PREFIX = /usr/local
+-PREFIX = ${HOME}
++PREFIX = ${DESTDIR}/usr
+ INSTALL_OPTIONS = "--prefix=${PREFIX}"
+
+
--- /dev/null
+diff -u be/Makefile be-patched/Makefile
+--- be/Makefile 2009-11-30 20:32:38.000000000 -0500
++++ be-patched/Makefile 2010-02-07 09:09:17.000000000 -0500
+@@ -64,6 +64,5 @@
+ clean:
+ $(RM) -rf ${GENERATED_FILES}
+
+-.PHONY: libbe/_version.py
+ libbe/_version.py:
+ bzr version-info --format python > $@