diff options
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/tdom/Makefile | 54 | ||||
-rw-r--r-- | www/tdom/distinfo | 2 | ||||
-rw-r--r-- | www/tdom/pkg-descr | 13 | ||||
-rw-r--r-- | www/tdom/pkg-plist | 6 |
5 files changed, 76 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 57f426114e49..9a257b27afef 100644 --- a/www/Makefile +++ b/www/Makefile @@ -760,6 +760,7 @@ SUBDIR += tclwebtest SUBDIR += tdiary SUBDIR += tdiary-devel + SUBDIR += tdom SUBDIR += thttpd SUBDIR += thumbnail_index SUBDIR += tidy 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%% |