mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
4aaab89f57
PR: ports/122674 Submitted by: Philip M. Gollucci <pgollucci@p6m7g8.com> Reworked by: araujo (myself) Approved by: portmgr (pav)
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# 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>
|