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
|
2007-06-17 19:03:57 +02:00
|
|
|
PORTVERSION= 2.3.2
|
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
|
|
|
|
2003-01-28 01:11:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2003-07-23 00:49:41 +02:00
|
|
|
USE_OPENSSL= yes
|
2005-09-16 01:58:57 +02:00
|
|
|
USE_RC_SUBR= ${PORTNAME}.sh
|
|
|
|
|
|
|
|
SUB_LIST= NAME=${PORTNAME}
|
2002-08-27 01:40:02 +02:00
|
|
|
|
2003-01-28 01:11:44 +01:00
|
|
|
CONFIGURE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
|
|
|
PTHREAD_LIBS="${PTHREAD_LIBS}"
|
|
|
|
MAKE_ARGS+= F_CONF=${PREFIX}/etc/pound.cfg
|
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
|
|
|
|
2005-09-16 01:58:57 +02:00
|
|
|
OPTIONS= DAEMON "Running as a daemon" on \
|
|
|
|
LOG "With Syslog support" on \
|
|
|
|
MSDAV "With the Microsoft WebDAV extensions support" off
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITHOUT_DAEMON)
|
|
|
|
CONFIGURE_ARGS+= --disable-daemon
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITHOUT_LOG)
|
2007-06-14 23:43:54 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-log
|
2005-09-16 01:58:57 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_MSDAV)
|
|
|
|
CONFIGURE_ARGS+= --enable-msdav
|
|
|
|
.endif
|
|
|
|
|
2003-07-23 00:49:41 +02:00
|
|
|
post-install:
|
2005-09-16 01:58:57 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/FAQ ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|