diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2018-02-19 12:56:05 -0700 |
---|---|---|
committer | Christoph Junghans <junghans@gentoo.org> | 2018-02-19 12:57:44 -0700 |
commit | fe87491b8d9040c62d3a421ff495434c421d1ec6 (patch) | |
tree | 195c9fb81dfd66669f152f4a176a3879e0e1deaa /sys-apps | |
parent | dev-libs/collada-dom: Remove old (diff) | |
download | gentoo-fe87491b8d9040c62d3a421ff495434c421d1ec6.tar.gz gentoo-fe87491b8d9040c62d3a421ff495434c421d1ec6.tar.bz2 gentoo-fe87491b8d9040c62d3a421ff495434c421d1ec6.zip |
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
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/nawk/nawk-20121220-r2.ebuild | 49 | ||||
-rw-r--r-- | 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 fe1d7f62e133..000000000000 --- 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 a52e72d09b28..802c7c57c385 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" |