# $Id: Portfile 67570 2010-05-13 04:52:06Z ryandesign@macports.org $

PortSystem			1.0
name				gpatch
version				2.6.1
revision			1
categories			devel
maintainers			nomaintainer
description			GNU patch, for applying diffs to files
long_description \
	The GNU patch adds support for: \
	handling arbitrary binary data and large files. \
	the unified context diff format that GNU diff can produce. \
	making GNU Emacs-style backup files. \
	improved interaction with RCS and SCCS. \
	the GNU conventions for option parsing and configuring and compilation. \
	better POSIX.2 compliance.

homepage			http://www.gnu.org/software/patch/
master_sites		gnu:patch
use_bzip2			yes

platforms			darwin sunos
distname			patch-${version}
checksums			md5     0818d1763ae0c4281bcdc63cdac0b2c0 \
					sha1    105f313d14b5458e0aa229c518bda9ebdf921a1b \
					rmd160  5af3acb89cc9ce5484c9a9dce6e39fb04dbe5e2e

patchfiles			patch-strnlen.diff

use_autoconf		yes

configure.args		--program-prefix=g

configure.universal_args-delete --disable-dependency-tracking

