aboutsummaryrefslogtreecommitdiff
path: root/net/pen
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 21:44:04 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 21:44:04 +0000
commit3631e2333a8700d4f00d6caa681ba17d7687babf (patch)
tree745f97af838071739e1b6070acbf4862962b5405 /net/pen
parentd88572b38372acbe93dad72b0058c23d88f85dca (diff)
downloadports-3631e2333a8700d4f00d6caa681ba17d7687babf.tar.gz
ports-3631e2333a8700d4f00d6caa681ba17d7687babf.zip
Notes
Diffstat (limited to 'net/pen')
-rw-r--r--net/pen/Makefile37
1 files changed, 18 insertions, 19 deletions
diff --git a/net/pen/Makefile b/net/pen/Makefile
index e9dac6a526d6..6e4da33a1dc5 100644
--- a/net/pen/Makefile
+++ b/net/pen/Makefile
@@ -10,30 +10,29 @@ MASTER_SITES= ftp://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 man/man1/mergelogs.1.gz \
- man/man1/pen.1.gz man/man1/penctl.1.gz \
- man/man1/penlog.1.gz man/man1/penlogd.1.gz
+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 man/man1/mergelogs.1.gz \
+ man/man1/pen.1.gz man/man1/penctl.1.gz \
+ man/man1/penlog.1.gz man/man1/penlogd.1.gz
+
+OPTIONS_DEFINE= DOCS KQUEUE
+OPTIONS_DEFAULT=KQUEUE
+KQUEUE_DESC= Use kqueue backend
.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
+KQUEUE_CONFIGURE_ON= --with-kqueue
+KQUEUE_CONFIGURE_OFF= --with-poll
-.if defined(NOPORTDOCS)
-MAKE_ARGS+= -DNOPORTDOCS
-.endif
+DOCS_MAKE_ARGS= -DNOPORTDOCS
.include <bsd.port.mk>