summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2003-07-27 17:30:19 +0000
committerMamoru Komachi <usata@gentoo.org>2003-07-27 17:30:19 +0000
commit12bd7fa8fa1f3136f2f46aaa361a6030718ee221 (patch)
tree2a2e64cb6f46f88fbc4abe200c174a3367eb05dc /media-fonts/aquafont/aquafont-2.7.ebuild
parentnew ebuild (diff)
downloadhistorical-12bd7fa8fa1f3136f2f46aaa361a6030718ee221.tar.gz
historical-12bd7fa8fa1f3136f2f46aaa361a6030718ee221.tar.bz2
historical-12bd7fa8fa1f3136f2f46aaa361a6030718ee221.zip
new ebuild
Diffstat (limited to 'media-fonts/aquafont/aquafont-2.7.ebuild')
-rw-r--r--media-fonts/aquafont/aquafont-2.7.ebuild51
1 files changed, 51 insertions, 0 deletions
diff --git a/media-fonts/aquafont/aquafont-2.7.ebuild b/media-fonts/aquafont/aquafont-2.7.ebuild
new file mode 100644
index 000000000000..2ed1e7923f95
--- /dev/null
+++ b/media-fonts/aquafont/aquafont-2.7.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/aquafont/aquafont-2.7.ebuild,v 1.1 2003/07/27 17:29:27 usata Exp $
+
+IUSE=""
+MY_P="${PN/font/}${PV/\./_}"
+
+DESCRIPTION="Very pretty truetype font"
+HOMEPAGE="http://aquablue.milkcafe.to/"
+SRC_URI="http://aquablue.milkcafe.to/fnt/${MY_P}.lzh"
+
+KEYWORDS="~x86"
+LICENSE="aquafont"
+SLOT=0
+
+S="${WORKDIR}/${MY_P}"
+DEPEND="app-arch/lha"
+RDEPEND=""
+
+FONTDIR="/usr/share/fonts/ttf/ja/aqua"
+
+src_unpack(){
+
+ lha e ${DISTDIR}/${MY_P}.lzh
+}
+
+src_install(){
+
+ insinto ${FONTDIR}
+ doins ${PN}.ttf
+ mkfontscale ${D}/${FONTDIR}
+ newins ${D}/${FONTDIR}/fonts.scale fonts.dir
+
+ dodoc readme.txt
+}
+
+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 \"${FONTDIR}\""
+ einfo ""
+}
+
+pkg_postrm(){
+ einfo "You need you remove following line in 'Section \"Files\"' in"
+ einfo "XF86Config, to unmerge this package completely."
+ einfo ""
+ eifno "\t FontPath \"${FONTDIR}\""
+ einfo ""
+}