9e4ea31415
PR: ports/103338 Submitted by: Gea-Suan Lin <gslin at gslin.org>
46 lines
1.6 KiB
Makefile
46 lines
1.6 KiB
Makefile
# New ports collection makefile for: p5-Samba-LDAP
|
|
# Date created: 2006-09-18
|
|
# Whom: Gea-Suan Lin <gslin@gslin.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Samba-LDAP
|
|
PORTVERSION= 0.03
|
|
CATEGORIES= net perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= Samba
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= gslin@gslin.org
|
|
COMMENT= Manage a Samba PDC with an LDAP Backend
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
|
|
${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
|
|
${SITE_PERL}/${PERL_ARCH}/List/MoreUtils.pm:${PORTSDIR}/lang/p5-List-MoreUtils \
|
|
${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
|
|
${SITE_PERL}/${PERL_ARCH}/Readonly.pm:${PORTSDIR}/devel/p5-Readonly \
|
|
${SITE_PERL}/Class/Base.pm:${PORTSDIR}/devel/p5-Class-Base \
|
|
${SITE_PERL}/Config/Tiny.pm:${PORTSDIR}/devel/p5-Config-Tiny \
|
|
${SITE_PERL}/Crypt/SmbHash.pm:${PORTSDIR}/security/p5-Crypt-SmbHash \
|
|
${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap \
|
|
${SITE_PERL}/Regexp/DefaultFlags.pm:${PORTSDIR}/textproc/p5-Regexp-DefaultFlags \
|
|
${SITE_PERL}/UNIVERSAL/require.pm:${PORTSDIR}/devel/p5-UNIVERSAL-require \
|
|
${SITE_PERL}/Unicode/MapUTF8.pm:${PORTSDIR}/converters/p5-Unicode-MapUTF8
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= Samba::LDAP.3 Samba::LDAP::Base.3 Samba::LDAP::Config.3 \
|
|
Samba::LDAP::Group.3 Samba::LDAP::User.3
|
|
|
|
post-patch:
|
|
${PERL} -pi -e '$$_ = "" if m|auto_install|' ${WRKSRC}/Makefile.PL
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 500600
|
|
IGNORE= requires Perl 5.6.0 or newer. Install lang/perl5.8 and try again
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|