aboutsummaryrefslogtreecommitdiffstats
path: root/shells/p5-Term-ShellUI/Makefile
blob: 19d9eed9ac2285394ab1945922afa99dcff896da (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
# Created by: Sergey Matveychuk <sem@FreeBSD.org>
# $FreeBSD$

PORTNAME=   Term-ShellUI
PORTVERSION=    0.92
PORTREVISION=   1
CATEGORIES= shells perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Fully-featured shell-like command line environment

BUILD_DEPENDS=  p5-ReadLine-Gnu>=0:${PORTSDIR}/devel/p5-ReadLine-Gnu
RUN_DEPENDS=    p5-ReadLine-Gnu>=0:${PORTSDIR}/devel/p5-ReadLine-Gnu

PERL_CONFIGURE= yes

MAN3=       Term::ShellUI.3 \
        Text::Shellwords::Cursor.3

post-install:
.if !defined(NOPORTEXAMPLES)
    ${MKDIR} ${EXAMPLESDIR}/
    ${ECHO_MSG} "===>   Installing examples for ${PKGNAME}"
    cd ${WRKSRC}/examples/ && ${INSTALL_SCRIPT} \
        fileman-example synopsis synopsis-big tui-sample ${EXAMPLESDIR}/
.endif

.include <bsd.port.mk>