app-text/sgrep: EAPI bump
authorMikle Kolyada <zlogene@gentoo.org>
Tue, 22 May 2018 16:19:32 +0000 (19:19 +0300)
committerMikle Kolyada <zlogene@gentoo.org>
Tue, 22 May 2018 16:20:00 +0000 (19:20 +0300)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

app-text/sgrep/sgrep-1.94a.ebuild

index 6e31bd75061918167299648035bf81a0c1f210e0..2f7bae2fad407957eada57f8194393648596ee56 100644 (file)
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=6
 
 DESCRIPTION="Use structural criteria to grep and index text, SGML, XML and HTML and filter"
 SRC_URI="ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/${P}.tar.gz"
-HOMEPAGE="http://www.cs.helsinki.fi/u/jjaakkol/sgrep.html"
+HOMEPAGE="https://www.cs.helsinki.fi/u/jjaakkol/sgrep.html"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -13,7 +13,8 @@ KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE=""
 
 src_prepare() {
-       sed -i -e "s:/usr/lib:/etc:g" sgrep.1
+       default
+       sed -i -e "s:/usr/lib:/etc:g" sgrep.1 || die
 }
 
 src_configure() {