From 46d10be32a908d6969bc0718c9f98e5e2d8c4515 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 21 Mar 2021 11:27:30 +0100 Subject: media-fonts/monafont: Add missing font_pkg_postinst, minor fixups Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner --- media-fonts/monafont/monafont-2.90-r2.ebuild | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'media-fonts') diff --git a/media-fonts/monafont/monafont-2.90-r2.ebuild b/media-fonts/monafont/monafont-2.90-r2.ebuild index 4c5c61053b57..3450333bdb20 100644 --- a/media-fonts/monafont/monafont-2.90-r2.ebuild +++ b/media-fonts/monafont/monafont-2.90-r2.ebuild @@ -1,17 +1,17 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit font - MY_P="${P/_/}" +inherit font DESCRIPTION="Japanese bitmap and TrueType fonts suitable for browsing 2ch" -HOMEPAGE="http://monafont.sourceforge.net" +HOMEPAGE="http://monafont.sourceforge.net/" SRC_URI=" mirror://sourceforge/${PN}/${MY_P}.tar.bz2 truetype? ( mirror://sourceforge/${PN}/${PN}-ttf-${PV}.zip )" +S="${WORKDIR}/${MY_P}" LICENSE="public-domain" SLOT="0" @@ -24,9 +24,8 @@ BDEPEND=" app-arch/unzip dev-lang/perl x11-apps/bdftopcf - x11-apps/mkfontscale" - -S="${WORKDIR}/${MY_P}" + x11-apps/mkfontscale +" FONT_S="${WORKDIR}" FONT_SUFFIX="ttf" @@ -50,15 +49,16 @@ src_install() { insinto "${FONTDIR}" newins fonts.alias.mona fonts.alias - dodoc README* + dodoc README.{ascii,euc} if use truetype; then - DOCS="${WORKDIR}/README-ttf.txt" + local DOCS=( ${WORKDIR}/README-ttf.txt ) font_src_install fi } pkg_postinst() { + font_pkg_postinst elog elog "You need to add following line into 'Section \"Files\"' in" elog "XF86Config and reboot X Window System, to use these fonts." -- cgit v1.2.3-65-gdbad