27 lines
604 B
Makefile
27 lines
604 B
Makefile
# Created by: Gabor Kovesdan <gabor@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= diff
|
|
PORTVERSION= 20120705
|
|
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= bsddiff.1
|
|
|
|
MAKE_ENV+= BINDIR="${PREFIX}/bin" \
|
|
MANDIR="${MANPREFIX}/man/man" \
|
|
CATDIR="${MANPREFIX}/man/man"
|
|
|
|
NO_STAGE= yes
|
|
post-install:
|
|
${LN} -s ${PREFIX}/bin/bsddiff ${PREFIX}/bin/diff
|
|
${LN} -s /usr/bin/diff ${PREFIX}/bin/gnudiff
|
|
|
|
.include <bsd.port.mk>
|