aboutsummaryrefslogtreecommitdiffstats
path: root/net/ldapsh/Makefile
blob: 9cc841c3749af078b2b156ec70b3799dce2b5dcb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Florent Thoumie <flz@xbsd.org>
# $FreeBSD$

PORTNAME=   ldapsh
PORTVERSION=    2.00
PORTREVISION=   3
PORTEPOCH=  1
CATEGORIES= net
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:LOOSIFER

MAINTAINER= flz@FreeBSD.org
COMMENT=    Interactive shell used to administer ldap directories

BUILD_DEPENDS=  p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey \
        p5-ReadLine-Perl>=0:${PORTSDIR}/devel/p5-ReadLine-Perl \
        p5-perl-ldap>=0:${PORTSDIR}/net/p5-perl-ldap \
        p5-Date-Manip>=0:${PORTSDIR}/devel/p5-Date-Manip \
        p5-ParseLex>=0:${PORTSDIR}/devel/p5-ParseLex
RUN_DEPENDS:=   ${BUILD_DEPENDS}

SUB_FILES=  pkg-message

USES=       perl5 shebangfix
USE_PERL5=  configure
SHEBANG_FILES=  ldapsh

post-install:
    ${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/COMMANDS ${STAGEDIR}${DOCSDIR}/
    ${INSTALL_DATA} ${WRKSRC}/examples/ldapsh_config ${STAGEDIR}${EXAMPLESDIR}/

.include <bsd.port.mk>