# $Id: Portfile 53923 2009-07-16 18:04:26Z jmr@macports.org $

PortSystem 1.0

name			compare
version			1.16
revision		1
categories		sysutils
platforms		darwin
maintainers		mww
description		fast replacement for cmp
long_description	compare is similar to cmp but faster and with better \
				readable output. compare examines one file and standard in, or \
				two files on a byte by byte basis, and prints the file \
				position of the first difference it finds, first in decimal \
				and then in hexadecimal, followed by the differing byte \
				content in hexadecimal and a quoted character.

homepage		ftp://ftp.berlios.de/pub/compare/
master_sites	${homepage}
checksums		md5 b4fdc2ad3c07e6df23cfe02e923bd775 \
				sha1 0e76cfa606ecb358c693f160ad56b820545922b5
patchfiles		patch-RULES-rules.prg

depends_build	port:smake

use_configure	no

build.cmd		${prefix}/bin/smake
build.target

destroot.destdir	INS_BASE=${destroot}${prefix} \
				MANDIR=share/man
post-destroot {
	file delete -force ${destroot}${prefix}/share/man/man5 ${destroot}${prefix}/lib ${destroot}${prefix}/include
}

