Update irc/ircd-hybrid to version 8.1.3_1
[dports.git] / irc / ircd-hybrid / Makefile
1 # Created by: David Taylor <davidt@yadt.co.uk>
2 # $FreeBSD$
3
4 PORTNAME=       ircd-hybrid
5 PORTVERSION=    8.1.3
6 PORTREVISION=   1
7 CATEGORIES=     irc ipv6
8 MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
9
10 MAINTAINER=     db@FreeBSD.org
11 COMMENT=        Fast irc daemon with a number of new features
12
13 INSTALL_IGNORES=        ircu-* ircd-rat* charby*
14
15 # :keepla because port uses lt_dlopen
16 USES=           gmake libtool:keepla tar:tgz
17 GNU_CONFIGURE=  yes
18
19 USERS=          ircd
20 GROUPS=         ${USERS}
21
22 USE_RC_SUBR=    ircd-hybrid
23 SUB_FILES=      pkg-message
24 PLIST_SUB=      PORTVERSION=${PORTVERSION}
25
26 OPTIONS_DEFINE= OPENSSL HALFOPS ASSERT
27 OPTIONS_DEFAULT=OPENSSL
28
29 ASSERT_CONFIGURE_ENABLE=        assert
30 ASSERT_DESC=    Enable parts of the debugging code
31
32 HALFOPS_CONFIGURE_ENABLE=       halfops
33 HALFOPS_DESC=   Enable halfops on the server
34
35 OPENSSL_DESC=   Enable openssl - allows use of CHALLENGE and encrypted links
36
37 .include <bsd.port.options.mk>
38
39 .if ${PORT_OPTIONS:MOPENSSL}
40 USE_OPENSSL=    yes
41 CONFIGURE_ARGS+=        --enable-openssl=${OPENSSLBASE}
42 .endif
43
44 # User Configurable Variables
45 # NICKLEN               - Nick length. Default is 9. Must be consistent across the network.
46
47 .if defined(NICKLEN)
48 CONFIGURE_ARGS+=        --with-nicklen=${NICKLEN}
49 .endif
50
51 CONFIGURE_ARGS+=        \
52         --sysconfdir=${PREFIX}/etc/ircd-hybrid \
53         --datarootdir=${PREFIX}/share/${PORTNAME}-${PORTVERSION} \
54         --localstatedir=/var
55
56 .include <bsd.port.mk>