summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-09-06 22:43:57 +0200
committerJeroen Roovers <jer@gentoo.org>2018-09-06 22:44:12 +0200
commit5561facdd9d1013b58157b96e4054f0e47047548 (patch)
tree730f1bdd4710c27b7348ea24ba133d4cdb408a84 /dev-util/indent
parentmedia-libs/libmng: EAPI-7, https, sort deps (diff)
downloadgentoo-5561facdd9d1013b58157b96e4054f0e47047548.tar.gz
gentoo-5561facdd9d1013b58157b96e4054f0e47047548.tar.bz2
gentoo-5561facdd9d1013b58157b96e4054f0e47047548.zip
dev-util/indent: Version 2.2.12.
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'dev-util/indent')
-rw-r--r--dev-util/indent/Manifest1
-rw-r--r--dev-util/indent/indent-2.2.12.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-util/indent/Manifest b/dev-util/indent/Manifest
index 3541bb730f21..6bbfceff8f51 100644
--- a/dev-util/indent/Manifest
+++ b/dev-util/indent/Manifest
@@ -1,2 +1,3 @@
DIST indent-2.2.11.tar.gz 778563 BLAKE2B 8fe0f245fb852613587da8355a4aa8962e09e1614faf61cf7cea62d6922054547d0739cd1373298af08e4e0cca8d5f4bfc654e03d859c0fe560d0ddb0f63a298 SHA512 f5670e5edc76b9d599ef9e8cc498e13ac15e10eb6a8d674e1612918c4b67ffb15c94d73b9590434e0cdea6ead4b8d1f5bcda1c2f3838acbdeb4d732a0bea89be
+DIST indent-2.2.12.tar.xz 620280 BLAKE2B c3414ebe58d75b74356b5c37234639dc34998b73e45a4c28ee20ab2932c523b528d577c45c32db88f2ee4aed58d1dceeda2fe68b8975d211dc0dad4a3a20f7c7 SHA512 dbe73bd3729074825f9f5b4241a4c539ad32069df56511963417caf0351ff9ec5edd77e9580338301c8abf89ab9c0592bc7e82c14eec7450c496259d7e9045dd
DIST indent_2.2.11-5.debian.tar.xz 6540 BLAKE2B c4d0805f39e1af503bcfcc49a8e9e679fb0df1021de9952af5a80c81f0c36c70e8dd6609b7e7ec5e36596f974d9c9ac31a7cad831a431cd9401758981d46a7ec SHA512 f89f04bb3b9772c5428ef6df939b5cbe92761f3a39869020dad4f98a5e48c57c34de526803141258c9d55ba6edaedf05127009530aa09b1a54cfa15c8a421a31
diff --git a/dev-util/indent/indent-2.2.12.ebuild b/dev-util/indent/indent-2.2.12.ebuild
new file mode 100644
index 000000000000..a8d9e29f1f6b
--- /dev/null
+++ b/dev-util/indent/indent-2.2.12.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="Indent program source files"
+HOMEPAGE="https://www.gnu.org/software/indent/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="nls"
+
+DEPEND="
+ nls? ( sys-devel/gettext )
+ app-text/texi2html
+"
+RDEPEND="
+ nls? ( virtual/libintl )
+"
+
+src_prepare() {
+ default
+
+ sed -i -e '/AM_CFLAGS/s:-Werror::g' src/Makefile.{am,in} || die
+}
+
+src_configure() {
+ strip-linguas -i po/
+
+ gl_cv_cc_vis_werror=no econf $(use_enable nls)
+}
+
+src_test() {
+ emake -C regression/
+}
+
+src_install() {
+ # htmldir as set in configure is ignored in doc/Makefile*
+ emake DESTDIR="${D}" htmldir="${EPREFIX}/usr/share/doc/${PF}/html" install
+ dodoc AUTHORS NEWS README.md ChangeLog ChangeLog-1990 ChangeLog-1998 ChangeLog-2001
+}