summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin McCarthy <signals@gentoo.org>2011-02-23 16:27:48 +0000
committerKevin McCarthy <signals@gentoo.org>2011-02-23 16:27:48 +0000
commit23e982d1347d5c6cc5949a9e08b9ea6498315726 (patch)
treeaee4926e09066b52f0ec2124223e8bb463f2af93 /dev-util
parentStable for HPPA (bug #354237). (diff)
downloadgentoo-2-23e982d1347d5c6cc5949a9e08b9ea6498315726.tar.gz
gentoo-2-23e982d1347d5c6cc5949a9e08b9ea6498315726.tar.bz2
gentoo-2-23e982d1347d5c6cc5949a9e08b9ea6498315726.zip
Fix #351534. gpm USE fix. Ebuild rewrite. New maintainer.
(Portage version: 2.2.0_alpha25/cvs/Linux x86_64)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/biew/ChangeLog11
-rw-r--r--dev-util/biew/biew-6.1.0-r1.ebuild57
-rw-r--r--dev-util/biew/metadata.xml3
3 files changed, 68 insertions, 3 deletions
diff --git a/dev-util/biew/ChangeLog b/dev-util/biew/ChangeLog
index 0d51d2590b47..6d3602c60a9d 100644
--- a/dev-util/biew/ChangeLog
+++ b/dev-util/biew/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-util/biew
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/biew/ChangeLog,v 1.26 2010/02/21 09:46:24 patrick Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/biew/ChangeLog,v 1.27 2011/02/23 16:27:48 signals Exp $
+
+*biew-6.1.0-r1 (23 Feb 2011)
+
+ 23 Feb 2011; Kevin McCarthy <signals@gentoo.org> +biew-6.1.0-r1.ebuild,
+ metadata.xml:
+ Fix installation layout problems (bug #351534). Fix "gpm" USE flag. Clean up
+ ebuild and bump to EAPI=4. Added myself to metadata as maintainer.
*biew-6.1.0 (21 Feb 2010)
diff --git a/dev-util/biew/biew-6.1.0-r1.ebuild b/dev-util/biew/biew-6.1.0-r1.ebuild
new file mode 100644
index 000000000000..71c6e8082e38
--- /dev/null
+++ b/dev-util/biew/biew-6.1.0-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/biew/biew-6.1.0-r1.ebuild,v 1.1 2011/02/23 16:27:48 signals Exp $
+
+EAPI=4
+inherit flag-o-matic toolchain-funcs versionator
+
+MY_P=${PN}-$(replace_all_version_separators "")
+
+DESCRIPTION="A portable viewer of binary files, hexadecimal and disassembler modes."
+HOMEPAGE="http://beye.sourceforge.net/"
+SRC_URI="mirror://sourceforge/beye/${PV}/${MY_P}-src.tar.bz2"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gpm"
+
+RDEPEND="gpm? ( sys-libs/gpm )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ sed -i -e 's^man/man1/biew.1^share/man/man1/biew.1^' makefile || die "Failed to edit makefile."
+}
+
+src_configure() {
+ if use gpm; then
+ append-flags -DHAVE_MOUSE
+ else
+ append-flags -UHAVE_MOUSE
+ fi
+ ./configure --datadir=/usr/share/${PN} \
+ --prefix=/usr \
+ --cc="$(tc-getCC)" \
+ --ld="$(tc-getCC)" \
+ --as="$(tc-getAS)" \
+ --ranlib="$(tc-getRANLIB)" || die "configure failed."
+}
+
+src_compile() {
+ emake LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc doc/{biew_en,release,unix}.txt
+}
+
+pkg_postinst() {
+ elog
+ elog "Note: if you are upgrading from <=dev-util/biew-6.1.0 you will need"
+ elog "to change the paths in the setup dialog (F9) from /usr/share/ to"
+ elog "/usr/share/biew/ Alternatively, you can delete ~/.biewrc and it will"
+ elog "automatically determine the correct locations on the next run."
+ elog
+}
diff --git a/dev-util/biew/metadata.xml b/dev-util/biew/metadata.xml
index 73420b6cf0f0..2ae4b9d0ccef 100644
--- a/dev-util/biew/metadata.xml
+++ b/dev-util/biew/metadata.xml
@@ -3,6 +3,7 @@
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
- <email>maintainer-needed@gentoo.org</email>
+ <email>signals@gentoo.org</email>
+ <name>Kevin McCarthy</name>
</maintainer>
</pkgmetadata>