diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-fonts/monafont | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-fonts/monafont')
-rw-r--r-- | media-fonts/monafont/Manifest | 2 | ||||
-rw-r--r-- | media-fonts/monafont/metadata.xml | 9 | ||||
-rw-r--r-- | media-fonts/monafont/monafont-2.90-r2.ebuild | 65 |
3 files changed, 76 insertions, 0 deletions
diff --git a/media-fonts/monafont/Manifest b/media-fonts/monafont/Manifest new file mode 100644 index 000000000000..5749961d6c27 --- /dev/null +++ b/media-fonts/monafont/Manifest @@ -0,0 +1,2 @@ +DIST monafont-2.90.tar.bz2 808897 SHA256 26e608598edb2c9f1a662acd8bf4e06dc75910a69fc76698e4e062113a401978 +DIST monafont-ttf-2.90.zip 1712768 SHA256 06b324342ad13ea06a7e74811e1334a28cc52a1a16f9a326a919249622daeed6 diff --git a/media-fonts/monafont/metadata.xml b/media-fonts/monafont/metadata.xml new file mode 100644 index 000000000000..b009a20c9f28 --- /dev/null +++ b/media-fonts/monafont/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>fonts</herd> + <herd>cjk</herd> + <upstream> + <remote-id type="sourceforge">monafont</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-fonts/monafont/monafont-2.90-r2.ebuild b/media-fonts/monafont/monafont-2.90-r2.ebuild new file mode 100644 index 000000000000..50c7ac1427ca --- /dev/null +++ b/media-fonts/monafont/monafont-2.90-r2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit font + +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 )" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd" +IUSE="truetype" + +DEPEND="x11-apps/bdftopcf + x11-apps/mkfontdir + dev-lang/perl + >=sys-apps/sed-4 + app-arch/unzip" +RDEPEND="" + +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_compile() { + PERL_BADLANG=0 ; LC_CTYPE=C + export PERL_BADLANG LC_CTYPE + emake X11BINDIR="/usr/bin" || die +} + +src_install() { + make install X11BINDIR="/usr/bin" X11FONTDIR="${D}/${FONTDIR}" || die + mkfontdir "${D}/${FONTDIR}" + insinto "${FONTDIR}" + newins fonts.alias.mona fonts.alias + dodoc README* + + if use truetype ; then + DOCS="${WORKDIR}/README-ttf.txt" + font_src_install + fi +} + +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." + elog + elog "\tFontPath \"${FONTDIR}\"" + elog +} |