Update to 2016.

This commit is contained in:
Hiroki Sato 2016-11-04 19:26:35 +00:00
parent fde0acf7af
commit f54f1e63ec
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=425352
6 changed files with 16 additions and 1322 deletions

View File

@ -2,14 +2,16 @@
# $FreeBSD$
PORTNAME= latex2html
PORTVERSION= 2008
PORTREVISION= 4
PORTVERSION= 2016
CATEGORIES= textproc
MASTER_SITES= TEX_CTAN/support/${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Convert LaTeX documents to HTML
LICENSE= GPLv2
LICENSE_FILES= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/bin/anytopnm:graphics/netpbm
RUN_DEPENDS:= ${BUILD_DEPENDS}
@ -26,12 +28,12 @@ CONFIGURE_ARGS= --with-perl=${PERL} \
SUB_FILES= pkg-message
PLIST_SUB= TEXMFDIR=${TEXMFDIR}
TEXHASHDIRS= ${TEXMFDIR}
PORTDOCS= FAQ INSTALL LICENSE README
PORTDOCS= FAQ INSTALL README
OPTIONS_DEFINE= DOCS
post-install:
${INSTALL_MAN} ${FILESDIR}/latex2html.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/latex2html.1 ${STAGEDIR}${MANPREFIX}/man/man1
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}

View File

@ -1,2 +1,3 @@
SHA256 (latex2html-2008.tar.gz) = 59456815a3984250c295d3d5c46b85646038db8db2735cdc0d3780cf4da337ad
SIZE (latex2html-2008.tar.gz) = 1133054
TIMESTAMP = 1466385409
SHA256 (latex2html-2016.tar.gz) = ab1dbc18ab0ec62f65c1f8c14f2b74823a0a2fc54b07d73ca49524bcae071309
SIZE (latex2html-2016.tar.gz) = 1149971

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
--- config/install.pl.orig 2002-11-29 20:49:01.000000000 +0900
+++ config/install.pl 2013-11-03 02:31:07.000000000 +0900
@@ -372,7 +372,7 @@
--- config/install.pl.orig 2016-04-19 16:52:35 UTC
+++ config/install.pl
@@ -372,7 +372,7 @@ foreach $item (sort keys %Install_items)
if($cfg{TEXPATH}) {
print "\nNote: trying to install LaTeX2HTML style files in TeX directory tree\n ($cfg{TEXPATH})\n";

View File

@ -1,29 +0,0 @@
--- latex2html.pin.orig 2015-04-20 16:01:37 UTC
+++ latex2html.pin
@@ -532,7 +532,7 @@ $CHARSET = $charset || 'iso-8859-1';
#
# If possible, use icons of the same type as generated images
#
-if ($IMAGE_TYPE && defined %{"icons_$IMAGE_TYPE"}) {
+if ($IMAGE_TYPE && %{"icons_$IMAGE_TYPE"}) {
%icons = %{"icons_$IMAGE_TYPE"};
}
@@ -2112,7 +2112,7 @@ sub convert_iso_latin_chars {
"\nCould not find translation function for $default_language.\n\n")
}
);
- if ($USE_UTF ||(!$NO_UTF &&(defined %unicode_table)&&length(%unicode_table)>2)) {
+ if ($USE_UTF ||(!$NO_UTF &&(%unicode_table)&&length(%unicode_table)>2)) {
&convert_to_unicode($_)};
}
$_ = join('', @case_processed, $_); undef(@case_processed);
@@ -9117,7 +9117,7 @@ sub real_replace_strange_accents {
my ($charset) = "${CHARSET}_character_map_inv";
$charset =~ s/-/_/g;
# convert upper 8-bit characters
- if (defined %$charset &&($CHARSET =~ /8859[_\-]1$/)) {
+ if ((%$charset) &&($CHARSET =~ /8859[_\-]1$/)) {
s/([\200-\377])/
$tmp = $$charset{'&#'.ord($1).';'};
&mark_string($tmp) if ($tmp =~ m!\{!);

View File

@ -166,6 +166,7 @@ man/man1/latex2html.1.gz
%%DATADIR%%/styles/CJK.perl
%%DATADIR%%/styles/TEMPLATE.perl
%%DATADIR%%/styles/SIunits.perl
%%DATADIR%%/styles/abnt.perl
%%DATADIR%%/styles/afrikaan.perl
%%DATADIR%%/styles/alltt.perl
%%DATADIR%%/styles/american.perl
@ -199,6 +200,7 @@ man/man1/latex2html.1.gz
%%DATADIR%%/styles/epsfig.perl
%%DATADIR%%/styles/esperant.perl
%%DATADIR%%/styles/estonian.perl
%%DATADIR%%/styles/eurosym.perl
%%DATADIR%%/styles/finnish.perl
%%DATADIR%%/styles/floatfig.perl
%%DATADIR%%/styles/floatflt.perl
@ -263,6 +265,7 @@ man/man1/latex2html.1.gz
%%DATADIR%%/styles/wrapfig.perl
%%DATADIR%%/styles/xspace.perl
%%DATADIR%%/styles/xy.perl
%%DATADIR%%/texinputs/floatflt.ins
%%DATADIR%%/texinputs/frames.sty
%%DATADIR%%/texinputs/heqn.sty
%%DATADIR%%/texinputs/hthtml.sty
@ -304,6 +307,7 @@ man/man1/latex2html.1.gz
%%DATADIR%%/versions/techexpl.pl
%%DATADIR%%/versions/unicode.pl
%%DATADIR%%/versions/utf8.pl
%%TEXMFDIR%%/tex/latex/html/floatflt.ins
%%TEXMFDIR%%/tex/latex/html/frames.sty
%%TEXMFDIR%%/tex/latex/html/heqn.sty
%%TEXMFDIR%%/tex/latex/html/hthtml.sty