ports/84139: [NEW PORT] - TDOM - high performance XML data processing with Tcl scripting

Aldert Nooitgedagt aldert at nooitgedagt.net
Tue Jul 26 20:10:22 UTC 2005


>Number:         84139
>Category:       ports
>Synopsis:       [NEW PORT] - TDOM - high performance XML data processing with Tcl scripting
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 26 20:10:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Aldert Nooitgedagt
>Release:        5.4
>Organization:
>Environment:
FreeBSD freebsd54.localdomain 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 UTC 2005     root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Is anybody willing to commit this before the PORTS FREEZE, please ?!
The port has been reviewed already, so no problems expected.

Port belongs in: PORTSDIR/www/

Info: http://www.tdom.org/

Tclwebtest, tdom and aolserver-openacs-pg are dependencies for
openacs and openacs-dotlrn (Elearning webcommunity platform).

Thanks. Let me know if you want the ports by mail.
>How-To-Repeat:
      
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	tdom
#	tdom/distinfo
#	tdom/Makefile
#	tdom/pkg-descr
#	tdom/pkg-plist
#
echo c - tdom
mkdir -p tdom > /dev/null 2>&1
echo x - tdom/distinfo
sed 's/^X//' >tdom/distinfo << 'END-of-tdom/distinfo'
XMD5 (tDOM-0.8.0.tar.gz) = 90626edf33b7a77229a23b9132f74977
XSIZE (tDOM-0.8.0.tar.gz) = 886455
END-of-tdom/distinfo
echo x - tdom/Makefile
sed 's/^X//' >tdom/Makefile << 'END-of-tdom/Makefile'
X# New ports collection makefile for:    tDOM
X# Date created:         July 2005
X# Whom:                 Aldert Nooitgedagt
X#
X# $FreeBSD$
X#
X
XPORTNAME=	tDOM
XPORTVERSION=	0.8.0
XCATEGORIES=	www
XMASTER_SITES?=	${MASTERSITES}
X
XMAINTAINER=	aldert at nooitgedagt.net
XCOMMENT=	High performance XML data processing with Tcl (ARGS for OpenACS)
X
X.if ${PORTVERSION} == "0.7.8"
XMASTERSITES=	http://www.tdom.org/
X.else
XMASTERSITES=	http://www.tdom.org/files/
X.endif
X
XWRKSRC?=	${WRKDIR}/${PORTNAME}-${PORTVERSION}/unix
XTDOMBASE=	${PREFIX}/lib/tdom${PORTVERSION}
X
XLIB_DEPENDS+=	tcl84.1:${PORTSDIR}/lang/tcl84-thread
X
XUSE_GMAKE=		yes
XHAS_CONFIGURE=		yes
XCONFIGURE_SCRIPT?=	../configure
XCONFIGURE_ARGS?=	--enable-threads --disable-tdomalloc --with-tcl=${LOCALBASE}/lib/tcl8.4 \
X--with-tclinclude=${LOCALBASE}/include/tcl8.4  --prefix=${PREFIX}
X
XINSTALLS_SHLIB=	YES
XLDCONFIG_DIRS+=	${TDOMBASE}
X
XPLIST_SUB+=	PORTVERSION=${PORTVERSION}
X
Xpre-configure:
X	@${ECHO_CMD}
X	@${ECHO_CMD} "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
X	@${ECHO_CMD} " Please make sure that you either have lang/tcl84-thread or "
X	@${ECHO_CMD} " no tcl84 installed before you add this port "
X	@${ECHO_CMD} "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
X	@${ECHO_CMD}
X
Xpost-configure:
X	@if ${GREP} -qs 'enable-threads requested, but attempting building against' ${WRKSRC}/config.log ; then \
X		${ECHO_CMD} "" && \
X		${ECHO_CMD} " =====================================================" && \
X		${ECHO_CMD} " You need ${PORTSDIR}/lang/tcl84-thread but you appear " && \
X		${ECHO_CMD} " to have the non-threaded TCL version installed." && \
X		${ECHO_CMD} " =====================================================" && \
X		${ECHO_CMD} "" && \
X		${FALSE}; \
X	fi
X
XMANN=		dom.n domDoc.n domNode.n expat.n expatapi.n tdomcmd.n tnc.n
XMANCOMPRESSED=	no
X
X.include <bsd.port.mk>
END-of-tdom/Makefile
echo x - tdom/pkg-descr
sed 's/^X//' >tdom/pkg-descr << 'END-of-tdom/pkg-descr'
XtDOM combines high performance XML data processing 
Xwith easy and powerful Tcl scripting functionality. 
X
XtDOM should be one of the fastest ways to manipulate XML 
Xwith a scripting language and uses very few memory 
X(for example the DOM tree of the XML recommendation 
Xin XML (160K) needs only about 450K in memory)!
X
XConfigured for OpenACS (http://openacs.org)
X
XWWW: http://www.tdom.org/
X
X- Aldert
Xaldert at openacs.nl
END-of-tdom/pkg-descr
echo x - tdom/pkg-plist
sed 's/^X//' >tdom/pkg-plist << 'END-of-tdom/pkg-plist'
Xlib/tdom%%PORTVERSION%%/libtdom%%PORTVERSION%%.so
Xlib/tdom%%PORTVERSION%%/libtdomstub%%PORTVERSION%%.a
Xlib/tdom%%PORTVERSION%%/pkgIndex.tcl
Xlib/tdom%%PORTVERSION%%/tdom.tcl
Xlib/tdomConfig.sh
X at dirrm lib/tdom%%PORTVERSION%%
END-of-tdom/pkg-plist
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list