Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 May 2008 11:03:26 GMT
From:      Frank Fenor <frank@fenor.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/123590: New port: www/tcldom and www/tcldom-libxml2
Message-ID:  <200805111103.m4BB3QIB005527@www.freebsd.org>
Resent-Message-ID: <200805111110.m4BBA0tc003879@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         123590
>Category:       ports
>Synopsis:       New port: www/tcldom and www/tcldom-libxml2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 11 11:10:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Frank Fenor
>Release:        FreeBSD 7.0-PRERELEASE
>Organization:
>Environment:
FreeBSD konzentrisch.de 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #5: Tue Feb  5 00:33:58 CET 2008
>Description:
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 one that wraps the Gnome libxml2 library.

The attached shar file contains the master port www/tcldom and one slave port, www/tcldom-libxml2. The master installs the TclDOMPro version and the slave installs the libxml2 version.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	/usr/ports/www/tcldom
#	/usr/ports/www/tcldom/Makefile
#	/usr/ports/www/tcldom/distinfo
#	/usr/ports/www/tcldom/pkg-descr
#	/usr/ports/www/tcldom/pkg-plist
#	/usr/ports/www/tcldom-libxml2
#	/usr/ports/www/tcldom-libxml2/files
#	/usr/ports/www/tcldom-libxml2/files/patch-src-libxml2-configure
#	/usr/ports/www/tcldom-libxml2/files/patch-docs-tcldom.n
#	/usr/ports/www/tcldom-libxml2/Makefile
#	/usr/ports/www/tcldom-libxml2/pkg-descr
#	/usr/ports/www/tcldom-libxml2/pkg-plist
#
echo c - /usr/ports/www/tcldom
mkdir -p /usr/ports/www/tcldom > /dev/null 2>&1
echo x - /usr/ports/www/tcldom/Makefile
sed 's/^X//' >/usr/ports/www/tcldom/Makefile << 'END-of-/usr/ports/www/tcldom/Makefile'
X# New ports collection makefile for:	TclDOM
X# Date created:				28 April 2008
X# Whom:					Frank Fenor <frank@fenor.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	tcldom
XPORTVERSION?=	2.0.2
XDISTVERSION=	3.1
XCATEGORIES=	www tcl
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	tclxml
X
XMAINTAINER=	frank@fenor.de
XCOMMENT=	DOM API for Tcl based on TclDOMPro
X
XBUILD_DEPENDS?=	${LOCALBASE}/include/expat.h:${PORTSDIR}/textproc/expat2
X
XWRKSRC?=	${WRKDIR}/${PORTNAME}-${DISTVERSION}/src
XUSE_TCL=	82+
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS=	--with-tcl=${TCL_LIBDIR} \
X		--with-tclinclude=${TCL_INCLUDEDIR}
XCONFIGURE_ENV=	CFLAGS="${CFLAGS} -I\"${PREFIX}/include\""
XSHORTVER=	${PORTVERSION:C/([0-9]+\.[0-9]+).*/\1/g}
XPLIST_SUB=	VER=${SHORTVER} TCL_VER=${TCL_VER:S/.//}
XPLIST=		${PKGDIR}${PKGNAMESUFFIX}/pkg-plist
XPATCHDIR=	${PKGDIR}${PKGNAMESUFFIX}/files/
XUSE_LDCONFIG?=	${LOCALBASE}/lib/tcldom${SHORTVER}
X
X.include <bsd.port.mk>
END-of-/usr/ports/www/tcldom/Makefile
echo x - /usr/ports/www/tcldom/distinfo
sed 's/^X//' >/usr/ports/www/tcldom/distinfo << 'END-of-/usr/ports/www/tcldom/distinfo'
XMD5 (tcldom-3.1.tar.gz) = b5af0e29e5cf2109d1f1a9b1a6ec2d81
XSHA256 (tcldom-3.1.tar.gz) = 1eabfe884a072f18bd18b1ec9c495145057442e072fe5288d9742058d93278ed
XSIZE (tcldom-3.1.tar.gz) = 395572
END-of-/usr/ports/www/tcldom/distinfo
echo x - /usr/ports/www/tcldom/pkg-descr
sed 's/^X//' >/usr/ports/www/tcldom/pkg-descr << 'END-of-/usr/ports/www/tcldom/pkg-descr'
XTclDOM is a Tcl language binding for the W3C's DOM standard. DOM
Xprovides a tree view of an XML document.
X
XTclDOM is a package with several implementations, including one
Xwritten in pure Tcl, one written in C based on TclDOMPro and
Xanother one that wraps the Gnome libxml2 library.
XThis port installs the TclDOMPro part.
X
XWWW: http://tclxml.sourceforge.net/tcldom.html
END-of-/usr/ports/www/tcldom/pkg-descr
echo x - /usr/ports/www/tcldom/pkg-plist
sed 's/^X//' >/usr/ports/www/tcldom/pkg-plist << 'END-of-/usr/ports/www/tcldom/pkg-plist'
Xlib/tcldom%%VER%%/pkgIndex.tcl
Xlib/tcldom%%VER%%/tcldom85.so.1
X@dirrm lib/tcldom%%VER%%
END-of-/usr/ports/www/tcldom/pkg-plist
echo c - /usr/ports/www/tcldom-libxml2
mkdir -p /usr/ports/www/tcldom-libxml2 > /dev/null 2>&1
echo c - /usr/ports/www/tcldom-libxml2/files
mkdir -p /usr/ports/www/tcldom-libxml2/files > /dev/null 2>&1
echo x - /usr/ports/www/tcldom-libxml2/files/patch-src-libxml2-configure
sed 's/^X//' >/usr/ports/www/tcldom-libxml2/files/patch-src-libxml2-configure << 'END-of-/usr/ports/www/tcldom-libxml2/files/patch-src-libxml2-configure'
X--- configure.orig	2008-04-28 10:45:06.000000000 +0200
X+++ configure	2008-04-28 10:45:36.000000000 +0200
X@@ -3192,7 +3192,7 @@
X 
X     TCL_INCLUDES=-I\"${INCLUDE_DIR_NATIVE}\"
X 
X-    
X+    TCL_SRC_DIR=${with_tclinclude}
X 
X 
X     echo $ac_n "checking for Tcl private include files""... $ac_c" 1>&6
END-of-/usr/ports/www/tcldom-libxml2/files/patch-src-libxml2-configure
echo x - /usr/ports/www/tcldom-libxml2/files/patch-docs-tcldom.n
sed 's/^X//' >/usr/ports/www/tcldom-libxml2/files/patch-docs-tcldom.n << 'END-of-/usr/ports/www/tcldom-libxml2/files/patch-docs-tcldom.n'
X--- ../docs/tcldom.n.orig	2005-11-04 07:36:33.000000000 +0100
X+++ ../docs/tcldom.n	2008-04-29 00:14:09.000000000 +0200
X@@ -1,15 +1,15 @@
X '\"
X '\" Copyright (c) 2004 Zveno Pty Ltd
X '\"
X-Zveno makes this software and all associated data and documentation
X-('Software') available free of charge for any purpose.  This software may
X-be copied, and distributed, with or without modifications; but this notice
X-must be included on any copy.
X+'\" Zveno makes this software and all associated data and documentation
X+'\" ('Software') available free of charge for any purpose.  This software may
X+'\" be copied, and distributed, with or without modifications; but this notice
X+'\" must be included on any copy.
X '\"
X-The Software was developed for research purposes and Zveno does not
X-warrant that it is error free or fit for any purpose.  Zveno disclaims any
X-liability for all claims, expenses, losses, damages and costs any user may
X-incur as a result of using, copying or modifying the Software.
X+'\" The Software was developed for research purposes and Zveno does not
X+'\" warrant that it is error free or fit for any purpose.  Zveno disclaims any
X+'\" liability for all claims, expenses, losses, damages and costs any user may
X+'\" incur as a result of using, copying or modifying the Software.
X '\"
X '\"
X '\" RCS: @(#) $Id: nroff.xsl,v 1.4 2004/01/15 08:18:34 balls Exp $
END-of-/usr/ports/www/tcldom-libxml2/files/patch-docs-tcldom.n
echo x - /usr/ports/www/tcldom-libxml2/Makefile
sed 's/^X//' >/usr/ports/www/tcldom-libxml2/Makefile << 'END-of-/usr/ports/www/tcldom-libxml2/Makefile'
X# New ports collection makefile for:	TclDOM-libxml2
X# Date created:				28 April 2008
X# Whom:					Frank Fenor <frank@fenor.de>
X#
X# $FreeBSD$
X#
X
XPORTVERSION=	3.1
XPKGNAMESUFFIX=	-libxml2
X
XMAINTAINER=	frank@fenor.de
XCOMMENT=	DOM API for Tcl using libxml2
X
XBUILD_DEPENDS=	${LOCALBASE}/include/tclxml-libxml2/tclxml-libxml2Decls.h:${PORTSDIR}/devel/tclxml-libxml2
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src-libxml2
XUSE_LDCONFIG=	${LOCALBASE}/lib/tcldom_libxml2${PORTVERSION}
X
XMASTERDIR=	${.CURDIR}/../tcldom
X
X.if !defined(NOPORTDOCS)
XMANN=		tcldom.n
X
Xpost-install:
X	${INSTALL_MAN} ${WRKSRC}/../docs/tcldom.n ${MANPREFIX}/man/mann
X#	${MKDIR} ${EXAMPLESDIR}
X#	${CP} ${PORTEXAMPLES} ${EXAMPLESDIR}
X.endif
X
X.include	"${MASTERDIR}/Makefile"
END-of-/usr/ports/www/tcldom-libxml2/Makefile
echo x - /usr/ports/www/tcldom-libxml2/pkg-descr
sed 's/^X//' >/usr/ports/www/tcldom-libxml2/pkg-descr << 'END-of-/usr/ports/www/tcldom-libxml2/pkg-descr'
XTclDOM is a Tcl language binding for the W3C's DOM standard. DOM
Xprovides a tree view of an XML document.
X
XTclDOM is a package with several implementations, including one
Xwritten in pure Tcl, one written in C based on TclDOMPro and
Xanother one that wraps the Gnome libxml2 library.
XThis port installs the libxml2 part.
X
XWWW: http://tclxml.sourceforge.net/tcldom.html
END-of-/usr/ports/www/tcldom-libxml2/pkg-descr
echo x - /usr/ports/www/tcldom-libxml2/pkg-plist
sed 's/^X//' >/usr/ports/www/tcldom-libxml2/pkg-plist << 'END-of-/usr/ports/www/tcldom-libxml2/pkg-plist'
Xinclude/tcldom-libxml2/tcldom.h
Xinclude/tcldom-libxml2/tcldomlibxml2.h
Xinclude/tcldom-libxml2/tcldomlibxml2Decls.h
Xlib/tcldom_libxml2%%VER%%/impl.tcl
Xlib/tcldom_libxml2%%VER%%/libtcldom_libxml2%%VER%%.so
Xlib/tcldom_libxml2%%VER%%/libtcldom_libxml2stub%%VER%%.a
Xlib/tcldom_libxml2%%VER%%/pkgIndex.tcl
Xlib/tcldomlibxml2Config.sh
X@dirrm lib/tcldom_libxml2%%VER%%
X@dirrm include/tcldom-libxml2
END-of-/usr/ports/www/tcldom-libxml2/pkg-plist
exit



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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805111103.m4BB3QIB005527>