freebsd-ports/net/pen/Makefile

41 lines
850 B
Makefile

# Created by: 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
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
NO_STAGE= yes
.include <bsd.port.mk>