freebsd-ports/textproc/2bsd-diff/Makefile
Baptiste Daroussin 5271da855f Rely on bsdtar to autodetermine the format of the distfiles when possible
For a while now bsdtar is able to autotermine compression and archive format.
Let's then use tar directly instead of piping to tar.

Now USE_BZIP2 and USE_XZ only set EXTRACT_SUFX to the right format
2013-04-29 08:57:12 +00:00

25 lines
538 B
Makefile

# 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
EXTRACT_AFTER_ARGS= bin/diff man/man1/diff.1
WRKSRC= ${WRKDIR}/bin/diff
MAN1= 2diff.1
post-patch:
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \
${WRKSRC}/../../man/man1/diff.1
.include <bsd.port.mk>