hercules stable port information

Package: hercules
Version: 3.07
Revision: 1000
###
Source: http://www.hercules-390.org/%n-%v.tar.gz
Source-MD5: a12aa1645b0695b25b7fc0c9a3ccab3a
Depends: bzip2-shlibs, gzip, libgettext8-shlibs, libgcrypt-shlibs, libiconv, %n-modules
BuildDepends: fink (>= 0.28), gawk, bison (>= 2.0-11), bzip2-dev, libgcrypt, libgettext8-dev, libiconv-dev
###
Replaces: %N-bin
###
ConfigureParams: --with-libgcrypt-prefix=%p --with-libiconv-prefix=%p --with-libintl-prefix=%p --with-pic --enable-multi-cpu=4 --enable-cckd-bzip2 --enable-het-bzip2 --enable-optimization=yes --mandir=%p/share/man --infodir=%p/share/info --with-html-dir=%p/share/doc --disable-dependency-tracking

PatchScript: <<
mv INSTALL INSTALL.txt
perl -pi -e 's,-I\$\(top_srcdir\)\\intl,,' crypto/Makefile.in
perl -pi -e 's|-no-undefined|-bind_at_load|g' Makefile.in
<<

CompileScript: <<
./configure %c
perl -pi.bak -e 's|-flat_namespace -undefined suppress|-twolevel_namespace -undefined dynamic_lookup|g' libtool
perl -pi.bak -e 's|allow_undefined=no|allow_undefined=yes|g' libtool
make
<<

InstallScript: <<
make install DESTDIR=%d
<<
DocFiles: INSTALL.txt ABOUT-NLS README* CHANGES hercules.cnf
Shlibs: <<
!%p/lib/libdecNumber.dylib
!%p/lib/libherc.dylib
!%p/lib/libhercd.dylib
!%p/lib/libhercs.dylib
!%p/lib/libherct.dylib
!%p/lib/libhercu.dylib
<<
SplitOff: <<
Package: %N-modules
Depends: bzip2-shlibs, gzip, libgettext8-shlibs, libiconv
Files: <<
lib/hercules/*.so
lib/hercules/*.la
<<
DocFiles: INSTALL.txt ABOUT-NLS README* CHANGES
Description: Hercules dynamic feature modules
DescDetail: <<
Dynamic modules that load up to simulate certain features
<<
<<

Description: System/370, ESA/390, z/Architecture Emulator
DescDetail: <<
Hercules is an open source software implementation of the mainframe
System/370 and ESA/390 architectures, in addition to the new
64-bit z/Architecture. Hercules runs under Linux,
Windows 98, Windows NT, Windows 2000, Windows XP,
and Mac OS X 10.2 and later.

Hercules was created by Roger Bowler and is maintained by Jay Maynard.
Jan Jaeger designed and implemented many of the advanced features of
Hercules, including dynamic reconfiguration, integrated console,
interpretive execution and z/Architecture support.
<<
DescUsage: <<
You must start hercules from a directory containing a hercules.cnf config
file or else pass the path to the config file by using the -f flag.
A sample is provided in %p/share/doc/%N
More can be read and found at:
http://www.conmicro.cx/hercules/hercconf.html
<<
DescPackaging: <<
Starting in 3.02-11, %N-bin as merged into %N because %N contained
files that were essential to the binaries and there was no reason to
have the primary userland package not be %N.
<<
###
License: OSI-Approved
Maintainer: Darian Lanx
Homepage: http://www.hercules-390.org/