summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-10-16 16:34:43 +0000
committerMamoru Komachi <usata@gentoo.org>2004-10-16 16:34:43 +0000
commit0573a28a14498f6a2e5c1465077a44b0abc20155 (patch)
treea6a9c322c7c1b84af5361574e8fff38bf860f3bd /dev-tex
parentAdded to ~ppc (diff)
downloadhistorical-0573a28a14498f6a2e5c1465077a44b0abc20155.tar.gz
historical-0573a28a14498f6a2e5c1465077a44b0abc20155.tar.bz2
historical-0573a28a14498f6a2e5c1465077a44b0abc20155.zip
Marked as stable.
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/hlatex/ChangeLog5
-rw-r--r--dev-tex/hlatex/Manifest4
-rw-r--r--dev-tex/hlatex/hlatex-0.991.ebuild17
3 files changed, 19 insertions, 7 deletions
diff --git a/dev-tex/hlatex/ChangeLog b/dev-tex/hlatex/ChangeLog
index dff160631db1..60d9b0cff6a8 100644
--- a/dev-tex/hlatex/ChangeLog
+++ b/dev-tex/hlatex/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-tex/hlatex
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/hlatex/ChangeLog,v 1.2 2004/09/04 23:02:20 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/hlatex/ChangeLog,v 1.3 2004/10/16 16:34:43 usata Exp $
+
+ 17 Oct 2004; Mamoru KOMACHI <usata@gentoo.org> hlatex-0.991.ebuild:
+ Marked as stable.
05 Sep 2004; David Holm <dholm@gentoo.org> hlatex-0.991.ebuild:
Added to ~ppc.
diff --git a/dev-tex/hlatex/Manifest b/dev-tex/hlatex/Manifest
index 8efacd77d82b..247d3f99e7b2 100644
--- a/dev-tex/hlatex/Manifest
+++ b/dev-tex/hlatex/Manifest
@@ -1,4 +1,4 @@
-MD5 a9eaf17ae964524020efbb9c7591eab7 ChangeLog 496
-MD5 209e41828b030b028653822c0a7f4499 hlatex-0.991.ebuild 2586
+MD5 0a1953a409cdb7484af77f97b3384d2b hlatex-0.991.ebuild 2653
MD5 08a13dead5ee92731a0c2a5ce146729a metadata.xml 181
+MD5 694457789ad672bb5d9f8e4f835276e2 ChangeLog 587
MD5 cb574b2ff1d38560d4201882a41a7e8f files/digest-hlatex-0.991 136
diff --git a/dev-tex/hlatex/hlatex-0.991.ebuild b/dev-tex/hlatex/hlatex-0.991.ebuild
index 2588a80afda2..8f9318466668 100644
--- a/dev-tex/hlatex/hlatex-0.991.ebuild
+++ b/dev-tex/hlatex/hlatex-0.991.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/dev-tex/hlatex/hlatex-0.991.ebuild,v 1.2 2004/09/04 23:02:20 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/hlatex/hlatex-0.991.ebuild,v 1.3 2004/10/16 16:34:43 usata Exp $
inherit latex-package
@@ -12,15 +12,19 @@ SRC_URI="http://user.chollian.net/~jh1228/data/gentoo/${P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~ppc"
+KEYWORDS="x86 ppc alpha"
IUSE=""
-DEPEND="virtual/tetex"
add_line() {
FILE=$1
STRING=$2
+ if [ ! -e "${FILE}" ]
+ then
+ return
+ fi
+
if [ -z "`grep "^${STRING}$" ${FILE}`" ]
then
echo "${STRING}" >> ${FILE}
@@ -33,6 +37,11 @@ del_line() {
FILE=$1
STRING=$2
+ if [ ! -e "${FILE}" ]
+ then
+ return
+ fi
+
cp ${FILE} ${FILE}.temp
CMD=`echo "/^${STRING}$/d"`
sed -e "${CMD}" ${FILE}.temp > ${FILE}
@@ -93,8 +102,8 @@ src_install() {
pkg_postinst() {
- add_line "${TEXMF}/dvips/config/config.ps" "p +uhc-down.map"
add_line "${TEXMF}/pdftex/config/pdftex.cfg" "map +uhc-pdftex.map"
+ add_line "${TEXMF}/dvips/config/config.ps" "p +uhc-down.map"
add_line "${TEXMF}/dvipdfm/config/config" "f uhc-dvipdfm.map"
texhash