Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2000 22:32:40 +0900 (JST)
From:      ixtl@utmc.or.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19173: modify japanese/latex2html
Message-ID:  <200006101332.WAA61283@adam.komaba.utmc.or.jp>

next in thread | raw e-mail | index | archive | help

>Number:         19173
>Category:       ports
>Synopsis:       modify japanese/latex2html
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 10 06:40:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Sugimoto Sadahiro
>Release:        FreeBSD 3.3-RELEASE i386
>Organization:
University of Tokyo
>Environment:

FreeBSD babel 3.3-RELEASE FreeBSD 3.3-RELEASE #9: Fri Jun  2 18:50:08 JST 2000
   ixtl@babel:/usr/src/sys/compile/BABEL  i386

>Description:

1. Binary files in files/ directory was removed.
2. The install script in original archive, 'install-test' is used.

>How-To-Repeat:

>Fix:

diff -ruN latex2html-2000607/Makefile latex2html.new/Makefile
--- latex2html-2000607/Makefile	Tue May 30 22:31:36 2000
+++ latex2html.new/Makefile	Wed Jun  7 21:50:08 2000
@@ -2,7 +2,7 @@
 # Date created:		3 Apr 1999
 # Whom:			Sugimoto Sadahiro <ixtl@utmc.or.jp>
 #
-# $FreeBSD: ports/japanese/latex2html/Makefile,v 1.7 2000/05/29 03:11:27 steve Exp $
+# $FreeBSD$
 #
 # Default image format is PNG.
 # If you prefer GIF to PNG, define WITH_GIF (`make -DWITH_GIF`).
@@ -38,28 +38,14 @@
 L2HDIR=		${PREFIX}/share/latex2html
 
 post-patch:
-.for f in configure-pstoimg latex2html latex2html.config \
-	ps2img-n pstoimg pstoimg_nopipes
-		${PERL} -e "s:\\\$$ENV{'L2HMODULE'}/user:${L2HDIR}:" \
-			-pi ${WRKSRC}/$f
-.endfor
 .for f in configure-pstoimg install-test latex2html makemap \
 	ps2img-n pstoimg pstoimg_nopipes texexpand
 		${PERL} -e "s:^\#!/usr/local/bin/perl:\#!${PERL}:" \
 		-pi ${WRKSRC}/$f
 .endfor
-	${PERL} -e "s:^use lib \"/usr/local/share/latex2html\":use lib \'${L2HDIR}\':" \
-	${PERL} -e "s:/usr/local/share/latex2html:${L2HDIR}:" \
-	-pi ${WRKSRC}/texexpand
-.ifdef WITH_GIF
-	${PERL} -pi -e "s|IMAGE_TYPE=.*;|IMAGE_TYPE='gif';|" \
-		${WRKSRC}/latex2html.config
-.endif
 
 do-install:
 	${MKDIR} ${L2HDIR}
-	${INSTALL_DATA} ${FILESDIR}/local.pm ${FILESDIR}/DBM.tst.db \
-		${FILESDIR}/TEST2.TMP ${L2HDIR}
 .for dir in IndicTeX-HTML XyMTeX-HTML cweb2html docs/changebar \
 	docs/hthtml docs/psfiles docs example foilhtml icon-dos icons.gif \
 	icons.png makeseg styles tests texinputs versions
