# -*- 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$ PortSystem 1.0 PortGroup cmake 1.0 name libssh epoch 1 version 0.5.2 set major [join [lrange [split ${version} .] 0 1] .] categories devel security net platforms darwin maintainers gmail.com:larry.velazquez 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://www.libssh.org master_sites http://www.libssh.org/files/${major} checksums rmd160 7e1352329dc0b212495122d5737ca821d40f30fe \ sha256 41e8b9c1af077544625e8b398582f101dacc3b8457fee1811a724ca4245ab227 depends_lib port:openssl \ port:zlib post-extract { file mkdir ${workpath}/build } patch { # remove pedantic from build reinplace "s| -pedantic-errors||" ${worksrcpath}/cmake/Modules/DefineCompilerFlags.cmake } # standard post-arg, where to find the primary CMakeLists.txt file. configure.post_args ../${distname} configure.dir ${workpath}/build build.dir ${workpath}/build livecheck.url ${homepage} livecheck.regex ${name} (\\d+\\.\\d+(\\.\\d+)+)