aboutsummaryrefslogtreecommitdiff
path: root/www/trafficserver/Makefile
blob: 3693916c1b78526cf5cbbfbe66471ae206ee4350 (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
45
46
# New ports collection makefile for:	trafficserver
# Date created:		2010-08-15
# Whom:			Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=	trafficserver
PORTVERSION=	2.1.1
PORTREVISION=	2
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR=	trafficserver
DISTNAME=	${PORTNAME}-${PORTVERSION}-unstable

MAINTAINER=	jnlin@csie.nctu.edu.tw
COMMENT=	A fast, scalable and extensible HTTP proxy server

BUILD_DEPENDS=	expat>0:${PORTSDIR}/textproc/expat2 \
		pcre>0:${PORTSDIR}/devel/pcre
LIB_DEPENDS=	execinfo.1:${PORTSDIR}/devel/libexecinfo
RUN_DEPENDS:=	${BUILD_DEPENDS}

USE_AUTOTOOLS=	autoconf:267 automake:110 libtool:22
USE_BZIP2=	yes
USE_ICONV=	yes
USE_OPENSSL=	yes
USE_SQLITE=	yes
USE_TCL=	yes
USE_RC_SUBR=	${PORTNAME}

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
BUILD_DEPENDS+=	xz>0:${PORTSDIR}/archivers/xz
RUN_DEPENDS+=	xz>0:${PORTSDIR}/archivers/xz
.endif

.if ${OSVERSION} < 700000
IGNORE=		only supports 7.0 and above
.endif

pre-configure:
	@cd ${WRKSRC} && ${AUTORECONF} -i

.include <bsd.port.post.mk>