the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: mpatch
Version: 0.7
Revision: 2
Source: http://oss.oracle.com/~mason/%n/%n-%v.tar.bz2
Source-MD5: c78ddc7b931dd959fec29b90f806b6fc
Recommends: meld
PatchScript: <<
#!/bin/sh -ev
sed -i.bak -e 's,^from mpatch import,sys.path.append('\''%p/lib/%n'\'')\
&,' cmd/mpatch
<<
CompileScript: <<
#!/bin/sh -ev
export ARCHFLAGS=''
/usr/bin/python setup.py build
<<
InstallScript: <<
#!/bin/sh -ev
export ARCHFLAGS=''
/usr/bin/python setup.py install --prefix %p --root %d --install-lib %p/lib/%n --install-data %p/lib/%n
<<
DocFiles: COPYING README vimrc
Description: More helpful patch
DescDetail: <<
mpatch applies diffs and is generally similar to patch, but it can
help resolve a number of common causes of patch rejects.
mpatch also supports the git patch extensions. Outside of an SCM,
these are mostly useful to preserve permissions changes in a patch.
Reject merging works by using the entire hunk as a source of context,
and being more relaxed about finding extra lines in the source file,
or not finding every line from the hunk.
<<
License: GPL
Homepage: http://oss.oracle.com/~mason/mpatch/
Maintainer: Brendan Cully
<<