2005-04-20 14:10:41 +02:00
|
|
|
# New ports collection makefile for: textproc/p5-Text-ASCIITable
|
|
|
|
# Date created: 20 April 2005
|
|
|
|
# Whom: Lars Thegler <lth@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Text-ASCIITable
|
2006-07-17 23:08:28 +02:00
|
|
|
PORTVERSION= 0.18
|
2005-04-20 14:10:41 +02:00
|
|
|
CATEGORIES= textproc perl5
|
2008-04-17 16:30:31 +02:00
|
|
|
MASTER_SITES= CPAN
|
2005-04-20 14:10:41 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
|
|
|
MAINTAINER= lth@FreeBSD.org
|
|
|
|
COMMENT= Create a nice formatted table using ASCII characters
|
|
|
|
|
2006-07-25 07:50:23 +02:00
|
|
|
PERL_MODBUILD= yes
|
2005-04-20 14:10:41 +02:00
|
|
|
|
|
|
|
MAN3= Text::ASCIITable.3 \
|
|
|
|
Text::ASCIITable::Wrap.3
|
|
|
|
|
2005-09-27 21:30:07 +02:00
|
|
|
post-extract:
|
|
|
|
@${MKDIR} ${WRKSRC}/example
|
|
|
|
@${MV} ${WRKSRC}/ansi-example.pl ${WRKSRC}/example
|
|
|
|
@${PERL} -pi -e '$$_="" if m|ansi-example.pl|' ${WRKSRC}/MANIFEST
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/example/ansi-example.pl ${EXAMPLESDIR}
|
|
|
|
@${ECHO_MSG} "===> Example installed in ${EXAMPLESDIR}."
|
|
|
|
.endif
|
|
|
|
|
2007-09-08 03:12:10 +02:00
|
|
|
.include <bsd.port.mk>
|