aboutsummaryrefslogtreecommitdiffstats
path: root/www/pound/Makefile
blob: b411f98acc1fbafb558df869660ae08a85a98d03 (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
# New ports collection makefile for:    pound
# Date created:             27 August 2002
# Whom:                 Anders Nordby <anders@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   pound
PORTVERSION=    1.8.4
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
COMMENT=    Reverse proxy, load balancer and HTTP(S) frontend for web servers

GNU_CONFIGURE=  yes
USE_OPENSSL=    yes

CONFIGURE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
        PTHREAD_LIBS="${PTHREAD_LIBS}"
MAKE_ARGS+= F_CONF=${PREFIX}/etc/pound.cfg

MAN8=   pound.8

post-install:
    @${ECHO} "===>  Installing ${PREFIX}/etc/rc.d/pound.sh"
    @${ECHO} "===>  startup file as ${PREFIX}/etc/rc.d/pound.sh.sample"
    @${INSTALL_SCRIPT} -m 751 ${FILESDIR}/pound.sh \
            ${PREFIX}/etc/rc.d/pound.sh.sample
.include <bsd.port.mk>