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/hkscs-ming-1.0_pre20030919-r1.ebuild | |
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/hkscs-ming-1.0_pre20030919-r1.ebuild')
-rw-r--r-- | media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919-r1.ebuild | 36 |
1 files changed, 17 insertions, 19 deletions
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 } |