summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-03-21 11:27:30 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-03-21 20:05:44 +0100
commit46d10be32a908d6969bc0718c9f98e5e2d8c4515 (patch)
tree4b07259b4d24bfe0249ef051cd7fda16c3ace58a /media-fonts/monafont
parentmedia-fonts/source-han-sans: Drop 1.001, EAPI5-- (diff)
downloadgentoo-46d10be32a908d6969bc0718c9f98e5e2d8c4515.tar.gz
gentoo-46d10be32a908d6969bc0718c9f98e5e2d8c4515.tar.bz2
gentoo-46d10be32a908d6969bc0718c9f98e5e2d8c4515.zip
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 <asturm@gentoo.org>
Diffstat (limited to 'media-fonts/monafont')
-rw-r--r--media-fonts/monafont/monafont-2.90-r2.ebuild18
1 files changed, 9 insertions, 9 deletions
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."