diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-10-16 16:34:43 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-10-16 16:34:43 +0000 |
commit | 0866d2a0b90a23764146e8c1dd14c49fac460d3f (patch) | |
tree | 37363a3ce9e3761ec465ad4b6c4aac12bddb28bb /dev-tex/hlatex | |
parent | Added to ~ppc (Manifest recommit) (diff) | |
download | gentoo-2-0866d2a0b90a23764146e8c1dd14c49fac460d3f.tar.gz gentoo-2-0866d2a0b90a23764146e8c1dd14c49fac460d3f.tar.bz2 gentoo-2-0866d2a0b90a23764146e8c1dd14c49fac460d3f.zip |
Marked as stable.
Diffstat (limited to 'dev-tex/hlatex')
-rw-r--r-- | dev-tex/hlatex/ChangeLog | 5 | ||||
-rw-r--r-- | dev-tex/hlatex/hlatex-0.991.ebuild | 17 |
2 files changed, 17 insertions, 5 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/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 |