freebsd-ports/textproc/bsddiff/Makefile
Gabor Kovesdan 56eba757e3 - Update to 20080526
- Create symlinks during the build: bsddiff and gnudiff
2008-05-27 13:31:34 +00:00

30 lines
667 B
Makefile

# 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>