aboutsummaryrefslogtreecommitdiff
path: root/www/tcldom/Makefile
blob: 1c7cc08cd2ff84525a47698d4ddfd6821bacdca3 (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
# New ports collection makefile for:	TclDOM
# Date created:				28 April 2008
# Whom:					Frank Fenor <frank@fenor.de>
#
# $FreeBSD$
#

PORTNAME=	tcldom
DISTVERSION=	3.1
PORTREVISION=	1
CATEGORIES=	www tcl
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	tclxml

MAINTAINER=	frank@fenor.de
COMMENT=	DOM API for Tcl based on TclDOMPro

BUILD_DEPENDS?=	${LOCALBASE}/include/expat.h:${PORTSDIR}/textproc/expat2

PLIST=		${PKGDIR}${PKGNAMESUFFIX}/pkg-plist
PATCHDIR=	${PKGDIR}${PKGNAMESUFFIX}/files/
WRKSRC?=	${WRKDIR}/${PORTNAME}-${DISTVERSION}/src
USE_TCL=	82+
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-tcl=${TCL_LIBDIR} \
		--with-tclinclude=${TCL_INCLUDEDIR}
CONFIGURE_ENV=	CFLAGS="${CFLAGS} -I\"${PREFIX}/include\""

.include <bsd.port.mk>