Here is an update for HTML::TableContentParser.

What's new upstream [0]:

- modernise the distribution and tests, fix documentation
- fix table in table parsing
- treat <th> like <td>, the old behaviour has been kept as an option

What's new in the port: 

- reflow DESCR
- put a valid license marker
- spacing fixes

Testing: 

- 'make test' passes
- there are no consumers

Comments/feedback are welcome!

Charlène. 


[0]
https://metacpan.org/source/WYANT/HTML-TableContentParser-0.301/Changes


Index: Makefile
===================================================================
RCS file: /cvs/ports/www/p5-HTML-TableContentParser/Makefile,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 Makefile
--- Makefile    20 Mar 2016 19:57:18 -0000      1.13
+++ Makefile    20 May 2019 21:04:53 -0000
@@ -4,14 +4,12 @@ COMMENT=      module to parse the content of 
 
 MODULES=       cpan
 PKG_ARCH=      *
-DISTNAME=      HTML-TableContentParser-0.13
-REVISION=      3
+DISTNAME=      HTML-TableContentParser-0.301
 CATEGORIES=    www devel
 
-# GPL
-PERMIT_PACKAGE_CDROM=   Yes
+# Perl
+PERMIT_PACKAGE_CDROM=  Yes
 
 RUN_DEPENDS=   www/p5-HTML-Parser
-BUILD_DEPENDS= ${RUN_DEPENDS}
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/p5-HTML-TableContentParser/distinfo,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 distinfo
--- distinfo    18 Jan 2015 03:15:44 -0000      1.4
+++ distinfo    20 May 2019 21:04:53 -0000
@@ -1,2 +1,2 @@
-SHA256 (HTML-TableContentParser-0.13.tar.gz) = 
PrnID2Wt9QgwCpX1kdjFjct9dOkLG35dTZkIWZxbVWg=
-SIZE (HTML-TableContentParser-0.13.tar.gz) = 4664
+SHA256 (HTML-TableContentParser-0.301.tar.gz) = 
NdExHoDNoXdBYu2E2+IlWQ9ofhoy2sCbKizQvEqMxGU=
+SIZE (HTML-TableContentParser-0.301.tar.gz) = 17316
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/www/p5-HTML-TableContentParser/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 DESCR
--- pkg/DESCR   30 Jun 2004 08:29:04 -0000      1.1.1.1
+++ pkg/DESCR   20 May 2019 21:04:53 -0000
@@ -1,6 +1,5 @@
-This module pulls out the contents of a table from a
-string containing HTML.  Each time a table is encountered,
-data will be stored in an array consisting of a hash of
-whatever was discovered about the table -- id, name, bor-
-der, cellspacing etc, and of course data contained within
-the table.
+This module pulls out the contents of a table from a string containing
+HTML. Each time a table is encountered, data will be stored in an array
+consisting of a hash of whatever was discovered about the table -- id,
+name, border, cellspacing etc, and of course data contained within the
+table.

Reply via email to