diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-11-26 21:58:45 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-11-26 21:58:45 +0000 |
commit | 7ab6b5800a90dcbe615ba9600293362b9c0abbfa (patch) | |
tree | d187d42987d61b11f1efa0aa629c55e3459365ac /media-fonts/hkscs-ming | |
parent | Stable on ppc64 (diff) | |
download | gentoo-2-7ab6b5800a90dcbe615ba9600293362b9c0abbfa.tar.gz gentoo-2-7ab6b5800a90dcbe615ba9600293362b9c0abbfa.tar.bz2 gentoo-2-7ab6b5800a90dcbe615ba9600293362b9c0abbfa.zip |
Add ~x86-fbsd keyword, fix the unpack function for bsdtar compatibility, use elog instead of einfo for the setup information, fix quoting, add binchecks restrict.
(Portage version: 2.1.2_rc2-r2)
Diffstat (limited to 'media-fonts/hkscs-ming')
-rw-r--r-- | media-fonts/hkscs-ming/ChangeLog | 8 | ||||
-rw-r--r-- | media-fonts/hkscs-ming/files/digest-hkscs-ming-1.0_pre20030919-r1 | 2 | ||||
-rw-r--r-- | media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919-r1.ebuild | 36 |
3 files changed, 26 insertions, 20 deletions
diff --git a/media-fonts/hkscs-ming/ChangeLog b/media-fonts/hkscs-ming/ChangeLog index 700a8c2f7b5a..b0e7e57796f6 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-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/hkscs-ming/ChangeLog,v 1.8 2006/07/11 18:08:17 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-fonts/hkscs-ming/ChangeLog,v 1.9 2006/11/26 21:58:45 flameeyes Exp $ + + 26 Nov 2006; Diego Pettenò <flameeyes@gentoo.org> + hkscs-ming-1.0_pre20030919-r1.ebuild: + Add ~x86-fbsd keyword, fix the unpack function for bsdtar compatibility, use + elog instead of einfo for the setup information, fix quoting, add binchecks + restrict. 11 Jul 2006; Aron Griffis <agriffis@gentoo.org> hkscs-ming-1.0_pre20030919-r1.ebuild: diff --git a/media-fonts/hkscs-ming/files/digest-hkscs-ming-1.0_pre20030919-r1 b/media-fonts/hkscs-ming/files/digest-hkscs-ming-1.0_pre20030919-r1 index 2d23e2f8fb13..e883ffa1f145 100644 --- a/media-fonts/hkscs-ming/files/digest-hkscs-ming-1.0_pre20030919-r1 +++ b/media-fonts/hkscs-ming/files/digest-hkscs-ming-1.0_pre20030919-r1 @@ -1 +1,3 @@ MD5 f05fbcbf0b47ff9ecb1c95935c54613a setup.bin 17105645 +RMD160 d57332ddd0032bf7ad1e3c1c1fa8380123c15118 setup.bin 17105645 +SHA256 33d6ea5441136d201aa0b4d2bdf920054f59a0d6b1e3df4d76ac4475e8e25489 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 03ac73770bd4..73fff3b3fa78 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,10 +1,10 @@ # Copyright 1999-2006 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.8 2006/09/03 06:38:20 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919-r1.ebuild,v 1.9 2006/11/26 21:58:45 flameeyes Exp $ inherit rpm font -RESTRICT="nomirror nostrip" +RESTRICT="nomirror strip binchecks" RPM_V=1.0 @@ -14,7 +14,7 @@ SRC_URI="http://www.info.gov.hk/digital21/chi/hkscs/download/linux_redhat/setup. LICENSE="HKSCS" SLOT="0" -KEYWORDS="alpha ~amd64 arm ia64 ppc s390 sh x86" +KEYWORDS="alpha ~amd64 arm ia64 ppc s390 sh x86 ~x86-fbsd" IUSE="" DEPEND="" @@ -26,26 +26,24 @@ FONT_SUFFIX="ttf" src_unpack() { # complicated and convoluted unpack procedure LINENUMBER=237 - cd ${S}; tail -n +${LINENUMBER} ${DISTDIR}/${A} | tar zxv || die "unpack failed" + cd "${S}"; tail -n +${LINENUMBER} "${DISTDIR}/${A}" | tar zxvf - || die "unpack failed" # then we rpm_unpack the fonts package - rpm_unpack ${S}/package_rh/imfont-${RPM_V}-0.i386.rpm + rpm_unpack "${S}/package_rh/imfont-${RPM_V}-0.i386.rpm" } -src_compile() { - return -} +src_compile() { :; } 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 + 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 } |