diff options
author | Christoph Junghans <ottxor@gentoo.org> | 2012-10-10 21:59:04 +0000 |
---|---|---|
committer | Christoph Junghans <ottxor@gentoo.org> | 2012-10-10 21:59:04 +0000 |
commit | 20fb240077d8f009e14784131d8b7bfaf35e8a1a (patch) | |
tree | dff68ff2ee294e3c2a6fe9d4edac733b5c6efafb /sys-apps/mawk | |
parent | Fix Manifest (diff) | |
download | gentoo-2-20fb240077d8f009e14784131d8b7bfaf35e8a1a.tar.gz gentoo-2-20fb240077d8f009e14784131d8b7bfaf35e8a1a.tar.bz2 gentoo-2-20fb240077d8f009e14784131d8b7bfaf35e8a1a.zip |
add support for virtual/awk (bug #426624)
(Portage version: 2.2.0_alpha136/cvs/Linux i686)
Diffstat (limited to 'sys-apps/mawk')
-rw-r--r-- | sys-apps/mawk/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/mawk/mawk-1.3.4_p20120627.ebuild | 13 |
2 files changed, 17 insertions, 3 deletions
diff --git a/sys-apps/mawk/ChangeLog b/sys-apps/mawk/ChangeLog index 266e5c0aa30e..ce3029a370c6 100644 --- a/sys-apps/mawk/ChangeLog +++ b/sys-apps/mawk/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/mawk # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/mawk/ChangeLog,v 1.25 2012/06/28 03:14:49 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/mawk/ChangeLog,v 1.26 2012/10/10 21:59:04 ottxor Exp $ + + 10 Oct 2012; Christoph Junghans <ottxor@gentoo.org> + mawk-1.3.4_p20120627.ebuild: + add support for virtual/awk (bug #426624) *mawk-1.3.4_p20120627 (28 Jun 2012) @@ -99,4 +103,3 @@ 08 Jun 2003; Brandon Low <lostlogic@gentoo.org> mawk-1.3.3.ebuild: Initial import thanks to bug 20443 - diff --git a/sys-apps/mawk/mawk-1.3.4_p20120627.ebuild b/sys-apps/mawk/mawk-1.3.4_p20120627.ebuild index b26b855551d1..9b4411689a36 100644 --- a/sys-apps/mawk/mawk-1.3.4_p20120627.ebuild +++ b/sys-apps/mawk/mawk-1.3.4_p20120627.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/mawk/mawk-1.3.4_p20120627.ebuild,v 1.1 2012/06/28 03:14:49 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/mawk/mawk-1.3.4_p20120627.ebuild,v 1.2 2012/10/10 21:59:04 ottxor Exp $ EAPI="4" @@ -16,6 +16,9 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos" IUSE="" +RDEPEND="app-admin/eselect-awk" +DEPEND="${RDEPEND}" + S=${WORKDIR}/${MY_P} DOCS=( ACKNOWLEDGMENT CHANGES README ) @@ -32,3 +35,11 @@ src_install() { doexe examples/* docompress -x /usr/share/doc/${PF}/examples } + +pkg_postinst() { + eselect awk update ifunset +} + +pkg_postrm() { + eselect awk update ifunset +} |