aboutsummaryrefslogtreecommitdiff
path: root/devel/tclxml/Makefile
blob: 4573585396a8e2d0d7b2e0c6a3c062c2dfe2ce18 (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
# New ports collection makefile for:	tclxml
# Date created:				2 May 2003
# Whom:					David Yeske <dyeske@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	tclxml
PORTVERSION=	3.1
PORTREVISION=	1
CATEGORIES=	devel tcl
MASTER_SITES=	SF/tclxml/TclXML/${PORTVERSION}

MAINTAINER?=	ports@FreeBSD.org
COMMENT=	API for parsing XML documents using Tcl

RUN_DEPENDS?=	dtplite:${PORTSDIR}/devel/tcllib

PORTDOCS=	README.html html.xsl nroff.xsl tclxml.html tclxml.xml \
		README.xml man.macros tcldoc-1.0.dtd tclxml.n txt.xsl

USE_TCL=	82+
GNU_CONFIGURE=	yes
USE_LDCONFIG?=	${PREFIX}/lib/Tclxml${PORTVERSION}
CONFIGURE_ARGS=	--with-tcl=${TCL_LIBDIR} \
		--with-tclinclude=${TCL_INCLUDEDIR}
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>