the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: gnut
Version: 0.4.28
Revision: 1005
Maintainer: None
Source: mirror:sourceforge:fink/direct_download/source/%n-%v.tar.gz
Source-MD5: bade24c9838d390de41f5ea0c80dc22f
Depends: readline5-shlibs (>= 5.0-1004), libncurses5-shlibs (>= 5.4-20041023-1006)
BuildDepends: readline5 (>= 5.0-1004), libncurses5 (>= 5.4-20041023-1006)
PatchScript: <<
perl -pi.bak1 -e 's/^( {".*)"$/\1\nMULTILINE_BEGIN/; s/^"(.*)/MULTILINE_END\n\1/' src/cli.c
perl -pi.bak2 -e 's/.*/"$&\\n"/ if /MULTILINE_BEGIN/ .. /MULTILINE_END/; s/MULTILINE_.*/\\n"/' src/cli.c
ln -s %p/lib/libncurses.dylib libtermcap.dylib
<<
SetLDFLAGS: -L%b
CompileScript: <<
printf | ./configure
make
<<
DocFiles: AUTHORS ChangeLog COPYING HACKING NEWS README TODO doc/TUTORIAL
Description: Console based gnutella client
DescUsage: <<
Type 'gnut' to run the program. At the gnut command prompt, type 'help' for
a list of commands. Type 'help commandname' (example 'help find') for a
more complete description of one command.
<<
DescPackaging: <<
Originally packaged by Matt Stephenson.
<<
DescPort: <<
dmacks converted multiline string literals into embedded newlines so
that we can build with modern compilers. gcc3.1 reports:
cli2.c:95: warning: ANSI C forbids newline in string constant
cli2.c:96:1: warning: multi-line string literals are deprecated
Some of fink's libncurses5 packages are missing symlink for
libtermcap.dylib -> libncurses.dylib so we make it locally.
<<
License: GPL
Homepage: http://www.gnutelliums.com/linux_unix/gnut