2012-10-18 21:28:48 +02:00
|
|
|
# Created by: Kirill Ponomarew <ponomarew@oberon.net>
|
2003-05-03 23:42:35 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ngircd
|
2014-04-26 04:23:10 +02:00
|
|
|
PORTVERSION= 21.1
|
2014-07-23 11:54:02 +02:00
|
|
|
PORTREVISION= 1
|
2013-03-08 03:55:27 +01:00
|
|
|
PORTEPOCH= 1
|
2010-02-26 19:07:16 +01:00
|
|
|
CATEGORIES= irc ipv6
|
2014-04-26 04:23:10 +02:00
|
|
|
MASTER_SITES= http://arthur.barton.de/pub/%SUBDIR%/ \
|
|
|
|
http://ngircd.mirror.3rz.org/pub/%SUBDIR%/
|
2006-12-11 19:34:15 +01:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2003-05-03 23:42:35 +02:00
|
|
|
|
2012-10-18 21:28:48 +02:00
|
|
|
MAINTAINER= ports@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
|
|
|
|
|
2014-04-26 04:23:10 +02:00
|
|
|
USES= tar:xz
|
2003-05-03 23:42:35 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2014-04-26 04:23:10 +02:00
|
|
|
CONFIGURE_ARGS= --disable-silent-rules # --docdir=${WRKDIR}/tmproot
|
|
|
|
USE_RC_SUBR= ngircd
|
2003-05-03 23:42:35 +02:00
|
|
|
|
2014-04-26 04:23:10 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
PLIST_FILES= etc/ngircd.conf.sample \
|
|
|
|
man/man5/ngircd.conf.5.gz \
|
|
|
|
man/man8/ngircd.8.gz \
|
|
|
|
sbin/ngircd
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DEBUG DOCS ICONV IDENT IPV6 IRCPLUS LIBWRAP \
|
|
|
|
SNIFFER SYSLOG ZLIB
|
|
|
|
OPTIONS_RADIO= TLS
|
|
|
|
OPTIONS_RADIO_TLS= GNUTLS OPENSSL
|
|
|
|
OPTIONS_DEFAULT= ICONV IRCPLUS LIBWRAP OPENSSL SYSLOG ZLIB
|
|
|
|
|
|
|
|
DEBUG_CONFIGURE_EBABLE= debug
|
|
|
|
GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls
|
|
|
|
GNUTLS_CONFIGURE_WITH= gnutls
|
|
|
|
ICONV_USES= iconv
|
|
|
|
ICONV_CONFIGURE_WITH= iconv
|
|
|
|
IDENT_DESC= IDENT (AUTH) protocol support
|
|
|
|
IDENT_LIB_DEPENDS= libident.so:${PORTSDIR}/security/libident
|
|
|
|
INDENT_CONFIGURE_WITH= dent
|
|
|
|
IPV6_CONFIGURE_ENABLE= ipv6
|
|
|
|
IRCPLUS_DESC= IRC+ protocol
|
|
|
|
IRCPLUS_CONFIGURE_ENABLE= ircplus
|
|
|
|
LIBWRAP_CONFIGURE_WITH= tcp-wrappers
|
|
|
|
OPENSSL_USE= openssl=yes
|
|
|
|
OPENSSL_CONFIGURE_WITH= openssl
|
|
|
|
SNIFFER_DESC= IRC traffic sniffer
|
|
|
|
SNIFFER_CONFIGURE_ENABLE= sniffer
|
|
|
|
SYSLOG_CONFIGURE_WITH= syslog
|
|
|
|
ZLIB_CONFIGURE_WITH= zlib
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/LIBS/s|-liconv|${ICONV_LIB}|' ${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/toplevel/s| \.\./COPYING|| ; \
|
|
|
|
/INSTALL/s|.conf$$|.conf.sample|' ${WRKSRC}/doc/Makefile.in
|
2003-05-03 23:42:35 +02:00
|
|
|
|
2012-09-16 17:36:13 +02:00
|
|
|
.include <bsd.port.mk>
|