diff options
author | Christoph Junghans <ottxor@gentoo.org> | 2013-02-06 03:19:35 +0000 |
---|---|---|
committer | Christoph Junghans <ottxor@gentoo.org> | 2013-02-06 03:19:35 +0000 |
commit | 58a703f922c91b2a6f39234590e9f17594c80d3d (patch) | |
tree | 63753f7635e65d135cbab5587c50e77b6a66c694 /sys-apps/nawk | |
parent | Fix silent-rules, bug #449016 (diff) | |
download | gentoo-2-58a703f922c91b2a6f39234590e9f17594c80d3d.tar.gz gentoo-2-58a703f922c91b2a6f39234590e9f17594c80d3d.tar.bz2 gentoo-2-58a703f922c91b2a6f39234590e9f17594c80d3d.zip |
version bump + use gentoo mirror
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key C2000586)
Diffstat (limited to 'sys-apps/nawk')
-rw-r--r-- | sys-apps/nawk/ChangeLog | 10 | ||||
-rw-r--r-- | sys-apps/nawk/nawk-20110810-r1.ebuild | 6 | ||||
-rw-r--r-- | sys-apps/nawk/nawk-20121220.ebuild | 44 |
3 files changed, 55 insertions, 5 deletions
diff --git a/sys-apps/nawk/ChangeLog b/sys-apps/nawk/ChangeLog index ff48f0e70a1d..421fad77db9a 100644 --- a/sys-apps/nawk/ChangeLog +++ b/sys-apps/nawk/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/nawk -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/nawk/ChangeLog,v 1.6 2012/10/12 22:04:36 naota Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/nawk/ChangeLog,v 1.7 2013/02/06 03:19:35 ottxor Exp $ + +*nawk-20121220 (06 Feb 2013) + + 06 Feb 2013; Christoph Junghans <ottxor@gentoo.org> +nawk-20121220.ebuild, + nawk-20110810-r1.ebuild: + version bump + use gentoo mirror 12 Oct 2012; <naota@gentoo.org> nawk-20110810-r1.ebuild: Add ~x86-fbsd. #419555 diff --git a/sys-apps/nawk/nawk-20110810-r1.ebuild b/sys-apps/nawk/nawk-20110810-r1.ebuild index 6074e692e5d5..8e5867154f87 100644 --- a/sys-apps/nawk/nawk-20110810-r1.ebuild +++ b/sys-apps/nawk/nawk-20110810-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2012 Gentoo Foundation +# 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.3 2012/10/12 22:04:36 naota Exp $ +# $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" @@ -8,7 +8,7 @@ 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="http://www.cs.princeton.edu/~bwk/btl.mirror/awk.tar.gz -> ${P}.tar.gz" +SRC_URI="mirror://gentoo.org/${P}.tar.gz" LICENSE="MIT" SLOT="0" diff --git a/sys-apps/nawk/nawk-20121220.ebuild b/sys-apps/nawk/nawk-20121220.ebuild new file mode 100644 index 000000000000..7e41b26e2c52 --- /dev/null +++ b/sys-apps/nawk/nawk-20121220.ebuild @@ -0,0 +1,44 @@ +# 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-20121220.ebuild,v 1.1 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) 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 +} |