# $Id$ PortSystem 1.0 name bsdiff version 4.3 revision 1 categories devel maintainers nomaintainer 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 patchfiles patch-bspatch.c.diff post-patch { reinplace s|/man/man1|/share/man/man1| ${worksrcpath}/Makefile } depends_lib port:bzip2 use_configure no variant universal {} if {[variant_isset universal]} { eval configure.cflags-append ${configure.universal_cflags} eval configure.ldflags-append ${configure.universal_ldflags} } build.type bsd build.env-append CFLAGS="${configure.cflags}" \ LDFLAGS="${configure.ldflags}" destroot.destdir PREFIX=${destroot}${prefix}