# $Id: Portfile 87213 2011-11-14 06:22:29Z jmr@macports.org $

PortSystem	1.0
PortGroup	perl5 1.0

perl5.setup	Net-SSH-Perl 1.34
revision    2
license		{Artistic-1 GPL}
maintainers	nomaintainer
description	pure perl SSH interface
long_description	${description} 	
platforms	darwin
checksums   md5     5b6d60e459707058e856c45c30e96e53 \
            sha1    9e69f32f03d40f92948e4fd9a8c7531df261bec7 \
            rmd160  e237a0368548e8a8370c70a930811524ad6a6e17

# The first block has modules required for SSH v1
# The second adds modules for SSH v2
# The third adds optional modules for bubble babble fingerprints & RSA key files in SSH2

if {${perl5.major} != ""} {
depends_lib-append \
               port:p${perl5.major}-math-gmp \
               port:p${perl5.major}-string-crc32 \
               port:p${perl5.major}-digest-md5 \
\
               port:p${perl5.major}-crypt-dsa \
               port:p${perl5.major}-crypt-dh \
               port:p${perl5.major}-math-pari \
               port:p${perl5.major}-digest-sha1 \
               port:p${perl5.major}-digest-hmac \
               port:p${perl5.major}-convert-pem \
               port:p${perl5.major}-crypt-rsa \
\
               port:p${perl5.major}-digest-bubblebabble \
               port:p${perl5.major}-crypt-idea

supported_archs noarch
}
