head	1.11;
access;
symbols
	RELEASE_8_3_0:1.9
	RELEASE_9_0_0:1.9
	RELEASE_7_4_0:1.9
	RELEASE_8_2_0:1.9
	RELEASE_6_EOL:1.9
	RELEASE_8_1_0:1.8
	RELEASE_7_3_0:1.8
	RELEASE_8_0_0:1.8
	RELEASE_7_2_0:1.8
	RELEASE_7_1_0:1.7
	RELEASE_6_4_0:1.7
	RELEASE_5_EOL:1.7
	RELEASE_7_0_0:1.6
	RELEASE_6_3_0:1.6
	PRE_XORG_7:1.6
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1
	RELEASE_6_0_0:1.1;
locks; strict;
comment	@# @;


1.11
date	2013.02.06.19.12.51;	author svnexp;	state Exp;
branches;
next	1.10;

1.10
date	2012.11.17.06.03.06;	author svnexp;	state Exp;
branches;
next	1.9;

1.9
date	2010.11.29.21.23.23;	author mi;	state Exp;
branches;
next	1.8;

1.8
date	2009.02.23.14.46.36;	author mm;	state Exp;
branches;
next	1.7;

1.7
date	2008.02.29.11.17.57;	author mm;	state Exp;
branches;
next	1.6;

1.6
date	2007.04.05.13.19.08;	author mm;	state Exp;
branches;
next	1.5;

1.5
date	2007.04.02.22.56.14;	author pav;	state Exp;
branches;
next	1.4;

1.4
date	2007.03.20.11.41.05;	author miwi;	state Exp;
branches;
next	1.3;

1.3
date	2007.03.01.13.15.59;	author miwi;	state Exp;
branches;
next	1.2;

1.2
date	2007.03.01.11.55.01;	author miwi;	state Exp;
branches;
next	1.1;

1.1
date	2005.07.27.11.44.45;	author pav;	state Exp;
branches;
next	;


desc
@@


1.11
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311776
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# New ports collection makefile for:	tDOM
# Date created:				July 2005
# Whom:					Aldert Nooitgedagt
#
# $FreeBSD: head/www/tdom/Makefile 311776 2013-02-06 15:42:16Z gahr $
#

PORTNAME=	tDOM
PORTVERSION=	0.8.3
CATEGORIES=	www
MASTER_SITES=	https://cloud.github.com/downloads/tDOM/tdom/
EXTRACT_SUFX=	.tgz

MAINTAINER=	mi@@aldan.algebra.com
COMMENT=	High performance XML data processing with Tcl (ARGS for OpenACS)

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/unix
TDOMBASE=	${PREFIX}/lib/tdom${PORTVERSION}

USE_TCL=	84+

USE_GMAKE=	yes
HAS_CONFIGURE=	yes
CONFIGURE_SCRIPT=	../configure

pre-configure:
	${RM} -f ${WRKSRC}/../generic/domalloc.?

USE_LDCONFIG=	${TDOMBASE}

PLIST_SUB+=	PORTVERSION=${PORTVERSION}

MANN=		dom.n domDoc.n domNode.n expat.n expatapi.n tdomcmd.n tnc.n
MANCOMPRESSED=	no

DOCS=		CHANGES LICENSE README README.AOL
HTMLDOCS=	category-index.html dom.html domDoc.html domNode.html \
		expat.html expatapi.html index.html keyword-index.html \
		tdomcmd.html tnc.html

post-build test:
	${SETENV} LANG=C ${MAKE} -C ${WRKSRC} test

.include <bsd.port.pre.mk>

CONFIGURE_ARGS+=	--enable-threads --disable-tdomalloc \
		--with-tcl=${TCL_LIBDIR} \
		--with-tclinclude=${TCL_INCLUDEDIR} --prefix=${PREFIX}

post-install:
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}/html
. for FILE in ${DOCS}
	@@${INSTALL_DATA} ${WRKSRC}/../${FILE} ${DOCSDIR}/${FILE}
. endfor
. for FILE in ${HTMLDOCS}
	@@${INSTALL_DATA} ${WRKSRC}/../doc/${FILE} ${DOCSDIR}/html/${FILE}
. endfor
.endif

.include <bsd.port.post.mk>
@


1.10
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/www/tdom/Makefile 300897 2012-07-14 14:29:18Z beat $
a20 1
USE_TCL_THREADS=	yes
@


1.9
log
@Upgade from 0.8.2 to 0.8.3. Fix up the WWW.
Take over maintainership to deal with any
fallout.

Approved by:	mm	(the previous maintainer)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.8
log
@- Change default Tcl/Tk version to 8.5
- Bump PORTVERSION of ports affected

Tested by:	pointyhat (pav)
@
text
@d9 1
a9 2
PORTVERSION=	0.8.2
PORTREVISION=	1
d11 1
a11 1
MASTER_SITES=	http://www.tdom.org/files/
d14 1
a14 1
MAINTAINER=	mm@@FreeBSD.org
@


1.7
log
@- Update to 0.8.2

Suggested by:	mi
Patches by:	mi
@
text
@d10 1
@


1.6
log
@- updated maintainer e-mail address

Approved by:	garga (mentor)
@
text
@d9 1
a9 2
PORTVERSION=	0.8.0
PORTREVISION=	2
d12 1
d27 3
d42 3
@


1.5
log
@- Convert existing ports to a new bsd.tcl.mk order

PR:		ports/109097
Submitted by:	Martin Matuska <martin@@matuska.org>
Tested on:	pointyhat exp-run
@
text
@d14 1
a14 1
MAINTAINER=	martin@@matuska.org
@


1.4
log
@- Added support for the new tcl threads structure.

PR:             110405
Submitted by:   Martin Matuska <martin@@matuska.org> (Maintainer)
@
text
@d20 2
a21 8
USE_TCL_VER?=	84

.if ${USE_TCL_VER} != 84 && ${USE_TCL_VER} != 85
IGNORE=		supported values for USE_TCL_VER are only 84 and 85
.endif

# by default we want a threaded build
LIB_DEPENDS=	tcl${USE_TCL_VER}-threads:${PORTSDIR}/lang/tcl${USE_TCL_VER}-thread
d42 2
a43 2
		--with-tcl=${LOCALBASE}/lib/tcl${USE_TCL_VER:S/8/8./}-threads \
		--with-tclinclude=${LOCALBASE}/include/tcl${USE_TCL_VER:S/8/8./} --prefix=${PREFIX}
@


1.3
log
@- Set new maintainer forget in last commit
@
text
@d10 1
a10 1
PORTREVISION=	1
a12 1
PKGNAMESUFFIX?=	-threads
d27 1
a27 2
USE_TCL=	${USE_TCL_VER}-thread
USE_TCL_BUILD=	${USE_TCL_VER}-thread
d47 3
a49 23
.if exists(${TCLSH})
_TCL_IS_THREADED!=	${ECHO_CMD} 'puts [array names tcl_platform -exact threaded]' | ${TCLSH} || return 0
. if empty(_TCL_IS_THREADED)
# Check if a threaded build is forced
.  if defined(TCL_WITH_THREADS) || defined(WITH_THREADS)
IGNORE=	tcl with threads is required. Please install tcl with WITH_THREADS defined or from lang/tcl${USE_TCL} port and try again
.  else
# Installed tcl is not threaded, so set correct dependencies
CONFIGURE_ARGS+=	--disable-threads
PKGNAMESUFFIX=
USE_TCL=${USE_TCL_VER}
USE_TCL_BUILD=${USE_TCL_VER}
.include "${PORTSDIR}/Mk/bsd.tcl.mk"
.  endif
. else
CONFIGURE_ARGS+=	--enable-threads
. endif
.else
CONFIGURE_ARGS+=	--enable-threads
.endif

CONFIGURE_ARGS+=	-disable-tdomalloc --with-tcl=${TCL_LIBDIR} \
		--with-tclinclude=${TCL_INCLUDEDIR}  --prefix=${PREFIX}
@


1.2
log
@- Added support for non-threaded tcl (if installed)
- Added support for tcl85 via USE_TCL_VER=85
- Added tcl84 to CATEGORIES list
- Added readme and html documentation
- Bump PORTREVISION
- Pass maintainership to submitter

PR:             109690
Submitted by:   Martin Matuska <martin@@matuska.org>
Approved by:    A. Nooitgedagt <a.nooit@@gmail.com> (old maintainer)
@
text
@d15 1
a15 1
MAINTAINER=	aldert@@nooitgedagt.net
@


1.1
log
@tDOM combines high performance XML data processing with easy and powerful Tcl
scripting functionality.

PR:		ports/84139
Submitted by:	Aldert Nooitgedagt <aldert@@nooitgedagt.net>
@
text
@d10 1
d13 1
d21 9
a29 1
LIB_DEPENDS+=	tcl84.1:${PORTSDIR}/lang/tcl84-thread
a33 2
CONFIGURE_ARGS=	--enable-threads --disable-tdomalloc --with-tcl=${LOCALBASE}/lib/tcl8.4 \
		--with-tclinclude=${LOCALBASE}/include/tcl8.4  --prefix=${PREFIX}
d35 1
a35 2
INSTALLS_SHLIB=	YES
LDCONFIG_DIRS+=	${TDOMBASE}
a38 19
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

d42 43
a84 1
.include <bsd.port.mk>
@

