stu 100fd8b54c Import tDOM 0.9.0.
ok sthen@


A fast XML/DOM/XPath/XSLT/HTML/JSON extension for Tcl.

Combines high performance XML data processing with
easy and powerful Tcl scripting functionality.

Includes the tdomhtml extension which implements a simple HTML
layer on top of the core DOM Level-1 specification.

Features:

 * A Tcl interface to expat for event-like (SAX-like) XML parsing.

 * A complete, compliant and fast XPath implementation in C
   following the November 99 W3C recommendation for navigation
   and data extraction.

 * A fast XSLT implementation in C following the W3C
   Recommendation 16 November 1999.

 * DTD validation.

 * A JSON parser that parses any possible JSON input into a DOM
   tree without losing information.

 * An efficient and Tcl'ish way to create XML and HTML documents
   and JSON strings.

 * An even faster simple XML parser for trusted XML input.
2018-06-12 15:44:28 +00:00

50 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2018/06/12 15:44:28 stu Exp $
COMMENT = fast XML/DOM/XPath/XSLT/HTML/JSON extension for Tcl
V = 0.9.0
VER = ${V:S/.//g}
DISTNAME = tdom-${V}
SHARED_LIBS = tdom${VER} 0.0
CATEGORIES = textproc
HOMEPAGE = http://www.tdom.org/
MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
# MPL 1.1
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = ${HOMEPAGE:=downloads/}
EXTRACT_SUFX = -src.tgz
WANTLIB = expat
MODULES = lang/tcl
MODTCL_VERSION = 8.6
BUILD_DEPENDS = ${MODTCL_BUILD_DEPENDS}
RUN_DEPENDS = ${MODTCL_RUN_DEPENDS}
FAKE_FLAGS = PKG_DIR=tdom \
pkglibdir='$$(libdir)/tcl/$$(PKG_DIR)' \
'INSTALL_PROGRAM = $${INSTALL} -m 755' \
'INSTALL_DATA = $${INSTALL} -m 644'
SEPARATE_BUILD = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --with-tcl=${MODTCL_LIBDIR} \
--with-expat=/usr \
--disable-rpath \
SHLIB_VERSION=${LIBtdom${VER}_VERSION}
TEST_TARGET = test
SUBST_VARS = VER
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${MODTCL_MODDIR}/86
${INSTALL_DATA} ${WRKSRC}/extensions/tdomhtml/tdomhtml.tcl \
${DESTDIR}${MODTCL_MODDIR}/86/tdomhtml-0.1.0.tm
.include <bsd.port.mk>