diff options
author | Alastair Tse <liquidx@gentoo.org> | 2004-09-27 09:27:46 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2004-09-27 09:27:46 +0000 |
commit | 7344b1e0ac1ea57c5570dbbe2998902ad7456568 (patch) | |
tree | 904ee4ace3422feaa15bc80d7ca0ede981f6528e /media-fonts/hkscs-ming | |
parent | stable bump (Manifest recommit) (diff) | |
download | gentoo-2-7344b1e0ac1ea57c5570dbbe2998902ad7456568.tar.gz gentoo-2-7344b1e0ac1ea57c5570dbbe2998902ad7456568.tar.bz2 gentoo-2-7344b1e0ac1ea57c5570dbbe2998902ad7456568.zip |
stable bump
Diffstat (limited to 'media-fonts/hkscs-ming')
3 files changed, 2 insertions, 60 deletions
diff --git a/media-fonts/hkscs-ming/files/digest-hkscs-ming-1.0_pre20030919 b/media-fonts/hkscs-ming/files/digest-hkscs-ming-1.0_pre20030919 deleted file mode 100644 index 2d23e2f8fb13..000000000000 --- a/media-fonts/hkscs-ming/files/digest-hkscs-ming-1.0_pre20030919 +++ /dev/null @@ -1 +0,0 @@ -MD5 f05fbcbf0b47ff9ecb1c95935c54613a setup.bin 17105645 diff --git a/media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919-r1.ebuild b/media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919-r1.ebuild index 67bdf7eab128..28e67d973f54 100644 --- a/media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919-r1.ebuild +++ b/media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919-r1.ebuild,v 1.3 2004/07/29 19:12:55 kugelfang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919-r1.ebuild,v 1.4 2004/09/27 09:27:18 liquidx Exp $ inherit rpm font @@ -14,7 +14,7 @@ SRC_URI="http://www.info.gov.hk/digital21/chi/hkscs/download/linux_redhat/setup. LICENSE="HKSCS" SLOT="0" -KEYWORDS="~x86 ~ppc ~amd64" +KEYWORDS="x86 ~ppc ~amd64" IUSE="" DEPEND="" diff --git a/media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919.ebuild b/media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919.ebuild deleted file mode 100644 index bb0a00653ce9..000000000000 --- a/media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919.ebuild,v 1.4 2004/06/24 22:28:33 agriffis Exp $ - -inherit rpm - -RESTRICT="nomirror nostrip" - -RPM_V=1.0 - -DESCRIPTION="Hong Kong SAR Government Official Reference Chinese Font that implements ISO10646 and HKSCS-2001" -HOMEPAGE="http://www.info.gov.hk/digital21/eng/hkscs/hkscs_iso.html" -SRC_URI="http://www.info.gov.hk/digital21/chi/hkscs/download/linux_redhat/setup.bin" - -LICENSE="HKSCS" -SLOT="0" -KEYWORDS="~x86 ~ppc" -IUSE="" - -DEPEND="" - -S=${WORKDIR} - -src_unpack() { - # complicated and convoluted unpack procedure - LINENUMBER=237 - cd ${S}; tail -n +${LINENUMBER} ${DISTDIR}/${A} | tar zxv || die "unpack failed" - - # then we rpm_unpack the fonts package - rpm_unpack ${S}/package_rh/imfont-${RPM_V}-0.i386.rpm -} - -src_compile() { - return -} - -src_install() { - insinto /usr/share/fonts/ttf/chinese/hkscs - doins usr/share/inputmethod/ming_uni.ttf - - /usr/X11R6/bin/mkfontscale ${D}/usr/share/fonts/ttf/chinese/hkscs - /usr/X11R6/bin/mkfontdir ${D}/usr/share/fonts/ttf/chinese/hkscs -} - -pkg_postinst() { - einfo "The font name installed is 'Ming(for ISO10646)'. To add make it" - einfo "the default Chinese font, you should add entries to your" - einfo "/etc/fonts/local.conf similar to:" - einfo " " - einfo "<alias>" - einfo " <family>Luxi Sans</family>" - einfo " <family>Bitstream Vera Sans</family>" - einfo " <family>Ming(for ISO10646)</family>" - einfo " <default><family>sans-serif</family></default>" - einfo "</alias>" - einfo " " -} |