2004-07-28 22:36:54 +00:00
|
|
|
# New ports collection makefile for: ldapsh
|
|
|
|
# Date created: Jul 28 2004
|
|
|
|
# Whom: Florent Thoumie <flz@xbsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ldapsh
|
|
|
|
PORTVERSION= 1.2
|
2004-07-29 00:26:24 +00:00
|
|
|
PORTREVISION= 1
|
2004-07-28 22:36:54 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://madstop.com/ldapsh/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= flz@xbsd.org
|
|
|
|
COMMENT= Interactive shell used to administer ldap directories
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \
|
|
|
|
${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap \
|
2004-08-02 09:35:31 +00:00
|
|
|
${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip \
|
|
|
|
${SITE_PERL}/Parse/RecDescent.pm:${PORTSDIR}/devel/p5-Parse-RecDescent
|
2004-07-28 22:36:54 +00:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
|
|
|
USE_PERL5= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
WRKSRC= ${WRKDIR}/ldapsh
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PERL_LEVEL} < 500600
|
|
|
|
BUILD_DEPENDS+= ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
2004-07-29 00:26:24 +00:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/COMMANDS ${DOCSDIR}
|
2004-07-28 22:36:54 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ldapsh ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/LdapConfig.pl ${PREFIX}/etc/LdapConfig.pl.sample
|
|
|
|
${CP} -r ${WRKSRC}/lib/Net ${SITE_PERL}
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e "s,/usr/local/bin/perl,${PERL}," ${WRKSRC}/ldapsh
|
|
|
|
|
2004-07-29 00:26:24 +00:00
|
|
|
post-install:
|
|
|
|
${CAT} ${PKGMESSAGE}
|
|
|
|
|
2004-07-28 22:36:54 +00:00
|
|
|
.include <bsd.port.post.mk>
|