summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2019-10-06 03:25:17 +0000
committerkamil <kamil@pkgsrc.org>2019-10-06 03:25:17 +0000
commit4d19bc7ca88ab929abd9e3ac01e8cce5e24bfd1b (patch)
treefc5c50d9e9cb2b50e33a863d9f1c83075ee15935 /textproc
parent9b1ba739b6a9b9ffd60bbf00dd373074627d29cd (diff)
downloadpkgsrc-4d19bc7ca88ab929abd9e3ac01e8cce5e24bfd1b.tar.gz
tcl-tDOM: Update to 0.9.1
pkgsrc changes: - switch homepage to tdom.org - start using bsdtar due to pax tar issues - update license to include the expat one (mit) - update MASTER_SITES to new host - require gmake for proper building - drop no longer needed -DUSE_INTERP_ERRORLINE UPSTREAM CHANGELOG ------------------ ANNOUNCE: tDOM 0.9.1 Posted by Rolf Ade on 07/26/18 01:01 AM It's a good point to roll out what's done before other changes took place, so: tDOM 0.9.1 got tagged, source balls and windows binaries are available. Find them at http://tdom.org/downloads/ or see the README below for more information. The most notable changes since the last release are: - The included expat is now 2.2.5, the most recent expat release. - An interface to use expat as pull parser (StAX like). - Some minor options for more control about parsing ([dom parse -keepCDATA]) and serialization (asXML -nogtescape --noEmptyElementTag). - A few bug fixes important to whom are bitten by them. And other things. See the file CHANGES in the root of the source tree or http://tdom.org/index.html/artifact/014245dd36bb67aa for a more detailed list or http://tdom.org/index.html/timeline for even more details. Thanks to the contributors and all the others for help, encouragement and discussion. ANNOUNCE: tDOM 0.9.0 Posted by Rolf Ade on 08/25/17 01:51 PM Some demand (and, to be fair, also some civilized encouragement) finally pushed me to cut a new tDOM release. Besides the fruit of the careful gardening of the as mature recognized core over the years there are also a couple of new features. The probably most prominent ones are (in no special order): - a new HTML5 parser (optional at build time, needs the gumbo library) - a JSON to DOM parser and a way to create JSON data - more capablilities of the *FromScript way of creating DOM trees
Diffstat (limited to 'textproc')
-rw-r--r--textproc/tcl-tDOM/Makefile22
-rw-r--r--textproc/tcl-tDOM/PLIST4
-rw-r--r--textproc/tcl-tDOM/distinfo11
-rw-r--r--textproc/tcl-tDOM/patches/patch-aa29
4 files changed, 21 insertions, 45 deletions
diff --git a/textproc/tcl-tDOM/Makefile b/textproc/tcl-tDOM/Makefile
index 8f13cce4ab9..7663e46364e 100644
--- a/textproc/tcl-tDOM/Makefile
+++ b/textproc/tcl-tDOM/Makefile
@@ -1,22 +1,26 @@
-# $NetBSD: Makefile,v 1.5 2015/09/12 20:03:01 tnn Exp $
+# $NetBSD: Makefile,v 1.6 2019/10/06 03:25:17 kamil Exp $
#
-DISTNAME= tDOM-0.8.3
-PKGNAME= tcl-${DISTNAME}
-PKGREVISION= 1
+DISTNAME= tdom-${VERSION}-src
+PKGNAME= tcl-tDOM-${VERSION}
CATEGORIES= textproc
-MASTER_SITES= https://cloud.github.com/downloads/tDOM/tdom/
+MASTER_SITES= http://tdom.org/downloads/
EXTRACT_SUFX= .tgz
MAINTAINER= pho@cielonegro.org
-HOMEPAGE= http://tdom.github.com/
+HOMEPAGE= http://tdom.org/
COMMENT= High performance XML data handling library for Tcl using Expat
-LICENSE= mpl-1.1
+LICENSE= mpl-1.1 AND mit # builtin expat is mit
+
+EXTRACT_USING= bsdtar
+
+VERSION= 0.9.1
+
+USE_TOOLS+= gmake
GNU_CONFIGURE= yes
-USE_LANGUAGES= c
-CPPFLAGS+= -DUSE_INTERP_ERRORLINE
+WRKSRC= ${WRKDIR}/tdom-${VERSION}
.include "../../lang/tcl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/tcl-tDOM/PLIST b/textproc/tcl-tDOM/PLIST
index f49a25e9b3e..a35a449ac65 100644
--- a/textproc/tcl-tDOM/PLIST
+++ b/textproc/tcl-tDOM/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2012/08/26 12:12:28 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/10/06 03:25:17 kamil Exp $
include/tdom.h
lib/tdom${PKGVERSION}/libtdom${PKGVERSION}.so
lib/tdom${PKGVERSION}/libtdomstub${PKGVERSION}.a
@@ -10,5 +10,7 @@ man/mann/domDoc.n
man/mann/domNode.n
man/mann/expat.n
man/mann/expatapi.n
+man/mann/pullparser.n
man/mann/tdomcmd.n
man/mann/tnc.n
+@pkgdir bin
diff --git a/textproc/tcl-tDOM/distinfo b/textproc/tcl-tDOM/distinfo
index 917f615d107..14cde6cbb6b 100644
--- a/textproc/tcl-tDOM/distinfo
+++ b/textproc/tcl-tDOM/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.4 2015/11/04 02:00:12 agc Exp $
+$NetBSD: distinfo,v 1.5 2019/10/06 03:25:17 kamil Exp $
-SHA1 (tDOM-0.8.3.tgz) = 1b7db0357ffb96c0a6c879c385168491380a8ca5
-RMD160 (tDOM-0.8.3.tgz) = df52d8b7c3ac9134dae20a3bcaa21e0e512e3289
-SHA512 (tDOM-0.8.3.tgz) = aa5352bc9b67c45d115e52dbf2cf153a3db89f851b51c1cd574af69b02c466f643df0b5448f7d105245246d20a92f80605f16bd927cd7925c1f2007827f2dc20
-Size (tDOM-0.8.3.tgz) = 990367 bytes
-SHA1 (patch-aa) = 18be9e77a22311cf2029386d88e2050e57657e2b
+SHA1 (tdom-0.9.1-src.tgz) = 9d6ec473221b80506ba0a142cf4e9661d498ca6a
+RMD160 (tdom-0.9.1-src.tgz) = b65898bcc97fe69ba92c8edaf8e1eb156abfd0c5
+SHA512 (tdom-0.9.1-src.tgz) = 40dd5ec942ac4cce2fd78f53caf3a2b5e2fae9fbc5617923d94f07c9f530fa936696d79abe080ade2edbc4f4a86c35898b000180f20d9320edd8bfa3fa19d863
+Size (tdom-0.9.1-src.tgz) = 1100163 bytes
diff --git a/textproc/tcl-tDOM/patches/patch-aa b/textproc/tcl-tDOM/patches/patch-aa
deleted file mode 100644
index d82c2013935..00000000000
--- a/textproc/tcl-tDOM/patches/patch-aa
+++ /dev/null
@@ -1,29 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2012/08/28 22:58:09 marino Exp $
-
-The TEA autoconf macros assume that NetBSD is some weird old operating system
-that can't handle dots in library names. Using the same values as newer FreeBSD
-versions yields a uniform PLIST for the platforms supported by pkgsrc.
-It also fixes build on DragonFly.
-
-https://github.com/tDOM/tdom/issues/12
-
---- configure.orig 2007-08-05 20:47:49.000000000 +0200
-+++ configure 2011-12-29 03:13:10.000000000 +0100
-@@ -8283,7 +8283,7 @@
- CC_SEARCH_FLAGS=""
- LD_SEARCH_FLAGS=""
- ;;
-- NetBSD-*|FreeBSD-[1-2].*)
-+ FreeBSD-[1-2].*)
- # NetBSD/SPARC needs -fPIC, -fpic will not do.
- SHLIB_CFLAGS="-fPIC"
- SHLIB_LD="ld -Bshareable -x"
-@@ -8388,7 +8388,7 @@
- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
- TCL_LIB_VERSIONS_OK=nodots
- ;;
-- FreeBSD-*)
-+ DragonFly-*|NetBSD-*|FreeBSD-*)
- # FreeBSD 3.* and greater have ELF.
- SHLIB_CFLAGS="-fPIC"
- SHLIB_LD="ld -Bshareable -x"