freebsd-ports/devel/p5-Test-OpenLDAP/Makefile
Bryan Drewery 59ffd929d8 - Fix dependency line for p5-Net. This was causing needless rebuilding of
p5-Test-OpenLDAP with poudriere as it always thought the dependencies
  were changed. This also correctly registers the p5-Net as a dependency
  for package use.

With hat:	portmgr
2014-08-12 19:02:46 +00:00

36 lines
897 B
Makefile

# $FreeBSD$
PORTNAME= Test-OpenLDAP
PORTVERSION= 0.05
PORTREVISION= 3
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Perl extension to creates temp instance of slapd to run tests against
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
RUN_DEPENDS= \
p5-Data-UUID>0:${PORTSDIR}/devel/p5-Data-UUID \
p5-perl-ldap>0:${PORTSDIR}/net/p5-perl-ldap \
${LOCALBASE}/libexec/slapd:${PORTSDIR}/net/openldap${OPENLDAP_VER}-server \
p5-Net>0:${PORTSDIR}/net/p5-Net
BUILD_DEPENDS= ${RUN_DEPENDS}
USES= perl5
USE_PERL5= configure
USE_OPENLDAP= yes
CONFIGURE_ENV= PATH=${PATH}:${PREFIX}/libexec
post-patch:
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
-e 's|/usr/lib/openldap|${LOCALBASE}/libexec|' \
${WRKSRC}/lib/Test/OpenLDAP.pm
${RM} ${WRKSRC}/lib/Test/OpenLDAP.pm.bak \
${WRKSRC}/lib/Test/OpenLDAP.pm.orig
.include <bsd.port.mk>