summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2012-05-14 02:24:51 +0000
committerNaohiro Aota <naota@gentoo.org>2012-05-14 02:24:51 +0000
commitc430fef6c11d6c4ab8a59379620e20d2e8334470 (patch)
tree85addebbe130ea6cdfbcfe09857b9906558b2593 /media-fonts/hkscs-ming
parentPunt unnecessary polkit and consolekit dependencies (bug #407653, thanks to A... (diff)
downloadgentoo-2-c430fef6c11d6c4ab8a59379620e20d2e8334470.tar.gz
gentoo-2-c430fef6c11d6c4ab8a59379620e20d2e8334470.tar.bz2
gentoo-2-c430fef6c11d6c4ab8a59379620e20d2e8334470.zip
Revbump to update HOMEPAGE, SRC_URI and LICENSE. #308951
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'media-fonts/hkscs-ming')
-rw-r--r--media-fonts/hkscs-ming/ChangeLog10
-rw-r--r--media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919-r2.ebuild49
2 files changed, 57 insertions, 2 deletions
diff --git a/media-fonts/hkscs-ming/ChangeLog b/media-fonts/hkscs-ming/ChangeLog
index 91eb66697f1c..235031b9d84d 100644
--- a/media-fonts/hkscs-ming/ChangeLog
+++ b/media-fonts/hkscs-ming/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-fonts/hkscs-ming
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/hkscs-ming/ChangeLog,v 1.14 2008/02/24 12:17:32 armin76 Exp $
+# Copyright 2000-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/hkscs-ming/ChangeLog,v 1.15 2012/05/14 02:24:51 naota Exp $
+
+*hkscs-ming-1.0_pre20030919-r2 (14 May 2012)
+
+ 14 May 2012; Naohiro Aota <naota@gentoo.org>
+ +hkscs-ming-1.0_pre20030919-r2.ebuild:
+ Revbump to update HOMEPAGE, SRC_URI and LICENSE. #308951
24 Feb 2008; Raúl Porcel <armin76@gentoo.org>
hkscs-ming-1.0_pre20030919-r1.ebuild:
diff --git a/media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919-r2.ebuild b/media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919-r2.ebuild
new file mode 100644
index 000000000000..062ab5346d41
--- /dev/null
+++ b/media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919-r2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2012 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-r2.ebuild,v 1.1 2012/05/14 02:24:51 naota Exp $
+
+inherit rpm font
+
+RESTRICT="mirror strip binchecks"
+
+RPM_V=1.0
+
+DESCRIPTION="Hong Kong SAR Government Official Reference Chinese Font that implements ISO10646 and HKSCS-2001"
+HOMEPAGE="http://www.ogcio.gov.hk/en/business/tech_promotion/ccli/hkscs/"
+SRC_URI="http://www.ogcio.gov.hk/en/business/tech_promotion/ccli/terms/doc/mandrake_setup.bin"
+
+LICENSE="HKSCS-2001"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=""
+
+S=${WORKDIR}
+FONT_S="${S}/usr/share/inputmethod"
+FONT_SUFFIX="ttf"
+
+src_unpack() {
+ # complicated and convoluted unpack procedure
+ local linenumber=237
+ cd "${S}"; tail -n +${linenumber} "${DISTDIR}/${A}" | tar zxvf - || die "unpack failed"
+
+ # then we rpm_unpack the fonts package
+ rpm_unpack "${S}/package_mdk/imfont-${RPM_V}-0.i386.rpm"
+}
+
+src_compile() { :; }
+
+pkg_postinst() {
+ elog "The font name installed is 'Ming(for ISO10646)'. To add make it"
+ elog "the default Chinese font, you should add entries to your"
+ elog "/etc/fonts/local.conf similar to:"
+ elog
+ elog "<alias>"
+ elog " <family>Luxi Sans</family>"
+ elog " <family>Bitstream Vera Sans</family>"
+ elog " <family>Ming(for ISO10646)</family>"
+ elog " <default><family>sans-serif</family></default>"
+ elog "</alias>"
+ elog
+}