svn commit: r400483 - in head/textproc: . html2xhtml html2xhtml/files

Pawel Pekala pawel at FreeBSD.org
Thu Oct 29 22:27:41 UTC 2015


Author: pawel
Date: Thu Oct 29 22:27:39 2015
New Revision: 400483
URL: https://svnweb.freebsd.org/changeset/ports/400483

Log:
  html2xhtml converts HTML files into XHTML. It can fix many common
  errors in HTML files (e.g. missing end tags, elements with incorrect
  content model, non-standard elements or attributes, etc.) It can
  also handle invalid or non well-formed XHTML input, and clean it
  to produce a well-formed and valid XHTML output. The output document
  type can be selected among several XHTML DTDs (1.0, 1.1, Basic, etc.)
  
  WWW: http://www.it.uc3m.es/jaf/html2xhtml
  
  PR:		203854
  Submitted by:	wilfried.meindl at gmail.com

Added:
  head/textproc/html2xhtml/
  head/textproc/html2xhtml/Makefile   (contents, props changed)
  head/textproc/html2xhtml/distinfo   (contents, props changed)
  head/textproc/html2xhtml/files/
  head/textproc/html2xhtml/files/patch-src-html.c   (contents, props changed)
  head/textproc/html2xhtml/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Thu Oct 29 22:14:35 2015	(r400482)
+++ head/textproc/Makefile	Thu Oct 29 22:27:39 2015	(r400483)
@@ -300,6 +300,7 @@
     SUBDIR += html2fo
     SUBDIR += html2tex
     SUBDIR += html2text
+    SUBDIR += html2xhtml
     SUBDIR += htmlc
     SUBDIR += htmldoc
     SUBDIR += htmlise

Added: head/textproc/html2xhtml/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/html2xhtml/Makefile	Thu Oct 29 22:27:39 2015	(r400483)
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+PORTNAME=	html2xhtml
+PORTVERSION=	1.3
+CATEGORIES=	textproc
+MASTER_SITES=	http://www.it.uc3m.es/jaf/html2xhtml/downloads/
+
+MAINTAINER=	wilfried.meindl at gmail.com
+COMMENT=	Convert HTML to XHTML
+
+GNU_CONFIGURE=	yes
+USES=		iconv
+
+PLIST_FILES=	bin/dtdquery \
+		bin/html2xhtml \
+		man/man1/html2xhtml.1.gz
+
+.include <bsd.port.mk>

Added: head/textproc/html2xhtml/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/html2xhtml/distinfo	Thu Oct 29 22:27:39 2015	(r400483)
@@ -0,0 +1,2 @@
+SHA256 (html2xhtml-1.3.tar.gz) = 92ab020832b768d623812741fd78a9873b9b261f7ab0bbf01768d5953d8e8a8c
+SIZE (html2xhtml-1.3.tar.gz) = 557407

Added: head/textproc/html2xhtml/files/patch-src-html.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/html2xhtml/files/patch-src-html.c	Thu Oct 29 22:27:39 2015	(r400483)
@@ -0,0 +1,12 @@
+--- src/html.c.orig	2015-08-19 11:12:02 UTC
++++ src/html.c
+@@ -866,9 +866,6 @@ int yy_flex_debug = 0;
+ char *yytext;
+ #line 1 "html.l"
+ #line 4 "html.l"
+-#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+-extern int fileno(FILE *file);
+-#endif
+ 
+ #include <stdio.h>
+ #include <string.h>

Added: head/textproc/html2xhtml/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/html2xhtml/pkg-descr	Thu Oct 29 22:27:39 2015	(r400483)
@@ -0,0 +1,8 @@
+html2xhtml converts HTML files into XHTML. It can fix many common
+errors in HTML files (e.g. missing end tags, elements with incorrect
+content model, non-standard elements or attributes, etc.) It can
+also handle invalid or non well-formed XHTML input, and clean it
+to produce a well-formed and valid XHTML output. The output document
+type can be selected among several XHTML DTDs (1.0, 1.1, Basic, etc.)
+
+WWW: http://www.it.uc3m.es/jaf/html2xhtml


More information about the svn-ports-all mailing list