aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/rfcdiff/Makefile
blob: cb4151a41fc03c4218db55cb2f136974b422bc74 (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
36
# New ports collection makefile for: rfcdiff
# Date Created:     11 November 2004
# Whom:         lars.eggert@gmx.net
#
# $FreeBSD$

PORTNAME=   rfcdiff
PORTVERSION=    1.27
CATEGORIES= textproc
MASTER_SITES=   http://tools.ietf.org/tools/${PORTNAME}/
DISTNAME=   ${PORTNAME}-v${PORTVERSION}
EXTRACT_SUFX=

MAINTAINER= lars.eggert@gmx.net
COMMENT=    Compare two versions of an Internet Draft and produce a diff

RUN_DEPENDS=    bash:${PORTSDIR}/shells/bash \
        gawk:${PORTSDIR}/lang/gawk \
        wdiff:${PORTSDIR}/textproc/wdiff

EXTRACT_CMD=    ${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= ${WRKSRC}
NO_WRKSUBDIR=   YES
NO_BUILD=   YES

PLIST_FILES=    bin/rfcdiff

post-patch:
    @${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \
        ${WRKSRC}/${DISTNAME}

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

.include <bsd.port.mk>