summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz>2012-08-26 12:12:28 +0000
committerwiz <wiz>2012-08-26 12:12:28 +0000
commitbd5911fb2ca9d193498f7eeb4cd2088000d6acd5 (patch)
tree23b6dfb48c36fd4d0b042ae575db6a047b2e38ed
parent266b4acb9e525688fdd200708bed27dc2fac9605 (diff)
downloadpkgsrc-bd5911fb2ca9d193498f7eeb4cd2088000d6acd5.tar.gz
Import tcl-tDOM-0.8.3 as textproc/tcl-tDOM.
Packaged for wip by phonohawk and Moritz Wilhelmy. tDOM combines high performance XML data processing with easy and powerful Tcl scripting functionality. tDOM should be one of the fastest ways to manipulate XML with a scripting language and uses very little memory in the process (for example the DOM tree of the XML recommendation in XML (160K) needs only about 450K in memory)! The tDOM project was started by Jochen Loewer. It is currently maintained by Rolf Ade.
-rw-r--r--textproc/tcl-tDOM/DESCR7
-rw-r--r--textproc/tcl-tDOM/Makefile21
-rw-r--r--textproc/tcl-tDOM/PLIST14
-rw-r--r--textproc/tcl-tDOM/distinfo6
-rw-r--r--textproc/tcl-tDOM/patches/patch-aa26
5 files changed, 74 insertions, 0 deletions
diff --git a/textproc/tcl-tDOM/DESCR b/textproc/tcl-tDOM/DESCR
new file mode 100644
index 00000000000..5c140abdb03
--- /dev/null
+++ b/textproc/tcl-tDOM/DESCR
@@ -0,0 +1,7 @@
+tDOM combines high performance XML data processing with easy and
+powerful Tcl scripting functionality. tDOM should be one of the
+fastest ways to manipulate XML with a scripting language and uses very
+little memory in the process (for example the DOM tree of the XML
+recommendation in XML (160K) needs only about 450K in memory)! The
+tDOM project was started by Jochen Loewer. It is currently maintained
+by Rolf Ade.
diff --git a/textproc/tcl-tDOM/Makefile b/textproc/tcl-tDOM/Makefile
new file mode 100644
index 00000000000..b146b6a97ba
--- /dev/null
+++ b/textproc/tcl-tDOM/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2012/08/26 12:12:28 wiz Exp $
+#
+
+DISTNAME= tDOM-0.8.3
+PKGNAME= tcl-${DISTNAME}
+CATEGORIES= textproc
+MASTER_SITES= http://cloud.github.com/downloads/tDOM/tdom/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= pho@cielonegro.org
+HOMEPAGE= http://tdom.github.com/
+COMMENT= High performance XML data handling library for Tcl using Expat
+LICENSE= mpl-1.1
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c
+
+.include "../../lang/tcl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/tcl-tDOM/PLIST b/textproc/tcl-tDOM/PLIST
new file mode 100644
index 00000000000..f49a25e9b3e
--- /dev/null
+++ b/textproc/tcl-tDOM/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 2012/08/26 12:12:28 wiz Exp $
+include/tdom.h
+lib/tdom${PKGVERSION}/libtdom${PKGVERSION}.so
+lib/tdom${PKGVERSION}/libtdomstub${PKGVERSION}.a
+lib/tdom${PKGVERSION}/pkgIndex.tcl
+lib/tdom${PKGVERSION}/tdom.tcl
+lib/tdomConfig.sh
+man/mann/dom.n
+man/mann/domDoc.n
+man/mann/domNode.n
+man/mann/expat.n
+man/mann/expatapi.n
+man/mann/tdomcmd.n
+man/mann/tnc.n
diff --git a/textproc/tcl-tDOM/distinfo b/textproc/tcl-tDOM/distinfo
new file mode 100644
index 00000000000..799081d5246
--- /dev/null
+++ b/textproc/tcl-tDOM/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2012/08/26 12:12:28 wiz Exp $
+
+SHA1 (tDOM-0.8.3.tgz) = 1b7db0357ffb96c0a6c879c385168491380a8ca5
+RMD160 (tDOM-0.8.3.tgz) = df52d8b7c3ac9134dae20a3bcaa21e0e512e3289
+Size (tDOM-0.8.3.tgz) = 990367 bytes
+SHA1 (patch-aa) = ce7e01b1cd82628088a2ad849e3db30ac1f3aa27
diff --git a/textproc/tcl-tDOM/patches/patch-aa b/textproc/tcl-tDOM/patches/patch-aa
new file mode 100644
index 00000000000..bfbe18050e5
--- /dev/null
+++ b/textproc/tcl-tDOM/patches/patch-aa
@@ -0,0 +1,26 @@
+$NetBSD: patch-aa,v 1.1 2012/08/26 12:12:28 wiz 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.
+
+--- 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-*)
++ NetBSD-*|FreeBSD-*)
+ # FreeBSD 3.* and greater have ELF.
+ SHLIB_CFLAGS="-fPIC"
+ SHLIB_LD="ld -Bshareable -x"