sys-apps/nawk: remove old, fix homepage
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Mon, 19 Feb 2018 19:56:05 +0000 (12:56 -0700)
committerChristoph Junghans <junghans@gentoo.org>
Mon, 19 Feb 2018 19:57:44 +0000 (12:57 -0700)
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 [deleted file]
sys-apps/nawk/nawk-20121220-r3.ebuild

diff --git a/sys-apps/nawk/nawk-20121220-r2.ebuild b/sys-apps/nawk/nawk-20121220-r2.ebuild
deleted file mode 100644 (file)
index fe1d7f6..0000000
+++ /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
-}
index a52e72d09b28bd307c7d1bf5b06fc9d599c3881f..802c7c57c3859d029b95ffb80a34d0cc8c9439ef 100644 (file)
@@ -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"