aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/bsddiff/Makefile
blob: 98c87060f0c7b8deca6aeb7c98467a7faabbeac7 (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:    bsd-diff
# Date created:             12 Juni 2007
# Whom:                 Gabor Kovesdan <gabor@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   diff
PORTVERSION=    20080526
CATEGORIES= textproc
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= gabor
PKGNAMEPREFIX=  bsd-

MAINTAINER= gabor@FreeBSD.org
COMMENT=    BSD-licensed version of diff from OpenBSD

WRKSRC=     ${WRKDIR}/${PORTNAME}
MANCOMPRESSED=  yes
MAN1=       diff.1

MAKE_ENV+=  BINDIR="${PREFIX}/bin" \
        MANDIR="${MANPREFIX}/man/man" \
        CATDIR="${MANPREFIX}/man/man"

post-install:
    ${LN} -s ${PREFIX}/bin/diff ${PREFIX}/bin/bsddiff
    ${LN} -s /usr/bin/diff ${PREFIX}/bin/gnudiff

.include <bsd.port.mk>