commit: fe87491b8d9040c62d3a421ff495434c421d1ec6 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> AuthorDate: Mon Feb 19 19:56:05 2018 +0000 Commit: Christoph Junghans <junghans <AT> gentoo <DOT> org> CommitDate: Mon Feb 19 19:57:44 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe87491b
sys-apps/nawk: remove old, fix homepage Closes: https://github.com/gentoo/gentoo/pull/7128 Package-Manager: Portage-2.3.19, Repoman-2.3.6 sys-apps/nawk/nawk-20121220-r2.ebuild | 49 ----------------------------------- sys-apps/nawk/nawk-20121220-r3.ebuild | 4 +-- 2 files changed, 2 insertions(+), 51 deletions(-) diff --git a/sys-apps/nawk/nawk-20121220-r2.ebuild b/sys-apps/nawk/nawk-20121220-r2.ebuild deleted file mode 100644 index fe1d7f62e13..00000000000 --- a/sys-apps/nawk/nawk-20121220-r2.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -inherit eutils toolchain-funcs - -DESCRIPTION="Brian Kernighan's pattern scanning and processing language" -HOMEPAGE="http://cm.bell-labs.com/cm/cs/awkbook/index.html" -SRC_URI="mirror://gentoo/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-macos" -IUSE="" - -RDEPEND="app-eselect/eselect-awk - !sys-freebsd/freebsd-ubin" -DEPEND="${RDEPEND} - virtual/yacc" - -S="${WORKDIR}" - -src_prepare() { - rm -f ytab.[hc] - epatch "${FILESDIR}/${P}"-parallel-build.patch -} - -src_compile() { - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" CPPFLAGS=-DHAS_ISBLANK ALLOC="${LDFLAGS}" YACC=$(type -p yacc) YFLAGS="-d" -} - -src_install() { - newbin a.out "${PN}" - sed -e 's/awk/nawk/g' \ - -e 's/AWK/NAWK/g' \ - -e 's/Awk/Nawk/g' \ - awk.1 > "${PN}".1 || die "manpage patch failed" - doman "${PN}".1 - dodoc README FIXES -} - -pkg_postinst() { - eselect awk update ifunset -} - -pkg_postrm() { - eselect awk update ifunset -} diff --git a/sys-apps/nawk/nawk-20121220-r3.ebuild b/sys-apps/nawk/nawk-20121220-r3.ebuild index a52e72d09b2..802c7c57c38 100644 --- a/sys-apps/nawk/nawk-20121220-r3.ebuild +++ b/sys-apps/nawk/nawk-20121220-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -6,7 +6,7 @@ EAPI=6 inherit toolchain-funcs DESCRIPTION="Brian Kernighan's pattern scanning and processing language" -HOMEPAGE="http://cm.bell-labs.com/cm/cs/awkbook/index.html" +HOMEPAGE="https://www.cs.princeton.edu/~bwk/btl.mirror/" SRC_URI="mirror://gentoo/${P}.tar.gz" LICENSE="MIT"