freebsd-ports/textproc/diffutils/Makefile
2006-05-13 04:24:52 +00:00

40 lines
903 B
Makefile

# New ports collection makefile for: diffutils
# Date created: 5 September 2001
# Whom: Garrett Rooney <rooneg@electricjellyfish.net>
#
# $FreeBSD$
#
PORTNAME= diffutils
PORTVERSION= 2.8.1
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= diffutils
MAINTAINER= ports@FreeBSD.org
COMMENT= The GNU diff utilities
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
INFO= diff
MAN1= gcmp.1 gdiff.1 gdiff3.1 gsdiff.1
PLIST_FILES= bin/gcmp bin/gdiff bin/gdiff3 bin/gsdiff
OPTIONS= TIMESTAMP_PRECISION "With nano second timestamp precision" off
.include <bsd.port.pre.mk>
.if defined(WITH_TIMESTAMP_PRECISION)
PATCH_SITES+= http://izb.knu.ac.kr/~bh/diffs/
PATCHFILES+= diffutils-2.8.1-timestamp_precision.diff
PATCH_DIST_STRIP+= -p1
.endif
.if defined(WITH_TIMESTAMP_PRECISION)
post-install:
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.post.mk>