aboutsummaryrefslogtreecommitdiff
path: root/irc/atheme-services/Makefile
blob: c339c7aafaecd9ed47c63a55d237fc1e181fa30c (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
51
52
53
54
55
# Created by: tdb
# $FreeBSD$

PORTNAME=	atheme-services
PORTVERSION=	7.2.7
CATEGORIES=	irc ipv6 net
MASTER_SITES=	https://github.com/atheme/atheme/releases/download/v${PORTVERSION}/
DISTNAME=	atheme-${PORTVERSION}

MAINTAINER=	tdb@FreeBSD.org
COMMENT=	Set of services for IRC networks

LICENSE=	ISCL
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libmowgli-2.so:devel/libmowgli2

USES=		cpe gmake localbase pathfix pkgconfig ssl tar:bzip2
PATHFIX_MAKEFILEIN=	Makefile
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-fhs-paths \
		--sysconfdir=${PREFIX}/etc/atheme \
		--localstatedir=/var \
		--disable-gtk-doc \
		--enable-large-net

CPE_PRODUCT=	atheme

USERS=		ircservices
GROUPS=		ircservices

USE_RC_SUBR=	atheme-services

OPTIONS_DEFINE=	CONTRIB CRACKLIB DOCS LDAP NLS PCRE PERL
OPTIONS_DEFAULT=	CRACKLIB LDAP PCRE PERL

CONTRIB_DESC=	Enable contrib modules
CRACKLIB_DESC=	Use cracklib for checking password strength

OPTIONS_SUB=	yes

CONTRIB_CONFIGURE_ENABLE=	contrib
CRACKLIB_LIB_DEPENDS=	libcrack.so:security/cracklib
CRACKLIB_CONFIGURE_WITH=	cracklib
LDAP_USE=	openldap=yes
LDAP_CONFIGURE_WITH=	ldap
NLS_USES=	gettext
NLS_CONFIGURE_ENABLE=	nls
PCRE_LIB_DEPENDS=	libpcre.so:devel/pcre
PCRE_CONFIGURE_WITH=	pcre
PERL_USES=	perl5
PERL_CONFIGURE_WITH=	perl

.include <bsd.port.mk>