summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2012-07-13 02:44:33 +0000
committerChristoph Junghans <ottxor@gentoo.org>2012-07-13 02:44:33 +0000
commita1d96ec3302ecf9c3184e0cfde34838fc94fa081 (patch)
treec94c2e6e401d9336d3cccf584fd516c37da64942 /sys-apps
parentImprove plasma useflag description (diff)
downloadgentoo-2-a1d96ec3302ecf9c3184e0cfde34838fc94fa081.tar.gz
gentoo-2-a1d96ec3302ecf9c3184e0cfde34838fc94fa081.tar.bz2
gentoo-2-a1d96ec3302ecf9c3184e0cfde34838fc94fa081.zip
set nawk as awk if unset + ~amd64-linux
(Portage version: 2.2.0_alpha117/cvs/Linux i686)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/nawk/ChangeLog8
-rw-r--r--sys-apps/nawk/nawk-20110810-r1.ebuild (renamed from sys-apps/nawk/nawk-20110810.ebuild)17
2 files changed, 20 insertions, 5 deletions
diff --git a/sys-apps/nawk/ChangeLog b/sys-apps/nawk/ChangeLog
index f0a6f615703c..a16d7d058a08 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.3 2012/07/06 21:38:15 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/nawk/ChangeLog,v 1.4 2012/07/13 02:44:33 ottxor Exp $
+
+*nawk-20110810-r1 (13 Jul 2012)
+
+ 13 Jul 2012; Christoph Junghans <ottxor@gentoo.org> -nawk-20110810.ebuild,
+ +nawk-20110810-r1.ebuild:
+ set nawk as awk if unset + ~amd64-linux
06 Jul 2012; Christoph Junghans <ottxor@gentoo.org> nawk-20110810.ebuild:
add ~x86-macos
diff --git a/sys-apps/nawk/nawk-20110810.ebuild b/sys-apps/nawk/nawk-20110810-r1.ebuild
index 78a27232a41f..7ef3cece8e96 100644
--- a/sys-apps/nawk/nawk-20110810.ebuild
+++ b/sys-apps/nawk/nawk-20110810-r1.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/nawk/nawk-20110810.ebuild,v 1.3 2012/07/06 21:38:15 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/nawk/nawk-20110810-r1.ebuild,v 1.1 2012/07/13 02:44:33 ottxor Exp $
EAPI="4"
@@ -12,11 +12,12 @@ SRC_URI="http://www.cs.princeton.edu/~bwk/btl.mirror/awk.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~x86 ~x86-macos"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-macos"
IUSE=""
-RDEPEND=""
-DEPEND="virtual/yacc"
+RDEPEND="app-admin/eselect"
+DEPEND="${RDEPEND}
+ virtual/yacc"
S="${WORKDIR}"
@@ -33,3 +34,11 @@ src_install() {
doman "${PN}".1
dodoc README FIXES
}
+
+pkg_postinst() {
+ eselect pinentry update ifunset
+}
+
+pkg_postrm() {
+ eselect pinentry update ifunset
+}