blob: 9dd1f862f63b43cd9da2e08d9be3bc3bbd730fea (
plain) (
blame)
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
|
# New ports collection makefile for: tclxml
# Date created: 2 May 2003
# Whom: David Yeske <dyeske@gmail.com>
#
# $FreeBSD$
#
PORTNAME= tclxml
PORTVERSION= 3.2
PORTREVISION= 1
CATEGORIES= devel tcl
MASTER_SITES= SF/tclxml/TclXML/${PORTVERSION}
MAINTAINER= sylvio@FreeBSD.org
COMMENT= API for parsing XML documents using Tcl
LIB_DEPENDS= xslt.2:${PORTSDIR}/textproc/libxslt
RUN_DEPENDS?= dtplite:${PORTSDIR}/devel/tcllib
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
USE_TCL= 83+
XML_CONFIG?= ${LOCALBASE}/bin/xml2-config
GNU_CONFIGURE= yes
USE_LDCONFIG?= ${PREFIX}/lib/Tclxml${PORTVERSION}
CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \
--with-tclinclude=${TCL_INCLUDEDIR} \
XML_CONFIG="${XML_CONFIG}"
PLIST= ${PKGDIR}${PKGNAMESUFFIX}/pkg-plist
PATCHDIR= ${PKGDIR}${PKGNAMESUFFIX}/files/
PLIST_SUB= VER=${PORTVERSION}
.include <bsd.port.pre.mk>
pre-install:
.if !defined(NOPORTDOCS)
@${INSTALL} -d ${DOCSDIR}
@cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
|