summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-02-07 09:55:14 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-02-07 09:55:14 +0000
commit107489a7e03694b077926826aeff7c281eb7f9b9 (patch)
treef9e722664691a06fd815094b98b11365a3cf1197 /dev-util
parentRevision bump: EAPI 5, add sub-slot operator for dependency on dev-libs/icu, ... (diff)
downloadgentoo-2-107489a7e03694b077926826aeff7c281eb7f9b9.tar.gz
gentoo-2-107489a7e03694b077926826aeff7c281eb7f9b9.tar.bz2
gentoo-2-107489a7e03694b077926826aeff7c281eb7f9b9.zip
Revision bump: EAPI 5, add sub-slot operator for dependency on dev-libs/icu, wrt bug #455900
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/dwdiff/ChangeLog8
-rw-r--r--dev-util/dwdiff/dwdiff-2.0.4-r1.ebuild41
2 files changed, 48 insertions, 1 deletions
diff --git a/dev-util/dwdiff/ChangeLog b/dev-util/dwdiff/ChangeLog
index ceb4b8cdc761..6ceb3abdca75 100644
--- a/dev-util/dwdiff/ChangeLog
+++ b/dev-util/dwdiff/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/dwdiff
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/dwdiff/ChangeLog,v 1.8 2013/02/06 20:31:43 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/dwdiff/ChangeLog,v 1.9 2013/02/07 09:55:14 pinkbyte Exp $
+
+*dwdiff-2.0.4-r1 (07 Feb 2013)
+
+ 07 Feb 2013; Sergey Popov <pinkbyte@gentoo.org> +dwdiff-2.0.4-r1.ebuild:
+ Revision bump: EAPI 5, add sub-slot operator for dependency on dev-libs/icu,
+ wrt bug #455900
06 Feb 2013; Samuli Suominen <ssuominen@gentoo.org> -dwdiff-2.0.2.ebuild:
old
diff --git a/dev-util/dwdiff/dwdiff-2.0.4-r1.ebuild b/dev-util/dwdiff/dwdiff-2.0.4-r1.ebuild
new file mode 100644
index 000000000000..93ea8b8d1bdc
--- /dev/null
+++ b/dev-util/dwdiff/dwdiff-2.0.4-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/dwdiff/dwdiff-2.0.4-r1.ebuild,v 1.1 2013/02/07 09:55:14 pinkbyte Exp $
+
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="A front-end for the diff program that operates at the word level instead of the line level"
+HOMEPAGE="http://os.ghalkes.nl/dwdiff.html"
+SRC_URI="http://os.ghalkes.nl/dist/${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="nls"
+
+COMMON_DEPEND="dev-libs/icu:="
+RDEPEND="${COMMON_DEPEND}
+ sys-apps/diffutils"
+DEPEND="${COMMON_DEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_prepare() {
+ sed -i \
+ -e '/INSTALL/s:COPYING::' \
+ Makefile.in || die
+}
+
+src_configure() {
+ ./configure \
+ --prefix=/usr \
+ $(use_with nls gettext) || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ emake prefix="${D}/usr" docdir="${D}/usr/share/doc/${PF}" install
+}