freebsd-ports/textproc/p5-Text-ASCIITable/Makefile
Philip M. Gollucci b59621d3ae - Revert ports/165605 as requested by portmgr@
Note: devel/p5-B-Size and devel/p5-Devel-Arena
where intentionally not restored.

PR:             ports/165605
Approved by:    portmgr (bapt)
Feature safe:   yes (I sure hope so)
2012-03-13 16:15:36 +00:00

37 lines
874 B
Makefile

# New ports collection makefile for: textproc/p5-Text-ASCIITable
# Date created: 20 April 2005
# Whom: Lars Thegler <lth@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Text-ASCIITable
PORTVERSION= 0.20
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
COMMENT= Create a nice formatted table using ASCII characters
PERL_MODBUILD= yes
MAN3= Text::ASCIITable.3 \
Text::ASCIITable::Wrap.3
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
regression-test: build
cd ${WRKSRC}/ && ./Build test
.include <bsd.port.mk>