2003-05-03 23:42:35 +02:00
|
|
|
# New ports collection makefile for: ngircd
|
|
|
|
# Date created: 1 May CEST 2003
|
|
|
|
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ngircd
|
2012-08-04 07:49:28 +02:00
|
|
|
PORTVERSION= 0.19.2
|
2010-02-26 19:07:16 +01:00
|
|
|
CATEGORIES= irc ipv6
|
2011-10-04 20:43:23 +02:00
|
|
|
MASTER_SITES= ftp://ftp.berlios.de/pub/%SUBDIR%/ \
|
|
|
|
http://arthur.barton.de/pub/%SUBDIR%/
|
2006-12-11 19:34:15 +01:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2010-12-10 13:25:04 +01:00
|
|
|
DISTVERSION= ${PORTVERSION:S/0.//}
|
2003-05-03 23:42:35 +02:00
|
|
|
|
2009-12-27 21:21:38 +01:00
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
2003-05-03 23:42:35 +02:00
|
|
|
COMMENT= Free open source daemon for Internet Relay Chat (IRC)
|
|
|
|
|
2010-12-08 18:00:55 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2006-02-13 17:56:11 +01:00
|
|
|
USE_RC_SUBR= ngircd
|
2003-05-03 23:42:35 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2003-05-03 23:42:35 +02:00
|
|
|
|
2005-10-20 02:00:32 +02:00
|
|
|
MAN5= ngircd.conf.5
|
|
|
|
MAN8= ngircd.8
|
|
|
|
|
2012-09-16 17:36:13 +02:00
|
|
|
OPTIONS_DEFINE=TCP_WRAPPERS SYSLOG ZLIB IPV6 OPENSSL GNUTLS IRCPLUS IDENT SNIFFER DEBUG
|
|
|
|
OPTIONS_DEFAULT=TCP_WRAPPERS SYSLOG ZLIB IPV6 IRCPLUS
|
|
|
|
NO_OPTIONS_SORT=yes
|
|
|
|
TCP_WRAPPERS_DESC=Enable TCP wrappers support
|
|
|
|
SYSLOG_DESC=Enable syslog() support
|
|
|
|
ZLIB_DESC=Enable ZLIB compression
|
|
|
|
IRCPLUS_DESC=Enable IRC+ protocol
|
|
|
|
IDENT_DESC=Enable IDENT (AUTH) protocol support
|
|
|
|
SNIFFER_DESC=Enable IRC traffic sniffer
|
|
|
|
DEBUG_DESC=Show additional debug output
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
2006-02-13 17:56:11 +01:00
|
|
|
|
|
|
|
.if exists(/usr/include/tcpd.h) && !defined(WITHOUT_TCP_WRAPPERS)
|
|
|
|
CONFIGURE_ARGS+= --with-tcp-wrappers
|
2004-07-04 11:23:38 +02:00
|
|
|
.endif
|
|
|
|
|
2012-09-16 17:36:13 +02:00
|
|
|
.if empty(PORT_OPTIONS:MSYSLOG)
|
2003-05-03 23:42:35 +02:00
|
|
|
CONFIGURE_ARGS+= --without-syslog
|
|
|
|
.endif
|
|
|
|
|
2012-09-16 17:36:13 +02:00
|
|
|
.if empty(PORT_OPTIONS:MZLIB)
|
2003-05-03 23:42:35 +02:00
|
|
|
CONFIGURE_ARGS+= --without-zlib
|
|
|
|
.endif
|
|
|
|
|
2012-09-16 17:36:13 +02:00
|
|
|
.if ${PORT_OPTIONS:MIPV6}
|
2010-02-26 19:07:16 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
|
|
.endif
|
|
|
|
|
2012-09-16 17:36:13 +02:00
|
|
|
.if ${PORT_OPTIONS:MOPENSSL}
|
2009-12-27 21:21:38 +01:00
|
|
|
CONFIGURE_ARGS+= --with-openssl
|
2012-09-16 17:36:13 +02:00
|
|
|
USE_OPENSSL=yes
|
2009-12-27 21:21:38 +01:00
|
|
|
.endif
|
|
|
|
|
2012-09-16 17:36:13 +02:00
|
|
|
.if ${PORT_OPTIONS:MGNUTLS}
|
2009-12-27 21:21:38 +01:00
|
|
|
CONFIGURE_ARGS+= --with-gnutls
|
2012-09-16 17:36:13 +02:00
|
|
|
LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls
|
2009-12-27 21:21:38 +01:00
|
|
|
.endif
|
|
|
|
|
2012-09-16 17:36:13 +02:00
|
|
|
.if empty(PORT_OPTIONS:MIRCPLUS)
|
2006-02-13 17:56:11 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-ircplus
|
2004-07-04 11:23:38 +02:00
|
|
|
.endif
|
2006-02-13 17:56:11 +01:00
|
|
|
|
2012-09-16 17:36:13 +02:00
|
|
|
.if ${PORT_OPTIONS:MIDENT}
|
|
|
|
LIB_DEPENDS+= ident:${PORTSDIR}/security/libident
|
2006-02-13 17:56:11 +01:00
|
|
|
CONFIGURE_ARGS+= --with-ident
|
2003-05-03 23:42:35 +02:00
|
|
|
.endif
|
2006-02-13 17:56:11 +01:00
|
|
|
|
2012-09-16 17:36:13 +02:00
|
|
|
.if ${PORT_OPTIONS:MSNIFFER}
|
2006-02-13 17:56:11 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-sniffer
|
2003-05-03 23:42:35 +02:00
|
|
|
.endif
|
2006-02-13 17:56:11 +01:00
|
|
|
|
2012-09-16 17:36:13 +02:00
|
|
|
.if ${PORT_OPTIONS:MDEBUG}
|
2006-02-13 17:56:11 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-debug
|
2003-05-03 23:42:35 +02:00
|
|
|
.endif
|
|
|
|
|
2010-12-09 18:59:20 +01:00
|
|
|
.if defined(NOPORTDOCS)
|
2010-12-11 06:20:42 +01:00
|
|
|
MAKE_ARGS+= NOPORTDOCS=yes
|
2003-05-03 23:42:35 +02:00
|
|
|
.endif
|
|
|
|
|
2012-09-16 17:36:13 +02:00
|
|
|
.include <bsd.port.mk>
|