aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/2bsd-diff/Makefile
blob: 21ee75cb6deef6bf930825b9ee9a847dec2c1df0 (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
# Created by: 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/ \
        http://www.stdio.com/2.11BSD/
PKGNAMEPREFIX=  2bsd-
DISTNAME=   file8

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

CFLAGS+=    -Wno-error=return-type
EXTRACT_AFTER_ARGS= bin/diff man/man1/diff.1
WRKSRC=     ${WRKDIR}/bin/diff

PLIST_FILES=    bin/2diff libexec/2diffh man/man1/2diff.1.gz

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

.include <bsd.port.mk>