mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-08 12:01:56 +00:00
fadca6c0fe
PR: 110405 Submitted by: Martin Matuska <martin@matuska.org> (Maintainer)
63 lines
1.6 KiB
Makefile
63 lines
1.6 KiB
Makefile
# New ports collection makefile for: tDOM
|
|
# Date created: July 2005
|
|
# Whom: Aldert Nooitgedagt
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tDOM
|
|
PORTVERSION= 0.8.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.tdom.org/files/
|
|
|
|
MAINTAINER= martin@matuska.org
|
|
COMMENT= High performance XML data processing with Tcl (ARGS for OpenACS)
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/unix
|
|
TDOMBASE= ${PREFIX}/lib/tdom${PORTVERSION}
|
|
|
|
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
|
|
|
|
USE_GMAKE= yes
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_SCRIPT= ../configure
|
|
|
|
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
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
CONFIGURE_ARGS+= --enable-threads --disable-tdomalloc \
|
|
--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}
|
|
|
|
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>
|