On Mon, Apr 12, 2010 at 12:51:25PM +0200, Matthias Kilian wrote:
> > Also the package only changes the texmf-local texmf tree, so you can do
> > (instead of what you have now):
> > @exec mktexlsr %D/share/texmf-local
> > 
> > This will be much quicker as you will not be indexing the large texmf
> > trees that come with texlive.
> 
> Thanks. I already tried that, it's really much better. I'll also
> check the duplicated files you mention in the other mail and create
> a better diff for latex2html.

New diff below. For the duplicated files: I've only @commented two
files under texmf-local (latin9.def and url.sty), since the other
stuff shouldn't cause harm to texlive. No idea wether this as bad
effects on latex2html itself, but this whole latex2html thing already
looks semi-broken to me.

Ciao,
        Kili

Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/latex2html/Makefile,v
retrieving revision 1.26
diff -u -p -r1.26 Makefile
--- Makefile    1 Oct 2007 11:42:30 -0000       1.26
+++ Makefile    13 Apr 2010 12:45:08 -0000
@@ -2,17 +2,15 @@
 
 COMMENT=       LaTeX to HTML converter
 
-VERSION=       2002-2-1
-DISTNAME=      latex2html-${VERSION}
-PKGNAME=       latex2html-${VERSION:S/-/./g}p1
+DISTNAME=      latex2html-2008
 CATEGORIES=    textproc www
 
 HOMEPAGE=      http://www.latex2html.org/
 
-# mixed licenses
-PERMIT_PACKAGE_CDROM=  no fee
+# GPLv2
+PERMIT_PACKAGE_CDROM=  Yes
 PERMIT_PACKAGE_FTP=    Yes
-PERMIT_DISTFILES_CDROM=        no fee
+PERMIT_DISTFILES_CDROM=        Yes
 PERMIT_DISTFILES_FTP=  Yes
 
 MASTER_SITES=  ${MASTER_SITE_TEX_CTAN:=support/latex2html/}
Index: distinfo
===================================================================
RCS file: /cvs/ports/textproc/latex2html/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo    5 Apr 2007 17:26:15 -0000       1.4
+++ distinfo    13 Apr 2010 12:45:08 -0000
@@ -1,5 +1,5 @@
-MD5 (latex2html-2002-2-1.tar.gz) = N0iJGaxP00ddOJ3f2wrqAg==
-RMD160 (latex2html-2002-2-1.tar.gz) = ifNEY/EWKLlfKWPSkXKCWpCKwxk=
-SHA1 (latex2html-2002-2-1.tar.gz) = VQgwzhe+TYoNNJ25uVvxXQ5adTI=
-SHA256 (latex2html-2002-2-1.tar.gz) = 
2vFAsjESpm5QMgKnmSu1I4CyX/6pO+jypP1hTexbBiU=
-SIZE (latex2html-2002-2-1.tar.gz) = 1122706
+MD5 (latex2html-2008.tar.gz) = J1q2z6jKkyhEa39A2NwwLg==
+RMD160 (latex2html-2008.tar.gz) = qV8GJT1vyICP/tytft+CNRlNd1Y=
+SHA1 (latex2html-2008.tar.gz) = XgqkdXLgwTpMXaUelj1Ulr4/huc=
+SHA256 (latex2html-2008.tar.gz) = WUVoFaOYQlDCldPVxGuFZGA4242yc1zcDTeAz02jN60=
+SIZE (latex2html-2008.tar.gz) = 1133054
Index: patches/patch-config_install_pl
===================================================================
RCS file: /cvs/ports/textproc/latex2html/patches/patch-config_install_pl,v
retrieving revision 1.2
diff -u -p -r1.2 patch-config_install_pl
--- patches/patch-config_install_pl     28 Apr 2005 14:42:27 -0000      1.2
+++ patches/patch-config_install_pl     13 Apr 2010 12:45:08 -0000
@@ -1,6 +1,6 @@
 $OpenBSD: patch-config_install_pl,v 1.2 2005/04/28 14:42:27 sturm Exp $
