blob: 183c7d332db627b4fca49937e500719b8aa93600 (
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
|
# Created by: Alexey V. Degtyarev
# $FreeBSD$
PORTNAME= slapd-cyrus
PORTVERSION= 1.00
PORTREVISION= 1
CATEGORIES= mail net
MASTER_SITES= SF/${PORTNAME}
DISTNAME= Slapd-Backend-Cyrus-${PORTVERSION}
MAINTAINER= alexey@renatasystems.org
COMMENT= Slapd backend to translate DIT into Cyrus configuration
BUILD_DEPENDS= cyrus-imapd>=0:${PORTSDIR}/mail/cyrus-imapd24 \
p5-BerkeleyDB>=0:${PORTSDIR}/databases/p5-BerkeleyDB \
p5-Class-Accessor-Lvalue>=0:${PORTSDIR}/devel/p5-Class-Accessor-Lvalue \
p5-IO-String>=0:${PORTSDIR}/devel/p5-IO-String \
p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils \
p5-Test-Class>=0:${PORTSDIR}/devel/p5-Test-Class \
p5-perl-ldap>=0:${PORTSDIR}/net/p5-perl-ldap
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= modbuild
PLIST_SUB= SITE_PERL_REL=${SITE_PERL_REL} \
DOCS_DIR_REL=${DOCSDIR_REL}
.if !defined(NOPORTDOCS)
PORTDOCS= slapd-cyrus.conf
post-install:
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} -m 0444 ${WRKSRC}/t/etc/slapd.conf.dist \
${DOCSDIR}/slapd-cyrus.conf
.endif
do-install:
${MKDIR} ${SITE_PERL}
cd ${WRKSRC}/lib && ${PAX} -r -w . ${SITE_PERL}
.include <bsd.port.mk>
|