mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
8f2eb85add
meant only to be loaded into Tcl at run-time by explicit path (via "package require"). It does not need to be known to rtld. In fact, because the permissions on the directory (lib/tdom0.8.3) allowed group-writing, ldconfig refused to process the directory anyway. Correct the latter problem for great justice.
57 lines
1.4 KiB
Makefile
57 lines
1.4 KiB
Makefile
# Created by: Aldert Nooitgedagt
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tDOM
|
|
PORTVERSION= 0.8.3
|
|
CATEGORIES= www
|
|
MASTER_SITES= https://cloud.github.com/downloads/tDOM/tdom/ \
|
|
http://mirrors.rit.edu/zi/
|
|
|
|
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}
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
USES= gmake tcl tar:tgz
|
|
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_SCRIPT= ../configure
|
|
|
|
pre-configure:
|
|
${RM} -f ${WRKSRC}/../generic/domalloc.?
|
|
|
|
PLIST_SUB+= PORTVERSION=${PORTVERSION}
|
|
|
|
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.options.mk>
|
|
|
|
CONFIGURE_ARGS+=--enable-threads --disable-tdomalloc \
|
|
--with-tcl=${TCL_LIBDIR} \
|
|
--with-tclinclude=${TCL_INCLUDEDIR} \
|
|
--prefix=${PREFIX} --exec-prefix=${PREFIX}
|
|
|
|
post-install:
|
|
chmod 755 ${STAGEDIR}${TDOMBASE}
|
|
chmod 644 ${STAGEDIR}${TDOMBASE}/*
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${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
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|