---- config/install.pl.orig     Sun Apr 28 07:15:01 2002
-+++ config/install.pl  Thu Apr 28 16:34:43 2005
+--- config/install.pl.orig     Fri Nov 29 12:49:01 2002
++++ config/install.pl  Fri Apr  9 14:59:24 2010
 @@ -219,9 +219,7 @@ my %Install_items = (
    #'configure'         => 'lib',
    #'configure.in'      => 'lib',
@@ -11,7 +11,7 @@ $OpenBSD: patch-config_install_pl,v 1.2 
    'foilhtml'          => 'lib,recurse',
    # icons are teated specially below
    # the local config is also installed
-@@ -371,12 +369,13 @@ foreach $item (sort keys %Install_items)
+@@ -371,12 +369,13 @@ foreach $item (sort keys %Install_items) {
  #-----------------------------------------------------------------------------
  
  if($cfg{TEXPATH}) {
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/textproc/latex2html/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST
--- pkg/PLIST   28 Apr 2005 14:42:27 -0000      1.5
+++ pkg/PLIST   13 Apr 2010 12:45:08 -0000
@@ -207,6 +207,7 @@ share/latex2html/makeseg/makeseg.tex
 share/latex2html/readme.hthtml
 share/latex2html/styles/
 share/latex2html/styles/CJK.perl
+share/latex2html/styles/SIunits.perl
 share/latex2html/styles/TEMPLATE.perl
 share/latex2html/styles/afrikaan.perl
 share/latex2html/styles/alltt.perl
@@ -285,6 +286,7 @@ share/latex2html/styles/psfrag.perl
 share/latex2html/styles/report.perl
 share/latex2html/styles/rgb.txt
 share/latex2html/styles/romanian.perl
+share/latex2html/styles/russian.perl
 share/latex2html/styles/scottish.perl
 share/latex2html/styles/seminar.perl
 share/latex2html/styles/slides.perl
@@ -305,7 +307,6 @@ share/latex2html/styles/wrapfig.perl
 share/latex2html/styles/xspace.perl
 share/latex2html/styles/xy.perl
 share/latex2html/texinputs/
-share/latex2html/texinputs/floatflt.ins
 share/latex2html/texinputs/frames.sty
 share/latex2html/texinputs/heqn.sty
 share/latex2html/texinputs/hthtml.sty
@@ -351,17 +352,16 @@ share/latex2html/versions/utf8.pl
 share/texmf-local/tex/
 share/texmf-local/tex/latex/
 share/texmf-local/tex/latex/html/
-share/texmf-local/tex/latex/html/floatflt.ins
 share/texmf-local/tex/latex/html/frames.sty
 share/texmf-local/tex/latex/html/heqn.sty
 share/texmf-local/tex/latex/html/hthtml.sty
 share/texmf-local/tex/latex/html/html.sty
 share/texmf-local/tex/latex/html/htmllist.sty
 share/texmf-local/tex/latex/html/justify.sty
-share/texmf-local/tex/latex/html/latin9.def
+...@comment share/texmf-local/tex/latex/html/latin9.def
 share/texmf-local/tex/latex/html/ldump.sty
 share/texmf-local/tex/latex/html/techexplHTML.tex
-share/texmf-local/tex/latex/html/url.sty
+...@comment share/texmf-local/tex/latex/html/url.sty
 share/texmf-local/tex/latex/html/verbatimfiles.sty
-...@exec TEXMFMAIN=%D/share/texmf %D/bin/mktexlsr
-...@unexec TEXMFMAIN=%D/share/texmf %D/bin/mktexlsr
+...@exec %D/bin/mktexlsr %D/share/texmf-local > /dev/null 2>&1
+...@unexec %D/bin/mktexlsr %D/share/texmf-local > /dev/null 2>&1

Reply via email to