aboutsummaryrefslogtreecommitdiffstats
path: root/shells/p5-Term-ShellUI/Makefile
blob: 241b11e8ce6fc2c243143efbf0b3af181dbfe275 (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
34
35
36
37
38
39
40
41
# New ports collection makefile for:    shells/p5-Term-ShellUI
# Date created:             25 January 2007
# Whom:                 Sergey Matveychuk <sem@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Term-ShellUI
PORTVERSION=    0.86
CATEGORIES= shells perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

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

RUN_DEPENDS=    ${SITE_PERL}/Term/ReadLine/Perl.pm:${PORTSDIR}/devel/p5-ReadLine-Perl

PERL_CONFIGURE= yes

SAMPLESDIR= ${WRKSRC}/examples

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

post-install:

.if !defined(NOPORTDOCS)
    @${ECHO_MSG} "===>   Installing examples for ${PKGNAME}"
    @${MKDIR} ${EXAMPLESDIR}
    @${MKDIR} ${EXAMPLESDIR}/RPC
    @${MKDIR} ${EXAMPLESDIR}/Term
    @${INSTALL_DATA} ${SAMPLESDIR}/RPC/Connection.pm    ${EXAMPLESDIR}/RPC
    @${INSTALL_DATA} ${SAMPLESDIR}/Term/ExprUI.pm   ${EXAMPLESDIR}/Term
    @${INSTALL_DATA} ${SAMPLESDIR}/README       ${EXAMPLESDIR}
.for file in fileman-example psh synopsys synopsys-old tui-sample xmlexer
        @${INSTALL_SCRIPT} ${SAMPLESDIR}/${file}    ${EXAMPLESDIR}
.endfor
.endif

.include <bsd.port.mk>