mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
e0d39220da
Tested by: pav (multiple -exp runs)
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
# 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.5
|
|
CATEGORIES= www
|
|
MASTER_SITES= APACHE/${PORTNAME}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-unstable
|
|
|
|
MAINTAINER= jnlin@csie.nctu.edu.tw
|
|
COMMENT= A fast, scalable and extensible HTTP proxy server
|
|
|
|
LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo \
|
|
expat.6:${PORTSDIR}/textproc/expat2 \
|
|
pcre.0:${PORTSDIR}/devel/pcre
|
|
|
|
LICENSE= ASL
|
|
|
|
USE_AUTOTOOLS= autoconf automake libtool
|
|
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} < 800000 && ${ARCH} == "amd64"
|
|
BROKEN= does not compile on 7.X
|
|
.endif
|
|
|
|
pre-configure:
|
|
@cd ${WRKSRC} && ${AUTORECONF} -i
|
|
|
|
# XXX: no, I don't know why this is needed for libtool > 2.2.10 but it's
|
|
# the only one, and a dirty hack will suffice. Of course, using both
|
|
# autoreconf and the bsd.autotools.mk targets is bad too.
|
|
#
|
|
post-configure:
|
|
@${CP} ${LIBTOOL} ${WRKSRC}/libtool
|
|
|
|
.include <bsd.port.post.mk>
|