2002-08-27 01:40:02 +02:00
|
|
|
# New ports collection makefile for: pound
|
|
|
|
# Date created: 27 August 2002
|
|
|
|
# Whom: Anders Nordby <anders@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pound
|
2012-02-12 23:47:48 +01:00
|
|
|
PORTVERSION= 2.6
|
2012-02-14 13:45:35 +01:00
|
|
|
PORTREVISION= 1
|
2002-08-27 01:40:02 +02:00
|
|
|
CATEGORIES= www net
|
|
|
|
MASTER_SITES= http://www.apsis.ch/pound/ \
|
|
|
|
ftp://ftp.nuug.no/pub/anders/distfiles/
|
|
|
|
DISTNAME= Pound-${PORTVERSION}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= anders@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Reverse proxy, load balancer and HTTP(S) frontend for web servers
|
2002-08-27 01:40:02 +02:00
|
|
|
|
2012-08-06 21:50:27 +02:00
|
|
|
LICENSE= GPLv3
|
|
|
|
LICENSE_FILE= ${WRKSRC}/GPL.txt
|
|
|
|
|
2003-01-28 01:11:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2003-07-23 00:49:41 +02:00
|
|
|
USE_OPENSSL= yes
|
2012-08-06 01:19:36 +02:00
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
2005-09-16 01:58:57 +02:00
|
|
|
|
|
|
|
SUB_LIST= NAME=${PORTNAME}
|
2002-08-27 01:40:02 +02:00
|
|
|
|
2007-03-01 22:54:46 +01:00
|
|
|
MAN8= pound.8 poundctl.8
|
2002-08-27 01:40:02 +02:00
|
|
|
|
2010-03-23 22:38:01 +01:00
|
|
|
OPTIONS= MSDAV "With the Microsoft WebDAV extensions support" off \
|
|
|
|
PCRE "Build with libpcre support" on
|
2005-09-16 01:58:57 +02:00
|
|
|
|
2012-08-06 21:50:27 +02:00
|
|
|
CONFIGURE_ARGS= --disable-tcmalloc --disable-hoard
|
2010-03-23 22:38:01 +01:00
|
|
|
PLIST_FILES= sbin/pound sbin/poundctl
|
2008-03-18 22:12:38 +01:00
|
|
|
PORTDOCS= README FAQ CHANGELOG
|
|
|
|
|
2010-03-23 22:38:01 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
2005-09-16 01:58:57 +02:00
|
|
|
|
|
|
|
.if defined(WITH_MSDAV)
|
|
|
|
CONFIGURE_ARGS+= --enable-msdav
|
|
|
|
.endif
|
|
|
|
|
2010-03-23 22:38:01 +01:00
|
|
|
.if !defined(WITHOUT_PCRE)
|
2012-02-14 13:45:35 +01:00
|
|
|
LIB_DEPENDS+= pcre.1:${PORTSDIR}/devel/pcre
|
2010-03-23 22:38:01 +01:00
|
|
|
CFLAGS+= "-I${LOCALBASE}/include"
|
|
|
|
CPPFLAGS+= "-I${LOCALBASE}/include"
|
|
|
|
LDFLAGS+= "-L${LOCALBASE}/lib"
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-pcreposix
|
2007-10-09 16:58:18 +02:00
|
|
|
.endif
|
|
|
|
|
2003-07-23 00:49:41 +02:00
|
|
|
post-install:
|
2005-09-16 01:58:57 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
2008-03-18 22:12:38 +01:00
|
|
|
.for f in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
|
|
.endfor
|
2005-09-16 01:58:57 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|