public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-fonts/monafont/
@ 2019-10-19 18:07 David Seifert
  0 siblings, 0 replies; 5+ messages in thread
From: David Seifert @ 2019-10-19 18:07 UTC (permalink / raw
  To: gentoo-commits

commit:     096108d6549d1d52d0cccac69c63eee6bf7c77a0
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 19 18:06:18 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Oct 19 18:06:18 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=096108d6

media-fonts/monafont: Port to EAPI 7

Bug: https://bugs.gentoo.org/697298
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 media-fonts/monafont/monafont-2.90-r2.ebuild | 46 +++++++++++++++-------------
 1 file changed, 24 insertions(+), 22 deletions(-)

diff --git a/media-fonts/monafont/monafont-2.90-r2.ebuild b/media-fonts/monafont/monafont-2.90-r2.ebuild
index 8a7b62dca1d..e08506b5e6e 100644
--- a/media-fonts/monafont/monafont-2.90-r2.ebuild
+++ b/media-fonts/monafont/monafont-2.90-r2.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=0
+EAPI=7
 
 inherit font
 
@@ -9,48 +9,50 @@ MY_P="${P/_/}"
 
 DESCRIPTION="Japanese bitmap and TrueType fonts suitable for browsing 2ch"
 HOMEPAGE="http://monafont.sourceforge.net"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2
-		truetype? ( mirror://sourceforge/${PN}/${PN}-ttf-${PV}.zip )"
+SRC_URI="
+	mirror://sourceforge/${PN}/${MY_P}.tar.bz2
+	truetype? ( mirror://sourceforge/${PN}/${PN}-ttf-${PV}.zip )"
 
 LICENSE="public-domain"
 SLOT="0"
 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86"
 IUSE="truetype"
+# Only installs fonts
+RESTRICT="strip binchecks"
 
-DEPEND="x11-apps/bdftopcf
-		>=x11-apps/mkfontscale-1.2.0
-		dev-lang/perl
-		>=sys-apps/sed-4
-		app-arch/unzip"
-RDEPEND=""
+BDEPEND="
+	app-arch/unzip
+	dev-lang/perl
+	x11-apps/bdftopcf
+	x11-apps/mkfontscale"
 
 S="${WORKDIR}/${MY_P}"
+
 FONT_S="${WORKDIR}"
 FONT_SUFFIX="ttf"
 FONTDIR="/usr/share/fonts/${PN}"
 
-# Only installs fonts
-RESTRICT="strip binchecks"
-
-src_unpack() {
-	unpack ${A}
-	sed -i -e 's:$(X11BINDIR)/mkdirhier:/bin/mkdir -p:' "${S}/Makefile"
+src_prepare() {
+	default
+	sed -i -e 's:$(X11BINDIR)/mkdirhier:/bin/mkdir -p:' Makefile || die
 }
 
 src_compile() {
-	PERL_BADLANG=0 ; LC_CTYPE=C
-	export PERL_BADLANG LC_CTYPE
-	emake X11BINDIR="/usr/bin" || die
+	export PERL_BADLANG=0
+	export LC_CTYPE=C
+	emake X11BINDIR="${EPREFIX}/usr/bin"
 }
 
 src_install() {
-	make install X11BINDIR="/usr/bin" X11FONTDIR="${D}/${FONTDIR}" || die
-	mkfontdir "${D}/${FONTDIR}"
+	emake install X11BINDIR="${EPREFIX}/usr/bin" X11FONTDIR="${ED}${FONTDIR}"
+
+	mkfontdir "${ED}${FONTDIR}"
 	insinto "${FONTDIR}"
 	newins fonts.alias.mona fonts.alias
+
 	dodoc README*
 
-	if use truetype ; then
+	if use truetype; then
 		DOCS="${WORKDIR}/README-ttf.txt"
 		font_src_install
 	fi
@@ -61,6 +63,6 @@ pkg_postinst() {
 	elog "You need to add following line into 'Section \"Files\"' in"
 	elog "XF86Config and reboot X Window System, to use these fonts."
 	elog
-	elog "\tFontPath \"${FONTDIR}\""
+	elog "\tFontPath \"${EROOT}${FONTDIR}\""
 	elog
 }


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-fonts/monafont/
@ 2022-03-05 12:51 Yixun Lan
  0 siblings, 0 replies; 5+ messages in thread
From: Yixun Lan @ 2022-03-05 12:51 UTC (permalink / raw
  To: gentoo-commits

commit:     b5ec1032d4134a1b229e2faeb69b875b789b7259
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  5 12:41:40 2022 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Sat Mar  5 12:41:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5ec1032

media-fonts/monafont: keyword ~riscv, #834599

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 media-fonts/monafont/monafont-2.90-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-fonts/monafont/monafont-2.90-r2.ebuild b/media-fonts/monafont/monafont-2.90-r2.ebuild
index 23269cffe90b..ec38e0eb010e 100644
--- a/media-fonts/monafont/monafont-2.90-r2.ebuild
+++ b/media-fonts/monafont/monafont-2.90-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="public-domain"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
 IUSE="truetype"
 # Only installs fonts
 RESTRICT="strip binchecks"


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-fonts/monafont/
@ 2022-06-16 16:30 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2022-06-16 16:30 UTC (permalink / raw
  To: gentoo-commits

commit:     6212f96125fea72940ab53724361354db14571d7
Author:     Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz>
AuthorDate: Wed Jun  8 19:57:33 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 16 16:30:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6212f961

media-fonts/monafont: fix unquoted variable WORKDIR

Signed-off-by: Thomas Bracht Laumann Jespersen <t <AT> laumann.xyz>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-fonts/monafont/monafont-2.90-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-fonts/monafont/monafont-2.90-r2.ebuild b/media-fonts/monafont/monafont-2.90-r2.ebuild
index cd1f0edcde6a..413f643c582a 100644
--- a/media-fonts/monafont/monafont-2.90-r2.ebuild
+++ b/media-fonts/monafont/monafont-2.90-r2.ebuild
@@ -52,7 +52,7 @@ src_install() {
 	dodoc README.{ascii,euc}
 
 	if use truetype; then
-		local DOCS=( ${WORKDIR}/README-ttf.txt )
+		local DOCS=( "${WORKDIR}"/README-ttf.txt )
 		font_src_install
 	fi
 }


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-fonts/monafont/
@ 2023-07-03 22:02 Conrad Kostecki
  0 siblings, 0 replies; 5+ messages in thread
From: Conrad Kostecki @ 2023-07-03 22:02 UTC (permalink / raw
  To: gentoo-commits

commit:     81fdc29cccca6b1d2e242fedc9be5d637e99a2f4
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sun Jul  2 08:53:38 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Mon Jul  3 22:02:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81fdc29c

media-fonts/monafont: use HTTPS

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 media-fonts/monafont/monafont-2.90-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-fonts/monafont/monafont-2.90-r2.ebuild b/media-fonts/monafont/monafont-2.90-r2.ebuild
index 413f643c582a..f2b92ad6bc6a 100644
--- a/media-fonts/monafont/monafont-2.90-r2.ebuild
+++ b/media-fonts/monafont/monafont-2.90-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -7,7 +7,7 @@ MY_P="${P/_/}"
 inherit font
 
 DESCRIPTION="Japanese bitmap and TrueType fonts suitable for browsing 2ch"
-HOMEPAGE="http://monafont.sourceforge.net/"
+HOMEPAGE="https://monafont.sourceforge.net/"
 SRC_URI="
 	mirror://sourceforge/${PN}/${MY_P}.tar.bz2
 	truetype? ( mirror://sourceforge/${PN}/${PN}-ttf-${PV}.zip )"


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-fonts/monafont/
@ 2024-08-30 17:11 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2024-08-30 17:11 UTC (permalink / raw
  To: gentoo-commits

commit:     1ccad48c72f11dd51c654a0e8130a404bfb5ad0c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 30 17:09:29 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 30 17:09:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ccad48c

media-fonts/monafont: Keyword 2.90-r2 arm64, #937303

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-fonts/monafont/monafont-2.90-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-fonts/monafont/monafont-2.90-r2.ebuild b/media-fonts/monafont/monafont-2.90-r2.ebuild
index 06d38487b6dd..f4d4462f57ae 100644
--- a/media-fonts/monafont/monafont-2.90-r2.ebuild
+++ b/media-fonts/monafont/monafont-2.90-r2.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="public-domain"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
 IUSE="truetype"
 # Only installs fonts
 RESTRICT="strip binchecks"


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-08-30 17:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-05 12:51 [gentoo-commits] repo/gentoo:master commit in: media-fonts/monafont/ Yixun Lan
  -- strict thread matches above, loose matches on Subject: below --
2024-08-30 17:11 Sam James
2023-07-03 22:02 Conrad Kostecki
2022-06-16 16:30 Sam James
2019-10-19 18:07 David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox