summaryrefslogtreecommitdiffstats
path: root/irc/ircproxy/Makefile
blob: 22a03c861cc95320a2fe57af032ae9989937ff48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# New ports collection makefile for:   ircproxy
# Date created:        10 July 2003
# Whom:                Jonas Kvinge <jonas@night-light.net>
#
# $FreeBSD$
#

PORTNAME=	ircproxy
PORTVERSION=	1.3.4c
CATEGORIES=	irc
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER=	sylvio@FreeBSD.org
COMMENT=	An IRC proxy/bouncer daemon

LIB_DEPENDS=	cares.2:${PORTSDIR}/dns/c-ares

GNU_CONFIGURE=	yes
LDFLAGS+=	-L${LOCALBASE}/lib
CFLAGS+=	-I${LOCALBASE}/include

OPTIONS=	SSL "Enable SSL support" on \
		IPV6 "Enable IPv6 support" on \
		MEMDEBUG "Enable memory debugging" on \
		FDDEBUG "Enable file descriptor debugging" on

.include <bsd.port.pre.mk>

.if defined(WITH_SSL)
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
.else
CONFIGURE_ARGS+=	--disable-ssl
.endif

.if !defined(WITH_IPV6)
CONFIGURE_ARGS+=	--disable-ipv6
.endif

.if defined(WITH_MEMDEBUG)
CONFIGURE_ARGS+=	--enable-memdebug
.else
CONFIGURE_ARGS+=	--disable-memdebug
.endif

.if defined(WITH_FDDEBUG)
CONFIGURE_ARGS+=	--enable-fddebug
.else
CONFIGURE_ARGS+=	--disable-fddebug
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud