2004-07-29 00:36:54 +02:00
|
|
|
# New ports collection makefile for: ldapsh
|
|
|
|
# Date created: Jul 28 2004
|
|
|
|
# Whom: Florent Thoumie <flz@xbsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ldapsh
|
2004-12-30 14:17:05 +01:00
|
|
|
PORTVERSION= 2.00
|
2010-01-24 07:18:08 +01:00
|
|
|
PORTREVISION= 3
|
2004-12-30 14:17:05 +01:00
|
|
|
PORTEPOCH= 1
|
2004-07-29 00:36:54 +02:00
|
|
|
CATEGORIES= net
|
2008-04-17 16:30:31 +02:00
|
|
|
MASTER_SITES= CPAN
|
2011-06-20 10:37:15 +02:00
|
|
|
MASTER_SITE_SUBDIR= CPAN:LOOSIFER
|
2004-07-29 00:36:54 +02:00
|
|
|
|
2005-03-01 13:28:00 +01:00
|
|
|
MAINTAINER= flz@FreeBSD.org
|
2004-07-29 00:36:54 +02:00
|
|
|
COMMENT= Interactive shell used to administer ldap directories
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \
|
2004-12-30 14:17:05 +01:00
|
|
|
${SITE_PERL}/Term/ReadLine/Perl.pm:${PORTSDIR}/devel/p5-ReadLine-Perl \
|
2004-07-29 00:36:54 +02:00
|
|
|
${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap \
|
2004-08-02 11:35:31 +02:00
|
|
|
${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip \
|
2004-12-30 14:17:05 +01:00
|
|
|
${SITE_PERL}/Parse/Lex.pm:${PORTSDIR}/devel/p5-ParseLex
|
2012-01-21 18:40:15 +01:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2004-07-29 00:36:54 +02:00
|
|
|
|
2004-12-30 14:17:05 +01:00
|
|
|
SUB_FILES= pkg-message
|
2004-12-19 20:57:16 +01:00
|
|
|
|
2004-12-30 14:17:05 +01:00
|
|
|
MAN1= ldapsh.1
|
2007-09-08 03:12:10 +02:00
|
|
|
MAN3= Net::LDAP::Shell.3 Net::LDAP::Config.3 \
|
2004-12-30 14:17:05 +01:00
|
|
|
Net::LDAP::Shell::Parse.3 Net::LDAP::Shell::Util.3
|
2004-12-19 20:57:16 +01:00
|
|
|
|
2004-12-30 14:17:05 +01:00
|
|
|
PERL_CONFIGURE= yes
|
2004-07-29 00:36:54 +02:00
|
|
|
|
2004-12-19 20:57:16 +01:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e "s,/usr/local/bin/perl,${PERL}," ${WRKSRC}/ldapsh
|
|
|
|
|
2004-07-29 02:26:24 +02:00
|
|
|
post-install:
|
2004-12-30 14:17:05 +01:00
|
|
|
${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/COMMANDS ${DOCSDIR}/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/ldapsh_config ${EXAMPLESDIR}/
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
2004-07-29 02:26:24 +02:00
|
|
|
|
2007-09-08 03:12:10 +02:00
|
|
|
.include <bsd.port.mk>
|