aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-perl-ldap/Makefile
blob: 8d11f55e0a2666c3a9194cc870bee2a3db3b71b0 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# New ports collection makefile for:    perl-ldap
# Date created: October 27th 2000
# Whom:     scrappy@freebsd.org
#
# $FreeBSD$
#

PORTNAME=   perl-ldap
PORTVERSION=    ${DISTVERSION:S/.././g}
CATEGORIES= net perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX=  p5-
DISTNAME=   ${PORTNAME}-${DISTVERSION:S/..//g}

MAINTAINER= perl@FreeBSD.org
COMMENT=    A Client interface to LDAP servers

DISTVERSION=    0.33

BUILD_DEPENDS=  ${SITE_PERL}/Convert/ASN1.pm:${PORTSDIR}/converters/p5-Convert-ASN1 \
        ${SITE_PERL}/URI/ldap.pm:${PORTSDIR}/net/p5-URI \
        ${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL \
        ${SITE_PERL}/Authen/SASL.pm:${PORTSDIR}/security/p5-Authen-SASL \
        ${SITE_PERL}/XML/SAX/Base.pm:${PORTSDIR}/textproc/p5-XML-SAX
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       Bundle::Net::LDAP.3 \
        Net::LDAP.3 \
        Net::LDAP::Constant.3 \
        Net::LDAP::Control.3 \
        Net::LDAP::Control::EntryChange.3 \
        Net::LDAP::Control::ManageDsaIT.3 \
        Net::LDAP::Control::Paged.3 \
        Net::LDAP::Control::PersistentSearch.3 \
        Net::LDAP::Control::ProxyAuth.3 \
        Net::LDAP::Control::Sort.3 \
        Net::LDAP::Control::SortResult.3 \
        Net::LDAP::Control::VLV.3 \
        Net::LDAP::Control::VLVResponse.3 \
        Net::LDAP::DSML.3 \
        Net::LDAP::Entry.3 \
        Net::LDAP::Examples.3 \
        Net::LDAP::Extension::SetPassword.3 \
        Net::LDAP::Extension::WhoAmI.3 \
        Net::LDAP::Extra.3 \
        Net::LDAP::FAQ.3 \
        Net::LDAP::Filter.3 \
        Net::LDAP::LDIF.3 \
        Net::LDAP::Message.3 \
        Net::LDAP::RFC.3 \
        Net::LDAP::Reference.3 \
        Net::LDAP::RootDSE.3 \
        Net::LDAP::Schema.3 \
        Net::LDAP::Search.3 \
        Net::LDAP::Security.3 \
        Net::LDAP::Util.3 \
        Net::LDAPI.3 \
        Net::LDAPS.3

.include <bsd.port.pre.mk>

post-patch:
    @${PERL} -ni'.bak' -e 'next if 2../^__END__$$/; print' \
        '${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}'

.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
.endif

.include <bsd.port.post.mk>