Package: fhist
Version: 1.17
# Versions 1.19 and up have hard dependency on libexplain.
Revision: 1
Source: http://iweb.dl.sourceforge.net/project/fhist/fhist/%v/fhist-%v.tar.gz
Source-Checksum: SHA256(e1e06a095913e9d9afc2deb89f646d96dd03d2d832669018f3cc519fffb98e1e)
BuildDepends: libgettext8-dev, gettext-bin, gettext-tools
Depends: libgettext8-shlibs
SetCFLAGS: -I%p/include -std=c89
UseMaxBuildJobs: false
PatchScript: perl -pi -e 's/(\$\(CFLAGS\)) (-I\S+ -I\S+)/\2 \1/' Makefile.in
ConfigureParams: --mandir=%p/share/man --infodir=%p/share/info
InstallScript: <<
 make RPM_BUILD_ROOT=%d install docdir=%p/share/doc/%n
<<
InfoTest: TestScript: make sure || exit 2
DocFiles: README* BUILDING LICENSE
#
Description: Minimal file history tool
DescDetail: <<
The FHist package contains 3 utilities, a file history tool ``fhist'',
a file comparison tool ``fcomp'', and a file merging tool ``fmerge''. 
All three are bundled together, because they all use the same
minimal-difference algorithm.

For more details, see http://www.pcug.org.au/~millerp/fhist.html
<<
DescPort: <<
Explicitly set CFLAGS because the configure script was not finding
libintl.h in /sw/include
  dmacks--but make sure this -I goes after local ones.

The build depends on groff, but works with either the fink groff
package or the Apple supplied /usr/bin/groff.
<<
DescPackaging: <<
  Previous versions by David Bacher <drbacher@alum.mit.edu>.
<<
Homepage: http://fhist.sourceforge.net/
License: GPL3
Maintainer: None <fink-devel@lists.sourceforge.net>