diff options
Diffstat (limited to 'sys-apps/nawk/nawk-20110810-r1.ebuild')
-rw-r--r-- | sys-apps/nawk/nawk-20110810-r1.ebuild | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/sys-apps/nawk/nawk-20110810-r1.ebuild b/sys-apps/nawk/nawk-20110810-r1.ebuild deleted file mode 100644 index 8e5867154f87..000000000000 --- a/sys-apps/nawk/nawk-20110810-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/nawk/nawk-20110810-r1.ebuild,v 1.4 2013/02/06 03:19:35 ottxor Exp $ - -EAPI="4" - -inherit 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.org/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux ~x86-macos" -IUSE="" - -RDEPEND="app-admin/eselect-awk" -DEPEND="${RDEPEND} - virtual/yacc" - -S="${WORKDIR}" - -src_compile() { - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" ALLOC="${LDFLAGS}" YACC=$(type -p yacc) -} - -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 -} |