summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-27 08:58:44 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-27 08:58:44 +0000
commiteac5246f31c2bf7f3d5f1a4f5768b0ce2d99d0c9 (patch)
tree7035d4c2ce8a44c79d43aa0e3d9a6d2d4efb0535 /app-text/latex2html
parentcleanup (diff)
downloadgentoo-2-eac5246f31c2bf7f3d5f1a4f5768b0ce2d99d0c9.tar.gz
gentoo-2-eac5246f31c2bf7f3d5f1a4f5768b0ce2d99d0c9.tar.bz2
gentoo-2-eac5246f31c2bf7f3d5f1a4f5768b0ce2d99d0c9.zip
cleanup
Diffstat (limited to 'app-text/latex2html')
-rw-r--r--app-text/latex2html/latex2html-2000.1b.ebuild54
1 files changed, 27 insertions, 27 deletions
diff --git a/app-text/latex2html/latex2html-2000.1b.ebuild b/app-text/latex2html/latex2html-2000.1b.ebuild
index 8f074d3b3972..55a7b8ba2e67 100644
--- a/app-text/latex2html/latex2html-2000.1b.ebuild
+++ b/app-text/latex2html/latex2html-2000.1b.ebuild
@@ -1,14 +1,13 @@
-# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Michael Conrad Tilstra <tadpol@gentoo.org> <tadpol@tadpol.org>
-# $Header: /var/cvsroot/gentoo-x86/app-text/latex2html/latex2html-2000.1b.ebuild,v 1.2 2001/08/02 20:34:51 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/latex2html/latex2html-2000.1b.ebuild,v 1.3 2002/04/27 08:58:44 seemant Exp $
#darn weird naming...
-P=latex2html-2K.1beta
-A=${P}.tar.gz
-S=${WORKDIR}/${P}
+MY_P=${PN}-2K.1beta
+S=${WORKDIR}/${MY_P}
DESCRIPTION="LATEX2HTML is a convertor written in Perl that converts LATEX documents to HTML."
-SRC_URI="http://saftsack.fs.uni-bayreuth.de/~latex2ht/current/${A}"
+SRC_URI="http://saftsack.fs.uni-bayreuth.de/~latex2ht/current/${MY_P}.tar.gz"
HOMEPAGE="http://www.latex2html.org"
DEPEND="virtual/glibc"
@@ -20,33 +19,34 @@ RDEPEND="sys-devel/perl
"
src_compile() {
- try ./configure --prefix=/usr --mandir=/usr/share/man --host=${CHOST}
- try make
- try make check
-# try make test
+ econf || die
+ make || die
+ make check || die
+# make test || die
}
src_install () {
- # modify cfgcache.pm
- [ -f cfgcache.pm.backup ] && mv cfgcache.pm.backup cfgcache.pm
- cat cfgcache.pm | sed -e "/BINDIR/s:/usr/bin:${D}usr/bin:" \
- -e "/LIBDIR/s:/usr/lib:${D}usr/lib:" \
- -e "/TEXPATH/s:/usr/share:${D}usr/share:" \
- -e '/MKTEXLSR/s:/usr/bin/mktexlsr::' > cfgcache.NEW
- mv cfgcache.pm cfgcache.pm.backup
- mv cfgcache.NEW cfgcache.pm
-
- dodir /usr/bin /usr/lib/latex2html /usr/share/texmf/tex/latex/html
- try make install
-
- cp cfgcache.pm.backup ${D}/usr/lib/latex2html/cfgcache.pm
- #Install docs
- dodoc BUGS Changes FAQ INSTALL LICENSE MANIFEST README TODO
+ # modify cfgcache.pm
+ [ -f cfgcache.pm.backup ] && mv cfgcache.pm.backup cfgcache.pm
+ cat cfgcache.pm | sed \
+ -e "/BINDIR/s:/usr/bin:${D}usr/bin:" \
+ -e "/LIBDIR/s:/usr/lib:${D}usr/lib:" \
+ -e "/TEXPATH/s:/usr/share:${D}usr/share:" \
+ -e '/MKTEXLSR/s:/usr/bin/mktexlsr::' > cfgcache.NEW
+ mv cfgcache.pm cfgcache.pm.backup
+ mv cfgcache.NEW cfgcache.pm
+
+ dodir /usr/bin /usr/lib/latex2html /usr/share/texmf/tex/latex/html
+ make install || die
+
+ cp cfgcache.pm.backup ${D}/usr/lib/latex2html/cfgcache.pm
+ #Install docs
+ dodoc BUGS Changes FAQ INSTALL LICENSE MANIFEST README TODO
}
pkg_postinst() {
- einfo "Running mktexlsr to rebuild ls-R database...."
- mktexlsr
+ einfo "Running mktexlsr to rebuild ls-R database...."
+ mktexlsr
}