diff options
Diffstat (limited to 'media-fonts/mplus-fonts/mplus-fonts-2.1.2.ebuild')
-rw-r--r-- | media-fonts/mplus-fonts/mplus-fonts-2.1.2.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/media-fonts/mplus-fonts/mplus-fonts-2.1.2.ebuild b/media-fonts/mplus-fonts/mplus-fonts-2.1.2.ebuild new file mode 100644 index 000000000000..7c75cc33f6a7 --- /dev/null +++ b/media-fonts/mplus-fonts/mplus-fonts-2.1.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/mplus-fonts/mplus-fonts-2.1.2.ebuild,v 1.1 2003/12/17 18:26:19 usata Exp $ + +IUSE="X" + +MY_P="mplus_bitmap_fonts-${PV}" + +DESCRIPTION="M+ Japanese bitmap fonts" +HOMEPAGE="http://mplus-fonts.sourceforge.jp/" +SRC_URI="mirror://sourceforge.jp/${PN}/5030/${MY_P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~arm ~amd64 ~ia64" + +DEPEND="virtual/x11 + dev-lang/perl" +RDEPEND="X? ( virtual/x11 )" + +S="${WORKDIR}/${MY_P}" +FONTPATH="/usr/share/fonts/mplus" + +src_install(){ + DESTDIR="${D}${FONTPATH}" ./install_mplus_fonts || die + dodoc README* INSTALL* +} + +pkg_postinst(){ + + einfo + einfo "You need you add following line into 'Section \"Files\"' in" + einfo "XF86Config and reboot X Window System, to use these fonts." + einfo + einfo "\t FontPath \"${FONTPATH}\"" + einfo +} + +pkg_postrm(){ + + einfo + einfo "You need you remove following line in 'Section \"Files\"' in" + einfo "XF86Config, to unmerge this package completely." + einfo + einfo "\t FontPath \"${FONTPATH}\"" + einfo +} |