1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/www/pound/Makefile
2014-08-13 23:31:44 +00:00

59 lines
1.4 KiB
Makefile

# Created by: Anders Nordby <anders@FreeBSD.org>
# $FreeBSD$
PORTNAME= pound
PORTVERSION= 2.6
PORTREVISION= 3
CATEGORIES= www net
MASTER_SITES= http://www.apsis.ch/pound/ \
ftp://ftp.nuug.no/pub/anders/distfiles/
DISTNAME= Pound-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Reverse proxy, load balancer and HTTP(S) frontend for web servers
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/GPL.txt
USES= tar:tgz
GNU_CONFIGURE= yes
USE_OPENSSL= yes
USE_RC_SUBR= ${PORTNAME}
SUB_LIST= NAME=${PORTNAME}
OPTIONS_DEFINE= DOCS MSDAV PCRE
OPTIONS_DEFAULT=PCRE
MSDAV_DESC= Microsoft WebDAV extension support
PCRE_CONFIGUE_ENABLE= pcreposix
MSDAV_CONFIGURE_ENABLE= msdav
CONFIGURE_ARGS= --disable-tcmalloc --disable-hoard
PLIST_FILES= sbin/pound \
sbin/poundctl \
man/man8/pound.8.gz \
man/man8/poundctl.8.gz
PORTDOCS= README FAQ CHANGELOG
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPCRE}
LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre
CFLAGS+= -I${LOCALBASE}/include
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pound ${WRKSRC}/poundctl \
${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/pound.8 ${WRKSRC}/poundctl.8 \
${STAGEDIR}${MANPREFIX}/man/man8
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>