Gentoo Archives: gentoo-commits

From: Christoph Junghans <junghans@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/nawk/
Date: Mon, 19 Feb 2018 19:58:05
Message-Id: 1519070264.fe87491b8d9040c62d3a421ff495434c421d1ec6.junghans@gentoo
1 commit: fe87491b8d9040c62d3a421ff495434c421d1ec6
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Mon Feb 19 19:56:05 2018 +0000
4 Commit: Christoph Junghans <junghans <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 19 19:57:44 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe87491b
7
8 sys-apps/nawk: remove old, fix homepage
9
10 Closes: https://github.com/gentoo/gentoo/pull/7128
11 Package-Manager: Portage-2.3.19, Repoman-2.3.6
12
13 sys-apps/nawk/nawk-20121220-r2.ebuild | 49 -----------------------------------
14 sys-apps/nawk/nawk-20121220-r3.ebuild | 4 +--
15 2 files changed, 2 insertions(+), 51 deletions(-)
16
17 diff --git a/sys-apps/nawk/nawk-20121220-r2.ebuild b/sys-apps/nawk/nawk-20121220-r2.ebuild
18 deleted file mode 100644
19 index fe1d7f62e13..00000000000
20 --- a/sys-apps/nawk/nawk-20121220-r2.ebuild
21 +++ /dev/null
22 @@ -1,49 +0,0 @@
23 -# Copyright 1999-2015 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI="4"
27 -
28 -inherit eutils toolchain-funcs
29 -
30 -DESCRIPTION="Brian Kernighan's pattern scanning and processing language"
31 -HOMEPAGE="http://cm.bell-labs.com/cm/cs/awkbook/index.html"
32 -SRC_URI="mirror://gentoo/${P}.tar.gz"
33 -
34 -LICENSE="MIT"
35 -SLOT="0"
36 -KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-macos"
37 -IUSE=""
38 -
39 -RDEPEND="app-eselect/eselect-awk
40 - !sys-freebsd/freebsd-ubin"
41 -DEPEND="${RDEPEND}
42 - virtual/yacc"
43 -
44 -S="${WORKDIR}"
45 -
46 -src_prepare() {
47 - rm -f ytab.[hc]
48 - epatch "${FILESDIR}/${P}"-parallel-build.patch
49 -}
50 -
51 -src_compile() {
52 - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" CPPFLAGS=-DHAS_ISBLANK ALLOC="${LDFLAGS}" YACC=$(type -p yacc) YFLAGS="-d"
53 -}
54 -
55 -src_install() {
56 - newbin a.out "${PN}"
57 - sed -e 's/awk/nawk/g' \
58 - -e 's/AWK/NAWK/g' \
59 - -e 's/Awk/Nawk/g' \
60 - awk.1 > "${PN}".1 || die "manpage patch failed"
61 - doman "${PN}".1
62 - dodoc README FIXES
63 -}
64 -
65 -pkg_postinst() {
66 - eselect awk update ifunset
67 -}
68 -
69 -pkg_postrm() {
70 - eselect awk update ifunset
71 -}
72
73 diff --git a/sys-apps/nawk/nawk-20121220-r3.ebuild b/sys-apps/nawk/nawk-20121220-r3.ebuild
74 index a52e72d09b2..802c7c57c38 100644
75 --- a/sys-apps/nawk/nawk-20121220-r3.ebuild
76 +++ b/sys-apps/nawk/nawk-20121220-r3.ebuild
77 @@ -1,4 +1,4 @@
78 -# Copyright 1999-2017 Gentoo Foundation
79 +# Copyright 1999-2018 Gentoo Foundation
80 # Distributed under the terms of the GNU General Public License v2
81
82 EAPI=6
83 @@ -6,7 +6,7 @@ EAPI=6
84 inherit toolchain-funcs
85
86 DESCRIPTION="Brian Kernighan's pattern scanning and processing language"
87 -HOMEPAGE="http://cm.bell-labs.com/cm/cs/awkbook/index.html"
88 +HOMEPAGE="https://www.cs.princeton.edu/~bwk/btl.mirror/"
89 SRC_URI="mirror://gentoo/${P}.tar.gz"
90
91 LICENSE="MIT"