summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <abcd@gentoo.org>2010-02-22 21:12:43 +0000
committerJonathan Callen <abcd@gentoo.org>2010-02-22 21:12:43 +0000
commit763b06d056399fe15edbb78692e7320db21f69ec (patch)
tree16ea313de9abed40c3ba640972af70c9e5054d54 /dev-tex/hlatex/hlatex-1.0.1.ebuild
parentTransfer prefix keywords, bump EAPI (diff)
downloadgentoo-2-763b06d056399fe15edbb78692e7320db21f69ec.tar.gz
gentoo-2-763b06d056399fe15edbb78692e7320db21f69ec.tar.bz2
gentoo-2-763b06d056399fe15edbb78692e7320db21f69ec.zip
Transfer prefix keywords, bump EAPI
(Portage version: -svn/cvs/Linux i686)
Diffstat (limited to 'dev-tex/hlatex/hlatex-1.0.1.ebuild')
-rw-r--r--dev-tex/hlatex/hlatex-1.0.1.ebuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/dev-tex/hlatex/hlatex-1.0.1.ebuild b/dev-tex/hlatex/hlatex-1.0.1.ebuild
index d0352de94efb..e10b459b4243 100644
--- a/dev-tex/hlatex/hlatex-1.0.1.ebuild
+++ b/dev-tex/hlatex/hlatex-1.0.1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/hlatex/hlatex-1.0.1.ebuild,v 1.2 2008/02/04 20:42:56 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/hlatex/hlatex-1.0.1.ebuild,v 1.3 2010/02/22 21:12:43 abcd Exp $
+
+EAPI=3
inherit toolchain-funcs latex-package
@@ -28,7 +30,7 @@ SRC_URI="ftp://ftp.ktug.or.kr/pub/ktug/hlatex/${MY_P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""
S="${WORKDIR}/HLaTeX"
@@ -78,7 +80,7 @@ src_install() {
insinto ${TEXMF}/fonts/map/hlatex
doins uhc-base.map uhc-extra.map
- cd "${D}"/${TEXMF}/fonts
+ cd "${ED}"/${TEXMF}/fonts
for X in ${UHCFONTS}
do
unpack ${X}
@@ -92,11 +94,11 @@ pkg_postinst() {
}
pkg_postrm() {
- if [ ! -e ${TEXMF}/fonts/map/hlatex/uhc-base.map ] ; then
+ if [ ! -e "${EPREFIX}"${TEXMF}/fonts/map/hlatex/uhc-base.map ] ; then
updmap-sys --disable Map=uhc-base.map
fi
- if [ ! -e ${TEXMF}/fonts/map/hlatex/uhc-extra.map ] ; then
+ if [ ! -e "${EPREFIX}"${TEXMF}/fonts/map/hlatex/uhc-extra.map ] ; then
updmap-sys --disable Map=uhc-extra.map
fi