Tweak textproc/cdif version 1.19
[dports.git] / textproc / cdif / Makefile
1 # Created by: Yoshiro MIHIRA <sanpei@sanpei.org>
2 # $FreeBSD: textproc/cdif/Makefile 327773 2013-09-20 23:17:30Z bapt $
3
4 PORTNAME=               cdif
5 PORTVERSION=            1.19
6 CATEGORIES=             textproc
7 MASTER_SITES=           http://www.srekcah.org/~utashiro/perl/scripts/cdif/
8 EXTRACT_SUFX=           # empty
9
10 MAINTAINER=             sanpei@FreeBSD.org
11 COMMENT=                Word context diff
12
13 USES=           perl5
14
15 NO_WRKSUBDIR=           yes
16 NO_BUILD=               yes
17
18 NO_STAGE=       yes
19 do-extract:
20         ${MKDIR} ${WRKSRC}
21         ${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/${DISTNAME}.dist
22
23 do-patch:
24         ${SED} -e '1s@/usr/local/bin/perl@${PERL}@' \
25                 < ${WRKSRC}/${DISTNAME}.dist > ${WRKSRC}/${DISTNAME}
26
27 do-install:
28         ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/cdif
29
30 .include <bsd.port.mk>