summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-01-21 22:50:50 +0100
committerDavid Seifert <soap@gentoo.org>2020-01-21 22:50:50 +0100
commitfc7e885bf5412e5fd096290b92dd7006a4b36521 (patch)
treefbb6052986f641c4bd197c72b043d34b1956b41b /app-text/expander
parentapp-text/gocr: Port to EAPI 7 (diff)
downloadgentoo-fc7e885bf5412e5fd096290b92dd7006a4b36521.tar.gz
gentoo-fc7e885bf5412e5fd096290b92dd7006a4b36521.tar.bz2
gentoo-fc7e885bf5412e5fd096290b92dd7006a4b36521.zip
app-text/expander: Port to EAPI 7
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-text/expander')
-rw-r--r--app-text/expander/expander-2.0.5-r2.ebuild32
1 files changed, 11 insertions, 21 deletions
diff --git a/app-text/expander/expander-2.0.5-r2.ebuild b/app-text/expander/expander-2.0.5-r2.ebuild
index 1c4a5c12ffbd..c1ddd2ee423e 100644
--- a/app-text/expander/expander-2.0.5-r2.ebuild
+++ b/app-text/expander/expander-2.0.5-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=7
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
DESCRIPTION="Expander is a utility that acts as a filter for text editors"
HOMEPAGE="http://www.nedit.org"
@@ -12,35 +12,25 @@ SRC_URI="ftp://ftp.nedit.org/pub/contrib/misc/nedit_expander_kit_2.05.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-linux ~ppc-macos"
-IUSE=""
-S=${WORKDIR}/${PN}
+S="${WORKDIR}/${PN}"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-gentoo.patch
-}
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
src_compile() {
emake -C src CC=$(tc-getCC)
}
src_install() {
- cd src
- dobin expander boxcomment align_columns align_comments where_is
+ dobin src/{expander,boxcomment,align_columns,align_comments,where_is}
dosym boxcomment /usr/bin/unboxcomment
- insinto /usr/share/${P}
- doins "${S}"/service
- for x in defs macros misc templates ; do
- insinto /usr/share/${P}/${x}
- doins "${S}"/${x}/*
- done
-
- cd "${S}"/docs
- doman *.1
+ einstalldocs
+ dodoc USAGE
+ doman docs/*.1
- cd "${S}"
- dodoc ChangeLog INSTALL README USAGE
+ insinto /usr/share/${P}
+ doins -r service defs macros misc templates
}
pkg_postinst() {