Revision: 91441 https://trac.macports.org/changeset/91441 Author: ryandesign@macports.org Date: 2012-04-01 18:08:09 -0700 (Sun, 01 Apr 2012) Log Message: ----------- bsdiff: add modeline; whitespace and formatting changes Modified Paths: -------------- trunk/dports/devel/bsdiff/Portfile Modified: trunk/dports/devel/bsdiff/Portfile =================================================================== --- trunk/dports/devel/bsdiff/Portfile 2012-04-02 01:06:00 UTC (rev 91440) +++ trunk/dports/devel/bsdiff/Portfile 2012-04-02 01:08:09 UTC (rev 91441) @@ -1,33 +1,38 @@ +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ -PortSystem 1.0 +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} +name bsdiff +version 4.3 +revision 1 +categories devel +platforms darwin +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 \ + (e.g. xdelta). + +homepage http://www.daemonology.net/bsdiff/ +master_sites ${homepage} + checksums rmd160 27bb255b5dd5aa56d3a076dac9ca76d238a79a04 \ sha256 18821588b2dc5bf159aa37d3bcb7b885d85ffd1e19f23a0c57a58723fea85f48 +depends_lib port:bzip2 + patchfiles patch-bspatch.c.diff \ patch-Makefile.diff -depends_lib port:bzip2 +use_configure no -use_configure no +variant universal {} -variant universal {} if {[variant_isset universal]} { eval configure.cflags-append ${configure.universal_cflags} eval configure.ldflags-append ${configure.universal_ldflags} @@ -36,11 +41,11 @@ eval configure.ldflags-append ${configure.ld_archflags} } -build.env-append CC="${configure.cc}" \ - CFLAGS="${configure.cflags}" \ - LDFLAGS="${configure.ldflags}" +build.env-append CC="${configure.cc}" \ + CFLAGS="${configure.cflags}" \ + LDFLAGS="${configure.ldflags}" -destroot.destdir PREFIX=${destroot}${prefix} +destroot.destdir PREFIX=${destroot}${prefix} -livecheck.type regex -livecheck.regex ${name}-(\[0-9.\]+)\\.tar +livecheck.type regex +livecheck.regex ${name}-(\[0-9.\]+)\\.tar