blob: 92dd1cf77b7cc35468281f15b120045f15ccd44b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
PORTNAME= tclxml
PORTVERSION= 3.3
PORTREVISION= 6
CATEGORIES= devel tcl
MASTER_SITES= LOCAL/bf SF/tclxml/TclXML/${PORTVERSION}
MAINTAINER= tcltk@FreeBSD.org
COMMENT= API for parsing XML documents using Tcl
WWW= http://tclxml.sourceforge.net/
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libicui18n.so:devel/icu libxslt.so:textproc/libxslt
RUN_DEPENDS?= dtplite:devel/tcllib
USES= gnome tar:xz tcl:tea
TCL_PKG= Tclxml${PORTVERSION}
USE_GNOME= libxml2
XML_CONFIG?= ${LOCALBASE}/bin/xml2-config
USE_LDCONFIG= ${PREFIX}/lib/${TCL_PKG}
CONFIGURE_ARGS+=XML_CONFIG="${XML_CONFIG}"
MAKE_ENV+= TCLLIBPATH=${STAGEDIR}/${PREFIX}/lib
TEST_TARGET= test
PLIST_SUB= PORTVERSION=${PORTVERSION}
PORTDOCS= README.xml html.xsl man.macros nroff.xsl tcldoc-1.0.dtd \
tcldom.html tcldom.xml tclxml.css tclxml.html tclxml.xml \
tclxslt.html tclxslt.xml transform.tcl txt.xsl
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/^TCLSH_ENV[[:blank:]]*=/,/[^\]$$/d' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's/FreeBSD-\*/FreeBSD-*|DragonFly-*/g' \
${WRKSRC}/configure
post-install:
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} doc)
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
|