@@ -75,6 +61,11 @@
 .endfor
 	${MKDIR} ${PREFIX}/share/texmf/tex/latex/latex2html
 	${INSTALL_DATA} ${WRKSRC}/texinputs/* ${PREFIX}/share/texmf/tex/latex/latex2html
-	${INSTALL_SCRIPT} ${WRKSRC}/latex2html ${PREFIX}/bin
+.ifdef WITH_GIF
+	cd ${L2HDIR}; ${CAT} ${FILESDIR}/answer-gif | ${PERL} install-test
+.else
+	cd ${L2HDIR}; ${CAT} ${FILESDIR}/answer-png | ${PERL} install-test
+.endif
+	${INSTALL_SCRIPT} ${L2HDIR}/latex2html ${PREFIX}/bin
 
 .include <bsd.port.mk>
diff -ruN latex2html-2000607/files/answer-gif latex2html.new/files/answer-gif
--- latex2html-2000607/files/answer-gif	Thu Jan  1 09:00:00 1970
+++ latex2html.new/files/answer-gif	Tue May 30 15:27:13 2000
@@ -0,0 +1,7 @@
+
+
+
+g
+
+
+
diff -ruN latex2html-2000607/files/answer-png latex2html.new/files/answer-png
--- latex2html-2000607/files/answer-png	Thu Jan  1 09:00:00 1970
+++ latex2html.new/files/answer-png	Tue May 30 15:21:32 2000
@@ -0,0 +1,7 @@
+
+
+
+p
+
+
+
diff -ruN latex2html-2000607/files/local.pm latex2html.new/files/local.pm
--- latex2html-2000607/files/local.pm	Wed Jun  7 21:59:09 2000
+++ latex2html.new/files/local.pm	Thu Jan  1 09:00:00 1970
@@ -1,29 +0,0 @@
-#################################################################
-# local.pm
-#
-# Local Configuration for LaTeX2HTML
-#
-# This file is created automatically. Do not edit!
-#
-#################################################################
-
-package main;
-
-### start pstoimg configuration ###
-$GS_LIB = '   . ; /usr/local/share/ghostscript/5.50vflib ;   /usr/local/share/ghostscript/5.50vflib/vflib ;   /usr/local/share/ghostscript/fonts'; # Inserted by configure-pstoimg
-$GS_DEVICE = 'ppmraw'; # Inserted by configure-pstoimg
-$GS = '/usr/local/bin/gs'; # Inserted by configure-pstoimg
-$PNMCAT = '/usr/X11R6/bin/pnmcat'; # Inserted by configure-pstoimg
-$PNMFILE = '/usr/X11R6/bin/pnmfile'; # Inserted by configure-pstoimg
-$PNMTOPNG = '/usr/X11R6/bin/pnmtopng'; # Inserted by configure-pstoimg
-$PBMMAKE = '/usr/X11R6/bin/pbmmake'; # Inserted by configure-pstoimg
-$GSLANDSCAPE = '/usr/local/share/ghostscript/5.50vflib/landscap.ps'; # Inserted by configure-pstoimg
-$PPMQUANT = '/usr/X11R6/bin/ppmquant'; # Inserted by configure-pstoimg
-$PNMFLIP = '/usr/X11R6/bin/pnmflip'; # Inserted by configure-pstoimg
-$bg_color = '\#bfbfbf'; # Inserted by configure-pstoimg
-$white_color = '\#ffffff'; # Inserted by configure-pstoimg
-$PNMCROP = '/usr/X11R6/bin/pnmcrop'; # Inserted by configure-pstoimg
-
-### end pstoimg configuration ###
-
-1;
diff -ruN latex2html-2000607/pkg/COMMENT latex2html.new/pkg/COMMENT
--- latex2html-2000607/pkg/COMMENT	Tue May 30 22:31:38 2000
+++ latex2html.new/pkg/COMMENT	Tue May 30 16:15:22 2000
@@ -1 +1 @@
-Japanese LaTeX2HTML with JP patch
+Japanese LaTeX2HTML with JA patch
diff -ruN latex2html-2000607/pkg/DESCR latex2html.new/pkg/DESCR
--- latex2html-2000607/pkg/DESCR	Tue May 30 22:31:38 2000
+++ latex2html.new/pkg/DESCR	Tue May 30 16:15:25 2000
@@ -1,4 +1,4 @@
-Japanese LaTeX2HTML with JP patch
+Japanese LaTeX2HTML with JA patch
 
 This program can be used to convert LaTeX to HTML.  It has many configuration
 options configurable by editing a configuration file.  It can handle equations
diff -ruN latex2html-2000607/pkg/PLIST latex2html.new/pkg/PLIST
--- latex2html-2000607/pkg/PLIST	Tue May 30 22:31:39 2000
+++ latex2html.new/pkg/PLIST	Tue May 30 15:33:25 2000
@@ -63,6 +63,7 @@
 share/latex2html/changebar/manifest.txt
 share/latex2html/changebar/update.txt
 share/latex2html/configure-pstoimg
+share/latex2html/configure-pstoimg.bak
 share/latex2html/cweb2html/Makefile
 share/latex2html/cweb2html/README
 share/latex2html/cweb2html/cweb.perl
@@ -236,12 +237,15 @@
 share/latex2html/icons.png/yellowball.png
 share/latex2html/install-test
 share/latex2html/latex2html
+share/latex2html/latex2html.bak
 share/latex2html/latex2html.config
+share/latex2html/latex2html.config.bak
 share/latex2html/local.pm
 share/latex2html/makemap
 share/latex2html/makeseg/makeseg
 share/latex2html/makeseg/makeseg.tex
 share/latex2html/ps2img-n
+share/latex2html/ps2img-n.bak
 share/latex2html/psfiles/HTMLtab.ps
 share/latex2html/psfiles/dn.gif
 share/latex2html/psfiles/eform.ps
@@ -259,7 +263,9 @@
 share/latex2html/psfiles/table.ps
 share/latex2html/psfiles/up.gif
 share/latex2html/pstoimg
+share/latex2html/pstoimg.bak
 share/latex2html/pstoimg_nopipes
+share/latex2html/pstoimg_nopipes.bak
 share/latex2html/readme.hthtml
 share/latex2html/styles/CJK.perl
 share/latex2html/styles/TEMPLATE.perl
@@ -374,6 +380,7 @@
 share/latex2html/tests/pages1.eps
 share/latex2html/tests/rrm-col.tex
 share/latex2html/texexpand
+share/latex2html/texexpand.bak
 share/latex2html/texinputs/floatflt.ins
 share/latex2html/texinputs/frames.sty
 share/latex2html/texinputs/heqn.sty
@@ -412,6 +419,7 @@
 share/texmf/tex/latex/latex2html/ldump.sty
 share/texmf/tex/latex/latex2html/url.sty
 share/texmf/tex/latex/latex2html/verbatimfiles.sty
+@dirrm share/texmf/tex/latex/latex2html/
 @dirrm share/latex2html/IndicTeX-HTML
 @dirrm share/latex2html/XyMTeX-HTML
 @dirrm share/latex2html/changebar
@@ -433,4 +441,3 @@
 @dirrm share/latex2html/texinputs
 @dirrm share/latex2html/versions
 @dirrm share/latex2html
-@dirrm share/texmf/tex/latex/latex2html/

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006101332.WAA61283>