aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/align/Makefile
blob: 3ad86369dd739cfc84b3d4cddb8bc49001abd647 (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=   align
PORTVERSION=    1.7.2
CATEGORIES= textproc
MASTER_SITES=   http://www.cs.indiana.edu/~kinzler/align/
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Text column alignment filter

LICENSE=    GPLv2 # (or later)

NO_BUILD=   yes

USE_PERL5_RUN=  yes

PLIST_FILES=    bin/align bin/width

post-patch:
.for i in align width
    @${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/${i}
.endfor

do-install:
.for i in align width
    (cd ${WRKSRC} && ${INSTALL_SCRIPT} ${i} ${PREFIX}/bin)
.endfor

.include <bsd.port.mk>