DESCRIPTION="Japanese bitmap fonts for X" SRC_URI="http://openlab.jp/efont/dist/shinonome/shinonome-0.9.8-src.tar.bz2" HOMEPAGE="http://openlab.jp/efont/shinonome/" LICENSE="Public Domain" SLOT=0 DEPEND="virtual/glibc virtual/x11 sys-devel/perl sys-apps/gawk" RDEPEND="${DEPEND}" A="shinonome-${PV}-src.tar.bz2" S="${WORKDIR}/shinonome-${PV}-src" src_unpack(){ unpack ${A} } src_compile(){ cd ${S} # Install to /usr/X11R6/lib/X11/fonts/shinonome ./configure \ --with-fontdir=${D}/usr/X11R6/lib/X11/fonts/shinonome || die emake || die } src_install(){ cd ${S} emake install || die emake install-alias || die } pkg_postinst(){ einfo "You need you add following line into 'Section \"Files\"' in" einfo "XF86Config and reboot X Window System, to use these fonts." echo -e "\n\t FontPath \"/usr/X11R6/lib/X11/fonts/shinonome\"\n\n" } pkg_postrm(){ einfo "You need you remove following line in 'Section \"Files\"' in" einfo "XF86Config, to unmerge this package completely." echo -e "\n\t FontPath \"/usr/X11R6/lib/X11/fonts/shinonome\"\n\n" }