mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
c27d4e377f
All ports now should use MPL[10|11|20] license. Approved by: portmgr (blanket)
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# Created by: Aldert Nooitgedagt
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tDOM
|
|
PORTVERSION= 0.8.3
|
|
CATEGORIES= www
|
|
MASTER_SITES= GHC http://mirrors.rit.edu/zi/
|
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
|
COMMENT= High performance XML data processing with Tcl (ARGS for OpenACS)
|
|
|
|
LICENSE= MPL11 MIT
|
|
LICENSE_COMB= multi
|
|
LICENSE_FILE_MIT= ${WRKSRC}/expat/COPYING
|
|
|
|
TDOMBASE= ${PREFIX}/lib/tdom${PORTVERSION}
|
|
|
|
USES= gmake tar:tgz tcl:tea
|
|
USE_GITHUB= yes
|
|
CONFIGURE_ARGS= --enable-threads --disable-tdomalloc
|
|
|
|
TEST_TARGET= test
|
|
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
|
|
|
DOCS= CHANGES 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
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
pre-configure:
|
|
@${RM} ${WRKSRC}/generic/domalloc.?
|
|
|
|
post-install:
|
|
${CHMOD} 755 ${STAGEDIR}${TDOMBASE}
|
|
${CHMOD} 644 ${STAGEDIR}${TDOMBASE}/*
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
|
|
.for FILE in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}/${FILE}
|
|
.endfor
|
|
.for FILE in ${HTMLDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${STAGEDIR}${DOCSDIR}/html/${FILE}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|