summaryrefslogtreecommitdiff
path: root/databases/p5-perl-ldap/Makefile
blob: 6368727827a59b6d24714ca8e0c8038c58633a70 (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
# $NetBSD: Makefile,v 1.50 2015/02/13 13:24:53 mef Exp $

DISTNAME=	perl-ldap-0.63
PKGREVISION=	1
PKGNAME=	p5-${DISTNAME}
CATEGORIES=	databases net devel perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=LWP/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://ldap.perl.org/
COMMENT=	Perl class to access LDAP servers
LICENSE=	${PERL5_LICENSE}

BUILD_DEFS+=	IPV6_READY

DEPENDS+=	p5-Convert-ASN1>=0.07:../../textproc/p5-Convert-ASN1
DEPENDS+=	p5-IO-Socket-SSL>=0.81:../../security/p5-IO-Socket-SSL
DEPENDS+=	p5-Text-Soundex-[0-9]*:../../textproc/p5-Text-Soundex
DEPENDS+=	{perl>=5.8.0,p5-MIME-Base64-[0-9]*}:../../converters/p5-MIME-Base64
DEPENDS+=	p5-URI>=1.10:../../www/p5-URI
DEPENDS+=	p5-XML-SAX-Writer-[0-9]*:../../textproc/p5-XML-SAX-Writer

MAKE_PARAMS+=	--skip	# skip CPAN auto installation of modules

PKG_OPTIONS_VAR=	PKG_OPTIONS.p5-perl-ldap
PKG_SUPPORTED_OPTIONS=	sasl inet6
PKG_SUGGESTED_OPTIONS=	inet6

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Msasl)
DEPENDS+=	p5-Authen-SASL>=2.00:../../security/p5-Authen-SASL
DEPENDS+=	{perl>=5.8.0,p5-Digest-MD5-[0-9]*}:../../security/p5-Digest-MD5
.endif

.if !empty(PKG_OPTIONS:Minet6)
DEPENDS+=	p5-IO-Socket-INET6-[0-9]*:../../net/p5-IO-Socket-INET6
.endif

PERL5_PACKLIST=		auto/Net/LDAP/.packlist

post-extract:
	chmod -x ${WRKSRC}/lib/Net/LDAP/DSML.pm

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"