wget stable port information

Info2: <<
Package: wget%type_pkg[-gnutls]%type_pkg[-idn]
Version: 1.13.4
Revision: 4
Type: -gnutls (boolean), -idn (boolean)
Description: Automatic web site retriever (SSL)
Conflicts: <<
%{ni}-ssl ( << 1.10.1-1 ),
%{ni},
%{ni}-gnutls,
%{ni}-idn,
%{ni}-gnutls-idn,
fink ( << 0.24.11-1 )
<<
Replaces: <<
%{ni}-ssl ( << 1.10.1-1 ),
%{ni},
%{ni}-gnutls,
%{ni}-idn,
%{ni}-gnutls-idn
<<
BuildDepends: <<
libgettext8-dev,
gettext-bin ( >= 0.17-19 ),
gettext-tools ( >= 0.17-17 ),
libiconv-dev,
( %type_raw[-gnutls] = . ) openssl100-dev,
( %type_raw[-gnutls] = -gnutls ) gnutls26,
( %type_raw[-idn] = -idn ) libidn,
fink-package-precedence
<<
Depends: <<
libgettext8-shlibs,
( %type_raw[-gnutls] = . ) openssl100-shlibs,
( %type_raw[-gnutls] = -gnutls ) gnutls26-shlibs,
( %type_raw[-gnutls] = -idn ) libidn-shlibs,
( %type_raw[-idn] = -idn ) libiconv
<<
Suggests: ca-bundle

Source: mirror:gnu:%{ni}/%{ni}-%v.tar.gz
Source-MD5: 1df489976a118b9cbe1b03502adbfc27

PatchScript: perl -pi -e's|/usr/local|%p|' doc/wget.texi doc/sample.wgetrc

SetLDFLAGS: -Wl,-dead_strip_dylibs

ConfigureParams: <<
( %type_raw[-gnutls] = . ) --with-ssl=openssl \
( %type_raw[-gnutls] = . ) --with-libssl-prefix=%p \
( %type_raw[-gnutls] = -gnutls ) --with-ssl=gnutls \
( %type_raw[-idn] = . ) --disable-iri \
( %type_raw[-idn] = -idn ) --with-libidn=%p \
--infodir=%p/share/info \
--mandir=%p/share/man \
--enable-dependency-tracking
<<

CompileScript: <<
#!/bin/sh -ev
if [ "%type_raw[-gnutls]" = "." ]
then
export CPPFLAGS=$CPPFLAGS:-I%p/lib/system-openssl/include
export LDFLAGS=$LDFLAGS:-L%p/lib/system-openssl/lib
fi
%{default_script}
fink-package-precedence .
<<

InstallScript: <<
make install DESTDIR=%d
<<
DocFiles: README COPYING AUTHORS MAILING-LIST NEWS
ConfFiles: %p/etc/wgetrc
InfoDocs: wget.info
#
DescDetail: <<
GNU Wget is a free network utility to retrieve files from the World
Wide Web using HTTP and FTP, the two most widely used Internet
protocols. It works non-interactively, thus enabling work in the
background, after having logged off.

The recursive retrieval of HTML pages, as well as FTP sites is
supported -- you can use Wget to make mirrors of archives and home
pages, or traverse the web like a WWW robot.

There have been significant changes in the 1.13.x line.
* All variants include internationalization support.
* The "wget" package is essentially like what has been in Fink since version
1.10.1, except for using fink's openssl100 instead of the system's OpenSSL.
This is due to the lack of a necessary symbol in Leopard's openssl-0.9.7 .
* The "wget-gnutls" package uses GNUTLS instead of OpenSSL.
* The "wget-idn" and "wget-gnutls-idn" packages add IDN/IRIs support.
<<
DescUsage: <<
To have wget automatically use certificates on 10.4 or 10.5,
do the following:

1. Install the 'ca-bundle' package.
2. If you don't currently have $HOME/.wgetrc, generate it via

cp %p/etc/wgetrc $HOME/.wgetrc

3. Edit $HOME/.wgetrc with your favorite text editor and add the
following line to it:

ca_certificate = %p/etc/ssl/certs/ca-bundle.crt

<<
DescPort: <<
Uses libtool, but only for convenience libraries,
so there is no need to update it.
Patch manpage for fink-appropriate paths.
<<
DescPackaging: <<
Automatically replaces prior vintages of wget or wget-ssl.
No non-ssl version anymore.
Conflicts with versions of fink that rely on the --non-verbose flag to be
present, because wget-1.10.x switched to a more GNU-standard
--no-verbose.
Now uses gettext8.
Either uses the Fink's openssl100 or GNUTLS, depdending on which variant
is chosen. Wget's license carries explicit permission to redistribute
it when using OpenSSL. The switch to openssl100 was prompted by the lack
of _a2i_IPADDRESS in Leopard's openssl-0.9.7 .

Previous revisions by Christoph Pfisterer
and Sylvain Cuaz (zauc@users.sourceforge.net)
<<
License: GPL
Maintainer: Alexander Hansen
Homepage: http://www.gnu.org/software/wget/wget.html
<<