# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ IUSE="" DESCRIPTION="Japanese bitmap fonts for X" SRC_URI="http://openlab.jp/efont/dist/shinonome/${P}.tar.bz2" HOMEPAGE="http://openlab.jp/efont/shinonome/" LICENSE="public-domain" SLOT=0 KEYWORDS="x86 alpha sparc ppc" DEPEND="virtual/glibc virtual/x11 dev-lang/perl sys-apps/gawk" RDEPEND="" src_compile(){ # Install to /usr/X11R6/lib/X11/fonts/shinonome econf --with-pcf --without-bdf --enable-compress=gzip \ --with-fontdir=${D}/usr/share/fonts/shinonome || die emake || die } src_install(){ emake install || die emake install-alias || die dodoc AUTHORS BUGS ChangeLog* DESIGN* INSTALL LICENSE README THANKS TODO } pkg_postinst(){ 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 \"/usr/share/fonts/shinonome\"" einfo "" } pkg_postrm(){ einfo "You need you remove following line in 'Section \"Files\"' in" einfo "XF86Config, to unmerge this package completely." einfo "" einfo "\t FontPath \"/usr/share/fonts/shinonome\"" einfo "" }