aboutsummaryrefslogtreecommitdiffstats
path: root/irc/ircproxy/Makefile
blob: ecb5a492f52908736f42913e3e7913c973fb51ba (plain) (blame)
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
# New ports collection makefile for:   ircproxy
# Date created:        10 July 2003
# Whom:                Jonas Kvinge <jonas@night-light.net>
#
# $FreeBSD$
#

PORTNAME=   ircproxy
PORTVERSION=    1.3.3c
CATEGORIES= irc
MASTER_SITES=   SF

MAINTAINER= jonas@night-light.net
COMMENT=    An IRC proxy/bouncer daemon

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

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --prefix=${LOCALBASE}

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>