freebsd-ports/www/tdom/Makefile
Mikhail Teterin 9ce08c2591 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)
2010-11-29 21:23:23 +00:00

63 lines
1.4 KiB
Makefile

# New ports collection makefile for: tDOM
# Date created: July 2005
# Whom: Aldert Nooitgedagt
#
# $FreeBSD$
#
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_TCL_THREADS= yes
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>