freebsd-ports/irc/ngircd/Makefile

90 lines
2 KiB
Makefile
Raw Normal View History

# 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
CATEGORIES= irc ipv6
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}
DISTVERSION= ${PORTVERSION:S/0.//}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Free open source daemon for Internet Relay Chat (IRC)
LICENSE= GPLv2
USE_RC_SUBR= ngircd
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
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>
.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)
CONFIGURE_ARGS+= --without-syslog
.endif
2012-09-16 17:36:13 +02:00
.if empty(PORT_OPTIONS:MZLIB)
CONFIGURE_ARGS+= --without-zlib
.endif
2012-09-16 17:36:13 +02:00
.if ${PORT_OPTIONS:MIPV6}
CONFIGURE_ARGS+= --enable-ipv6
.endif
2012-09-16 17:36:13 +02:00
.if ${PORT_OPTIONS:MOPENSSL}
CONFIGURE_ARGS+= --with-openssl
2012-09-16 17:36:13 +02:00
USE_OPENSSL=yes
.endif
2012-09-16 17:36:13 +02:00
.if ${PORT_OPTIONS:MGNUTLS}
CONFIGURE_ARGS+= --with-gnutls
2012-09-16 17:36:13 +02:00
LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls
.endif
2012-09-16 17:36:13 +02:00
.if empty(PORT_OPTIONS:MIRCPLUS)
CONFIGURE_ARGS+= --disable-ircplus
2004-07-04 11:23:38 +02:00
.endif
2012-09-16 17:36:13 +02:00
.if ${PORT_OPTIONS:MIDENT}
LIB_DEPENDS+= ident:${PORTSDIR}/security/libident
CONFIGURE_ARGS+= --with-ident
.endif
2012-09-16 17:36:13 +02:00
.if ${PORT_OPTIONS:MSNIFFER}
CONFIGURE_ARGS+= --enable-sniffer
.endif
2012-09-16 17:36:13 +02:00
.if ${PORT_OPTIONS:MDEBUG}
CONFIGURE_ARGS+= --enable-debug
.endif
.if defined(NOPORTDOCS)
MAKE_ARGS+= NOPORTDOCS=yes
.endif
2012-09-16 17:36:13 +02:00
.include <bsd.port.mk>