aboutsummaryrefslogtreecommitdiffstats
path: root/www/tdom
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-07-27 19:44:45 +0800
committerpav <pav@FreeBSD.org>2005-07-27 19:44:45 +0800
commit3ce4b52dc7839d7a360dec47d774a52bbb1658ba (patch)
treee32582193f0d5635324ca60b6006ee1e707c9c56 /www/tdom
parent9496431fceda728c1b02d0ef54c142b0dbe8be24 (diff)
downloadfreebsd-ports-gnome-3ce4b52dc7839d7a360dec47d774a52bbb1658ba.tar.gz
freebsd-ports-gnome-3ce4b52dc7839d7a360dec47d774a52bbb1658ba.tar.zst
freebsd-ports-gnome-3ce4b52dc7839d7a360dec47d774a52bbb1658ba.zip
tDOM combines high performance XML data processing with easy and powerful Tcl
scripting functionality. PR: ports/84139 Submitted by: Aldert Nooitgedagt <aldert@nooitgedagt.net>
Diffstat (limited to 'www/tdom')
-rw-r--r--www/tdom/Makefile54
-rw-r--r--www/tdom/distinfo2
-rw-r--r--www/tdom/pkg-descr13
-rw-r--r--www/tdom/pkg-plist6
4 files changed, 75 insertions, 0 deletions
diff --git a/www/tdom/Makefile b/www/tdom/Makefile
new file mode 100644
index 000000000000..18e681837b68
--- /dev/null
+++ b/www/tdom/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: tDOM
+# Date created: July 2005
+# Whom: Aldert Nooitgedagt
+#
+# $FreeBSD$
+#
+
+PORTNAME= tDOM
+PORTVERSION= 0.8.0
+CATEGORIES= www
+MASTER_SITES= http://www.tdom.org/files/
+
+MAINTAINER= aldert@nooitgedagt.net
+COMMENT= High performance XML data processing with Tcl (ARGS for OpenACS)
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/unix
+TDOMBASE= ${PREFIX}/lib/tdom${PORTVERSION}
+
+LIB_DEPENDS+= tcl84.1:${PORTSDIR}/lang/tcl84-thread
+
+USE_GMAKE= yes
+HAS_CONFIGURE= yes
+CONFIGURE_SCRIPT= ../configure
+CONFIGURE_ARGS= --enable-threads --disable-tdomalloc --with-tcl=${LOCALBASE}/lib/tcl8.4 \
+ --with-tclinclude=${LOCALBASE}/include/tcl8.4 --prefix=${PREFIX}
+
+INSTALLS_SHLIB= YES
+LDCONFIG_DIRS+= ${TDOMBASE}
+
+PLIST_SUB+= PORTVERSION=${PORTVERSION}
+
+pre-configure:
+ @${ECHO_CMD}
+ @${ECHO_CMD} "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
+ @${ECHO_CMD} " Please make sure that you either have lang/tcl84-thread or "
+ @${ECHO_CMD} " no tcl84 installed before you add this port "
+ @${ECHO_CMD} "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
+ @${ECHO_CMD}
+
+post-configure:
+ @if ${GREP} -qs 'enable-threads requested, but attempting building against' ${WRKSRC}/config.log ; then \
+ ${ECHO_CMD} "" && \
+ ${ECHO_CMD} " =====================================================" && \
+ ${ECHO_CMD} " You need ${PORTSDIR}/lang/tcl84-thread but you appear " && \
+ ${ECHO_CMD} " to have the non-threaded TCL version installed." && \
+ ${ECHO_CMD} " =====================================================" && \
+ ${ECHO_CMD} "" && \
+ ${FALSE}; \
+ fi
+
+MANN= dom.n domDoc.n domNode.n expat.n expatapi.n tdomcmd.n tnc.n
+MANCOMPRESSED= no
+
+.include <bsd.port.mk>
diff --git a/www/tdom/distinfo b/www/tdom/distinfo
new file mode 100644
index 000000000000..b84f83aff535
--- /dev/null
+++ b/www/tdom/distinfo
@@ -0,0 +1,2 @@
+MD5 (tDOM-0.8.0.tar.gz) = 90626edf33b7a77229a23b9132f74977
+SIZE (tDOM-0.8.0.tar.gz) = 886455
diff --git a/www/tdom/pkg-descr b/www/tdom/pkg-descr
new file mode 100644
index 000000000000..d8d539caf5c5
--- /dev/null
+++ b/www/tdom/pkg-descr
@@ -0,0 +1,13 @@
+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 few memory (for example the DOM tree of the XML
+recommendation in XML (160K) needs only about 450K in memory)!
+
+Configured for OpenACS (http://openacs.org)
+
+WWW: http://www.tdom.org/
+
+- Aldert
+aldert@openacs.nl
diff --git a/www/tdom/pkg-plist b/www/tdom/pkg-plist
new file mode 100644
index 000000000000..410bfbb4b48b
--- /dev/null
+++ b/www/tdom/pkg-plist
@@ -0,0 +1,6 @@
+lib/tdom%%PORTVERSION%%/libtdom%%PORTVERSION%%.so
+lib/tdom%%PORTVERSION%%/libtdomstub%%PORTVERSION%%.a
+lib/tdom%%PORTVERSION%%/pkgIndex.tcl
+lib/tdom%%PORTVERSION%%/tdom.tcl
+lib/tdomConfig.sh
+@dirrm lib/tdom%%PORTVERSION%%