1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/shells/p5-Term-ShellUI/Makefile
Marcelo Araujo 4aaab89f57 - Take advantage of CPAN macro from bsd.sites.mk, change ${MASTER_SITE_PERL_CPAN} to CPAN.
PR:		ports/122674
Submitted by:	Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by:	araujo (myself)
Approved by:	portmgr (pav)
2008-04-17 14:30:31 +00:00

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>