aboutsummaryrefslogtreecommitdiffstats
path: root/net/plb/Makefile
blob: 40aa0e38457e887464188ab3029bf1145a9e96fb (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
34
35
36
37
38
39
40
41
42
43
# New ports collection Makefile for:    plb
# Date created:                         Feb 26, 2003
# Whom:                                 Frank Denis <j@pureftpd.org>
#
# $FreeBSD$
#

PORTNAME=   plb
PORTVERSION=    0.3
PORTREVISION=   7
CATEGORIES= net ipv6
MASTER_SITES=   http://plb.sunsite.dk/files/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A high-performance HTTP load balancer

LIB_DEPENDS=    event-1.4:${PORTSDIR}/devel/libevent

BROKEN=     does not build
DEPRECATED= broken; abandoned by author; use net/relayd or www/nginx instead
EXPIRATION_DATE=    2010-02-16

GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=    --sysconfdir=${PREFIX}/etc

USE_RC_SUBR=    ${PORTNAME}

MAN8=       plb.8
DOCS=       AUTHORS CONTACT COPYING NEWS README THANKS TODO

.include <bsd.port.pre.mk>

post-install:
    ${INSTALL_DATA} ${WRKSRC}/plb.conf ${PREFIX}/etc/plb.conf.sample
    @if [ ! -f ${PREFIX}/etc/plb.conf ]; then \
        ${CP} -p ${PREFIX}/etc/plb.conf.sample ${PREFIX}/etc/plb.conf ; \
    fi
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}/)
.endif

.include <bsd.port.post.mk>