aboutsummaryrefslogtreecommitdiffstats
path: root/net/pen/Makefile
blob: 857e50d8f1ab5ed8f1b16765b8442f332b6ab4f0 (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:    pen
# Date created:         Nov 13, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   pen
PORTVERSION=    0.18.0
CATEGORIES= net
MASTER_SITES=   ftp://siag.nu/pub/pen/ \
        http://siag.nu/pub/pen/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A load balancer for simple TCP based protocols

GNU_CONFIGURE=      yes
USE_OPENSSL=        yes
USE_RC_SUBR=        pen.sh
CONFIGURE_ARGS=     --with-daemon --with-docdir=${DOCSDIR} \
            --with-ssl=${OPENSSLBASE}

PORTDOCS=       penstats HOWTO AUTHORS README ChangeLog COPYING
PLIST_FILES=        bin/mergelogs bin/pen bin/penctl bin/penlog \
            bin/penlogd

.if defined(WITH_FDSETSIZE)
CONFIGURE_ARGS+=    --with-fd_setsize=${WITH_FDSETSIZE}
.endif

.if defined(WITH_POLL)
CONFIGURE_ARGS+=    --with-poll
.else
CONFIGURE_ARGS+=    --with-kqueue
.endif

.if defined(NOPORTDOCS)
MAKE_ARGS+= -DNOPORTDOCS
.endif

MAN1=       mergelogs.1 pen.1 penctl.1 penlog.1 penlogd.1

.include <bsd.port.mk>