aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/cdif/Makefile
blob: 9dd134a460b9617fd8310d97194ad920800bad1b (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
# New ports collection makefile for:    cdif
# Date created:     July 22, 2000
# Whom:         Yoshiro MIHIRA <sanpei@sanpei.org>
#
# $NetBSD: Makefile,v 1.3 2000/08/27 02:46:07 jlam Exp $
# $FreeBSD$
#

PORTNAME=       cdif
PORTVERSION=        1.19
CATEGORIES=     textproc
MASTER_SITES=       http://www.srekcah.org/~utashiro/perl/scripts/cdif/
EXTRACT_SUFX=       # empty

MAINTAINER=     sanpei@FreeBSD.org
COMMENT=        Word context diff

USE_PERL5=      yes

NO_WRKSUBDIR=       yes
NO_BUILD=       yes

do-extract:
    ${MKDIR} ${WRKSRC}
    ${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/${DISTNAME}.dist

do-patch:
    ${SED} -e '1s@/usr/local/bin/perl@${PERL}@' \
        < ${WRKSRC}/${DISTNAME}.dist > ${WRKSRC}/${DISTNAME}

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/cdif

.include <bsd.port.mk>