# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 74772 2011-01-02 07:45:05Z ryandesign@macports.org $

PortSystem              1.0

name                    libssh01
version                 0.11
revision                1
categories              devel security net
platforms               darwin
maintainers             ryandesign openmaintainer
license                 LGPL-2.1

description             an SSH library

long_description        The ssh library was designed to be used by \
                        programmers needing a working SSH implementation \
                        by the mean of a library.

homepage                http://0xbadc0de.be/wiki/libssh:libssh
master_sites            http://www.0xbadc0de.be/libssh
extract.suffix          .tgz
distname                libssh-${version}

checksums               md5     ad703c4702646c83ca4fcace92c220d3 \
                        sha1    307430249ded90332c4ec77a264913b3bc93a648 \
                        rmd160  69c2cc00becb84a62555fe884345398f155815a4

depends_lib             port:openssl \
                        port:zlib

patchfiles              patch-Makefile.in.diff \
                        patch-libssh-Makefile.in.diff \
                        patch-sample.c.diff

configure.args          --libdir=${prefix}/lib/${name}

livecheck.type          none
