blob: f5d2c4b243719afd9e9fba72ad466de202d033a3 (
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
|
# Created by: 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
USES= perl5
USE_PERL5= configure
MAN3= Text::ASCIITable.3 \
Text::ASCIITable::Wrap.3
NO_STAGE= yes
post-extract:
@${MKDIR} ${WRKSRC}/example
@${MV} ${WRKSRC}/ansi-example.pl ${WRKSRC}/example
@${REINPLACE_CMD} -i '' '/ansi-example.pl/d' ${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>
|