1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

TclDOM is a Tcl language binding for the W3C's DOM standard. DOM

provides a tree view of an XML document.

TclDOM is a package with several implementations, including one
written in pure Tcl, one written in C based on TclDOMPro and
another that wraps the Gnome libxml2 library.
This port installs the libxml2 part.

PR:		ports/123956
Submitted by:	Frank Fenor <frank at fenor.de>
This commit is contained in:
Beech Rintoul 2008-07-25 04:31:42 +00:00
parent 4c16bcdd87
commit 14f9a7a695
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=217456
6 changed files with 90 additions and 0 deletions

View File

@ -1291,6 +1291,7 @@
SUBDIR += swish-e
SUBDIR += syndigator
SUBDIR += tcldom
SUBDIR += tcldom-libxml2
SUBDIR += tclhttpd
SUBDIR += tclwebtest
SUBDIR += tdiary

View File

@ -0,0 +1,33 @@
# New ports collection makefile for: TclDOM-libxml2
# Date created: 28 April 2008
# Whom: Frank Fenor <frank@fenor.de>
#
# $FreeBSD$
#
PORTVERSION= 3.1
PKGNAMESUFFIX= -libxml2
MAINTAINER= frank@fenor.de
COMMENT= DOM API for Tcl using libxml2
BUILD_DEPENDS= ${LOCALBASE}/include/tclxml-libxml2/tclxml-libxml2Decls.h:${PORTSDIR}/devel/tclxml-libxml2
RUN_DEPENDS= ${LOCALBASE}/lib/TclXML_libxml2${PORTVERSION}/libTclXML_libxml2${PORTVERSION}.so:${PORTSDIR}/devel/tclxml-libxml2
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src-libxml2
PATCHDIR= ${.CURDIR}/files
USE_LDCONFIG= yes
NOPORTDOCS= yes
PLIST_SUB= VER=${PORTVERSION}
MASTERDIR= ${.CURDIR}/../tcldom
post-build:
${REINPLACE_CMD} -e 's|@tcldomxml_LIB_FILE@|libtcldom_libxml2${PORTVERSION}.so|' \
-e 's|@tcldomxml_LIB_SPEC@|${LOCALBASE}/lib/tcldom_libxml2${PORTVERSION}/libtcldom_libxml2${PORTVERSION}.so|' \
-e 's|@tcldomxmlstub_LIB_FILE@|libtcldom_libxml2stub${PORTVERSION}.a|' \
-e 's|@tcldomxml_STUB_LIB_SPEC@|${LOCALBASE}/lib/tcldom_libxml2${PORTVERSION}/libtcldom_libxml2stub${PORTVERSION}.a|' \
-e 's|@tcldomxml_STUB_LIB_PATH@|${LOCALBASE}/lib/tcldom_libxml2${PORTVERSION}|' \
${WRKSRC}/tcldomlibxml2Config.sh
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,26 @@
--- ../docs/tcldom.n.orig 2005-11-04 07:36:33.000000000 +0100
+++ ../docs/tcldom.n 2008-04-29 00:14:09.000000000 +0200
@@ -1,15 +1,15 @@
'\"
'\" Copyright (c) 2004 Zveno Pty Ltd
'\"
-Zveno makes this software and all associated data and documentation
-('Software') available free of charge for any purpose. This software may
-be copied, and distributed, with or without modifications; but this notice
-must be included on any copy.
+'\" Zveno makes this software and all associated data and documentation
+'\" ('Software') available free of charge for any purpose. This software may
+'\" be copied, and distributed, with or without modifications; but this notice
+'\" must be included on any copy.
'\"
-The Software was developed for research purposes and Zveno does not
-warrant that it is error free or fit for any purpose. Zveno disclaims any
-liability for all claims, expenses, losses, damages and costs any user may
-incur as a result of using, copying or modifying the Software.
+'\" The Software was developed for research purposes and Zveno does not
+'\" warrant that it is error free or fit for any purpose. Zveno disclaims any
+'\" liability for all claims, expenses, losses, damages and costs any user may
+'\" incur as a result of using, copying or modifying the Software.
'\"
'\"
'\" RCS: @(#) $Id: nroff.xsl,v 1.4 2004/01/15 08:18:34 balls Exp $

View File

@ -0,0 +1,11 @@
--- configure.orig 2008-04-28 10:45:06.000000000 +0200
+++ configure 2008-04-28 10:45:36.000000000 +0200
@@ -3192,7 +3192,7 @@
TCL_INCLUDES=-I\"${INCLUDE_DIR_NATIVE}\"
-
+ TCL_SRC_DIR=${with_tclinclude}
echo $ac_n "checking for Tcl private include files""... $ac_c" 1>&6

View File

@ -0,0 +1,9 @@
TclDOM is a Tcl language binding for the W3C's DOM standard. DOM
provides a tree view of an XML document.
TclDOM is a package with several implementations, including one
written in pure Tcl, one written in C based on TclDOMPro and
another that wraps the Gnome libxml2 library.
This port installs the libxml2 part.
WWW: http://tclxml.sourceforge.net/tcldom.html

View File

@ -0,0 +1,10 @@
include/tcldom-libxml2/tcldom.h
include/tcldom-libxml2/tcldomlibxml2.h
include/tcldom-libxml2/tcldomlibxml2Decls.h
lib/tcldom_libxml2%%VER%%/impl.tcl
lib/tcldom_libxml2%%VER%%/libtcldom_libxml2%%VER%%.so
lib/tcldom_libxml2%%VER%%/libtcldom_libxml2stub%%VER%%.a
lib/tcldom_libxml2%%VER%%/pkgIndex.tcl
lib/tcldomlibxml2Config.sh
@dirrm lib/tcldom_libxml2%%VER%%
@dirrm include/tcldom-libxml2