summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2017-06-14 11:53:35 +0200
committerPatrice Clement <monsieurp@gentoo.org>2017-06-14 11:54:37 +0200
commit36982924d609007d940a0cb48ab77e00e9a27fba (patch)
tree161c4a066f39c4dd98375f7add4eaf3d11b7e4a2 /app-misc/sl
parentmedia-sound/mikmod: bump to 3.2.8 (diff)
downloadgentoo-36982924d609007d940a0cb48ab77e00e9a27fba.tar.gz
gentoo-36982924d609007d940a0cb48ab77e00e9a27fba.tar.bz2
gentoo-36982924d609007d940a0cb48ab77e00e9a27fba.zip
app-misc/sl: declare DOCS array in global namespace. quote variables.
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'app-misc/sl')
-rw-r--r--app-misc/sl/sl-5.02.ebuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/app-misc/sl/sl-5.02.ebuild b/app-misc/sl/sl-5.02.ebuild
index 1c87e8f33590..9df694b3499d 100644
--- a/app-misc/sl/sl-5.02.ebuild
+++ b/app-misc/sl/sl-5.02.ebuild
@@ -17,18 +17,23 @@ IUSE="l10n_ja"
RDEPEND="sys-libs/ncurses:0="
DEPEND="${RDEPEND}"
+DOCS=( README.md )
+
src_prepare() {
default
- sed -e "s/-lncurses/$($(tc-getPKG_CONFIG) --libs ncurses)/" -i Makefile || die
+ sed \
+ -e "s/-lncurses/$($(tc-getPKG_CONFIG) --libs ncurses)/" \
+ -i Makefile || die
}
src_install() {
dobin "${PN}"
doman "${PN}.1"
- local DOCS=( README.md )
+
if use l10n_ja; then
- newman ${PN}.1.ja ${PN}.ja.1
+ newman "${PN}.1.ja" "${PN}.ja.1"
DOCS+=( README.ja.md )
fi
+
einstalldocs
}