diff options
Diffstat (limited to 'app-misc/sl')
-rw-r--r-- | app-misc/sl/sl-5.02.ebuild | 11 |
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 } |