Portfile

# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $

PortSystem 1.0
name bsdiff
version 4.3
categories devel
maintainers nomaintainer@macports.org
description Generates and applies patches to binary files
long_description \
This is a pair of tools for building (bsdiff) and applying (bspatch) \
binary patches. When applied to two versions of the same executable \
the patches produced are significantly smaller than those generated \
by other binary diff tools (eg, xdelta).
homepage http://www.daemonology.net/bsdiff/
platforms darwin
master_sites ${homepage}
checksums md5 e6d812394f0e0ecc8d5df255aa1db22a

patch {
reinplace s|/man/man1|/share/man/man1| ${worksrcpath}/Makefile
}

use_configure no
build.type bsd
destroot.destdir PREFIX=${destroot}${prefix}