source: trunk/dports/devel/libssh/Portfile @ 87936

Last change on this file since 87936 was 87936, checked in by snc@…, 8 years ago

transfer maintainer

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- 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
2# $Id: Portfile 87936 2011-12-13 12:36:43Z snc@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6
7name                libssh
8epoch               1
9version             0.5.2
10set major           [join [lrange [split ${version} .] 0 1] .]
11categories          devel security net
12platforms           darwin
13maintainers         gmail.com:larry.velazque openmaintainer
14license             LGPL-2.1
15
16description         an SSH library
17
18long_description    The ssh library was designed to be used by \
19                    programmers needing a working SSH implementation \
20                    by the mean of a library.
21
22homepage            http://www.libssh.org
23master_sites        http://www.libssh.org/files/${major}
24
25checksums           rmd160  7e1352329dc0b212495122d5737ca821d40f30fe \
26                    sha256  41e8b9c1af077544625e8b398582f101dacc3b8457fee1811a724ca4245ab227
27
28depends_lib         port:openssl \
29                    port:zlib
30
31post-extract {      file mkdir ${workpath}/build }
32
33patch {
34    # remove pedantic from build
35    reinplace "s| -pedantic-errors||" ${worksrcpath}/cmake/Modules/DefineCompilerFlags.cmake
36}
37
38# standard post-arg, where to find the primary CMakeLists.txt file.
39configure.post_args ../${distname}
40configure.dir       ${workpath}/build
41build.dir           ${workpath}/build
42
43livecheck.url       ${homepage}
44livecheck.regex     ${name} (\\d+\\.\\d+(\\.\\d+)+)
Note: See TracBrowser for help on using the repository browser.