freebsd-ports/net/ldapsh/Makefile
Edwin Groothuis 00be7677b5 New port: net/ldapsh - Interactive shell used to administer ldap directories
ldapsh is an interactive shell you can use to administer ldap
    directories. It provides an extensible command mechanism, with
    most of the necessary builtin commands (such as 'clone', 'edit',
    'rm'), and it's relatively easy to add more commands.

    It supports configuring multiple LDAP sources, and storing your
    UID for each source so you don't have to type them each time.

PR:		ports/69721
Submitted by:	Florent Thoumie <flz@xbsd.org>
2004-07-28 22:36:54 +00:00

41 lines
1.1 KiB
Makefile

# New ports collection makefile for: ldapsh
# Date created: Jul 28 2004
# Whom: Florent Thoumie <flz@xbsd.org>
#
# $FreeBSD$
#
PORTNAME= ldapsh
PORTVERSION= 1.2
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 \
${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip
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:
${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
.include <bsd.port.post.mk>