aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/2bsd-diff/Makefile
blob: caec5a2e876ac951099574e64b545e3d14482ec8 (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
# New ports collection makefile for:    2bsd-diff
# Date created:             Mon Mar 17 20:54:03 EST 2003
# Whom:                 risner@stdio.com
#
# $FreeBSD$
#

PORTNAME=   diff
PORTVERSION=    2.11
PORTREVISION=   0
CATEGORIES= textproc
MASTER_SITES=   http://www.tribug.org/pub/tuhs/PDP-11/Distributions/ucb/2.11BSD/
PKGNAMEPREFIX=  2bsd-
DISTNAME=   file8

MAINTAINER= risner@stdio.com
COMMENT=    2.11BSD diff utility

EXTRACT_AFTER_ARGS= | ${TAR} -xf - bin/diff man/man1/diff.1
WRKSRC=     ${WRKDIR}/bin/diff

USE_REINPLACE=  YES

MAN1=       2diff.1

post-patch:
    @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \
                ${WRKSRC}/../../man/man1/diff.1

.include <bsd.port.mk>