diff options
author | Mamoru Komachi <usata@gentoo.org> | 2003-12-08 07:55:23 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2003-12-08 07:55:23 +0000 |
commit | 7c3e4216a837ec80437dd197db63fd49fae02307 (patch) | |
tree | ad3edcae065e9ca1ea4a94ef54cc0fa230244df2 /dev-tex | |
parent | Version bumped. Fixed keepdir (diff) | |
download | gentoo-2-7c3e4216a837ec80437dd197db63fd49fae02307.tar.gz gentoo-2-7c3e4216a837ec80437dd197db63fd49fae02307.tar.bz2 gentoo-2-7c3e4216a837ec80437dd197db63fd49fae02307.zip |
Version bumped. Fixed keepdir
Diffstat (limited to 'dev-tex')
-rw-r--r-- | dev-tex/latex2html/ChangeLog | 8 | ||||
-rw-r--r-- | dev-tex/latex2html/Manifest | 6 | ||||
-rw-r--r-- | dev-tex/latex2html/files/digest-latex2html-2002.2.1 | 1 | ||||
-rw-r--r-- | dev-tex/latex2html/latex2html-2002.1.ebuild | 6 | ||||
-rw-r--r-- | dev-tex/latex2html/latex2html-2002.2.1.ebuild | 76 |
5 files changed, 89 insertions, 8 deletions
diff --git a/dev-tex/latex2html/ChangeLog b/dev-tex/latex2html/ChangeLog index d0181466757b..a5cebcde9d4f 100644 --- a/dev-tex/latex2html/ChangeLog +++ b/dev-tex/latex2html/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-tex/latex2html # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2html/ChangeLog,v 1.3 2003/10/16 13:09:31 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2html/ChangeLog,v 1.4 2003/12/08 07:55:19 usata Exp $ + +*latex2html-2002.2.1 (08 Dec 2003) + + 08 Dec 2003; Mamoru KOMACHI <usata@gentoo.org> latex2html-2002.1.ebuild, + latex2html-2002.2.1.ebuild: + Version bumped *latex2html-2002.2 (08 Nov 2002) diff --git a/dev-tex/latex2html/Manifest b/dev-tex/latex2html/Manifest index 2eac3bb04f1c..cfede58e0e71 100644 --- a/dev-tex/latex2html/Manifest +++ b/dev-tex/latex2html/Manifest @@ -1,7 +1,7 @@ -MD5 19a055c53232d9bd6401edab1101b768 ChangeLog 2334 -MD5 cf4571a9e7d2bd553317b61b09736f2d latex2html-2002.1.ebuild 2083 +MD5 81b4bc8fd0f7ebe3d239b42da985417b ChangeLog 2493 +MD5 32997e274620e5bc13c2d40155a5ebe9 latex2html-2002.1.ebuild 2083 MD5 95e4b142c0acf74e349fef059032820a latex2html-2002.2.ebuild 2110 -MD5 d415cc0c370ab3180ad70c23bd97c316 latex2html-2002.2.1.ebuild 2057 +MD5 08d513d79590aaf9f93e65c61f7dc951 latex2html-2002.2.1.ebuild 2059 MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164 MD5 a89847621e215147adc4b263ceb9b00c files/digest-latex2html-2002.1 70 MD5 b4c0404c2535e091016053386676d0bc files/digest-latex2html-2002.2 70 diff --git a/dev-tex/latex2html/files/digest-latex2html-2002.2.1 b/dev-tex/latex2html/files/digest-latex2html-2002.2.1 new file mode 100644 index 000000000000..1ad6b19d0889 --- /dev/null +++ b/dev-tex/latex2html/files/digest-latex2html-2002.2.1 @@ -0,0 +1 @@ +MD5 be845028fcda69bde9ea0db200500f7a latex2html-2002-2-1.tar.gz 1122869 diff --git a/dev-tex/latex2html/latex2html-2002.1.ebuild b/dev-tex/latex2html/latex2html-2002.1.ebuild index bf26d99a3f70..509e52f903e1 100644 --- a/dev-tex/latex2html/latex2html-2002.1.ebuild +++ b/dev-tex/latex2html/latex2html-2002.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2html/latex2html-2002.1.ebuild,v 1.3 2003/10/16 13:09:31 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2html/latex2html-2002.1.ebuild,v 1.4 2003/12/08 07:55:19 usata Exp $ MY_P=${P/./-} S=${WORKDIR}/${MY_P} @@ -62,9 +62,7 @@ src_install() { dodoc BUGS Changes FAQ INSTALL LICENSE MANIFEST README TODO # make /usr/share/latex2html sticky - touch .keep - insinto /usr/share/latex2html - doins .keep + keepdir /usr/share/latex2html # clean the perl scripts up to remove references to the sandbox sed -i "s:${T}::g" ${D}/usr/lib/latex2html/pstoimg.pl diff --git a/dev-tex/latex2html/latex2html-2002.2.1.ebuild b/dev-tex/latex2html/latex2html-2002.2.1.ebuild new file mode 100644 index 000000000000..adbb0e224605 --- /dev/null +++ b/dev-tex/latex2html/latex2html-2002.2.1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2html/latex2html-2002.2.1.ebuild,v 1.1 2003/12/08 07:55:19 usata Exp $ + +MY_P=${P//./-} +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/${MY_P}.tar.gz" +HOMEPAGE="http://www.latex2html.org/" + +SLOT="0" +LICENSE="as-is" +KEYWORDS="~x86 ~alpha" +IUSE="gif png" + +DEPEND="app-text/ghostscript + virtual/tetex + media-libs/netpbm + dev-lang/perl + gif? ( media-libs/giflib + media-libs/libungif ) + png? ( media-libs/libpng )" + +src_compile() { + local myconf + + use gif || use png || myconf="${myconf} --disable-images" + + econf --libdir=/usr/lib/latex2html \ + --shlibdir=/usr/lib/latex2html \ + --enable-pk \ + --enable-eps \ + --enable-reverse \ + --enable-pipes \ + --enable-paths \ + --enable-wrapper \ + `use_enable gif` \ + `use_enable png` \ + ${myconf} || die "econf failed" + make || die + make check || die +} + +src_install() { + dodir /usr/bin /usr/lib/latex2html /usr/share/latex2html + dodir /usr/share/texmf/tex/latex/html + cp cfgcache.pm cfgcache.pm.bak + + # mktexlsr is run later to avoid a sandbox violation + sed \ + -e "/BINDIR\|LIBDIR\|SHLIBDIR\|TEXPATH/s#q'/#q'"${D}"#" \ + -e "/MKTEXLSR/s:q'.*':q'':" \ + cfgcache.pm.bak > cfgcache.pm + + make install || die + insinto /usr/lib/latex2html + newins cfgcache.pm.bak cfgcache.pm + + dodoc BUGS Changes FAQ INSTALL LICENSE MANIFEST README TODO + + # make /usr/share/latex2html sticky + keepdir /usr/share/latex2html + + # clean the perl scripts up to remove references to the sandbox + einfo "fixing sandbox references" + einfo ${T} + dosed "s:${T}:/tmp:g" /usr/lib/latex2html/pstoimg.pl + dosed "s:${S}::g" /usr/lib/latex2html/latex2html.pl + dosed "s:${T}:/tmp:g" /usr/lib/latex2html/cfgcache.pm + dosed "s:${T}:/tmp:g" /usr/lib/latex2html/l2hconf.pm +} + +pkg_postinst() { + einfo "Running mktexlsr to rebuild ls-R database...." + mktexlsr +} |