2013-02-05 02:41:24 +00:00
|
|
|
# Created by: David Taylor <davidt@yadt.co.uk>
|
1999-08-25 06:16:32 +00:00
|
|
|
# $FreeBSD$
|
1998-01-15 06:44:50 +00:00
|
|
|
|
2000-04-12 06:28:35 +00:00
|
|
|
PORTNAME= ircd-hybrid
|
2013-11-10 14:12:16 +00:00
|
|
|
PORTVERSION= 8.1.3
|
2004-01-07 11:04:11 +00:00
|
|
|
CATEGORIES= irc ipv6
|
2009-09-02 15:01:56 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2001-10-20 15:10:47 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
1998-01-15 06:44:50 +00:00
|
|
|
|
2011-07-01 13:21:02 +00:00
|
|
|
MAINTAINER= db@FreeBSD.org
|
2013-11-10 14:12:16 +00:00
|
|
|
COMMENT= Fast irc daemon with a number of new features
|
1998-01-15 06:44:50 +00:00
|
|
|
|
2013-02-05 02:41:24 +00:00
|
|
|
INSTALL_IGNORES= ircu-* ircd-rat* charby*
|
2001-10-20 15:10:47 +00:00
|
|
|
|
2013-11-10 14:12:16 +00:00
|
|
|
USES= gmake
|
1998-01-15 06:44:50 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2001-10-20 15:10:47 +00:00
|
|
|
|
2011-07-04 19:42:27 +00:00
|
|
|
USERS= ircd
|
|
|
|
GROUPS= ${USERS}
|
|
|
|
|
2012-08-05 23:19:36 +00:00
|
|
|
USE_RC_SUBR= ircd-hybrid
|
2005-09-16 08:22:53 +00:00
|
|
|
SUB_FILES= pkg-message
|
2013-11-10 14:12:16 +00:00
|
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
2004-06-30 11:57:40 +00:00
|
|
|
|
2013-11-10 14:12:16 +00:00
|
|
|
OPTIONS_DEFINE= OPENSSL HALFOPS ASSERT
|
|
|
|
OPTIONS_DEFAULT=OPENSSL
|
2003-02-04 22:09:50 +00:00
|
|
|
|
2013-11-10 14:12:16 +00:00
|
|
|
ASSERT_CONFIGURE_ENABLE= assert
|
|
|
|
ASSERT_DESC= Enable halfops on the server
|
|
|
|
|
|
|
|
HALFOPS_CONFIGURE_ENABLE= halfops
|
|
|
|
HALFOPS_DESC= Enable parts of the debugging code
|
|
|
|
|
|
|
|
OPENSSL_DESC= Enable openssl - allows use of CHALLENGE and encrypted links
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
1998-04-20 07:50:56 +00:00
|
|
|
|
2013-11-10 14:12:16 +00:00
|
|
|
.if ${PORT_OPTIONS:MOPENSSL}
|
2004-01-07 11:04:11 +00:00
|
|
|
USE_OPENSSL= yes
|
2006-06-16 19:09:27 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-openssl=${OPENSSLBASE}
|
2006-01-05 23:57:18 +00:00
|
|
|
.endif
|
|
|
|
|
2013-11-10 14:12:16 +00:00
|
|
|
# User Configurable Variables
|
|
|
|
# NICKLEN - Nick length. Default is 9. Must be consistant across the network.
|
2004-01-07 11:04:11 +00:00
|
|
|
|
|
|
|
.if defined(NICKLEN)
|
|
|
|
CONFIGURE_ARGS+= --with-nicklen=${NICKLEN}
|
|
|
|
.endif
|
|
|
|
|
2013-02-05 02:41:24 +00:00
|
|
|
CONFIGURE_ARGS+= \
|
|
|
|
--sysconfdir=${PREFIX}/etc/ircd-hybrid \
|
2013-11-10 14:12:16 +00:00
|
|
|
--datarootdir=${PREFIX}/share/${PORTNAME}-${PORTVERSION} \
|
|
|
|
--localstatedir=/var
|
1998-01-15 06:44:50 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|