source: trunk/dports/security/putty/Portfile @ 145701

Last change on this file since 145701 was 145701, checked in by devans@…, 3 years ago

putty: fix misapplied patch.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 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 145701 2016-02-14 01:08:31Z devans@macports.org $
3
4PortSystem          1.0
5PortGroup           active_variants 1.1
6
7name                putty
8version             0.66
9categories          security net
10platforms           darwin
11maintainers         nomaintainer
12license             MIT
13
14description         a free implementation of Telnet and SSH, along with an \
15                    xterm terminal emulator
16
17long_description    PuTTY is ${description}
18
19homepage            http://www.chiark.greenend.org.uk/~sgtatham/putty/
20master_sites        ftp://ftp.chiark.greenend.org.uk/users/sgtatham/putty-${version}/ \
21                    http://the.earth.li/~sgtatham/putty/${version}/
22
23
24checksums           rmd160  2121860be81416f96a93963e4771a1edfca279dc \
25                    sha256  fe7312f66c54865868b362f4b79bd1fbe7ce9e8b1fd504b04034182db1f32993
26
27worksrcdir          ${worksrcdir}/unix
28
29depends_build       port:pkgconfig
30
31# unix configure calls the configure in top folder
32patch.pre_args      -d ${worksrcpath}/../
33patchfiles          patch-configure.diff
34
35variant gui description {Build the GUI tools (including putty itself)} {
36    depends_lib-append    port:gtk2
37    configure.args-delete --without-gtk
38    require_active_variants gtk2 x11
39}
40
41default_variants +gui
42
43configure.args-append     --without-gtk
44configure.cppflags-delete -I${prefix}/include
45configure.cppflags-append -isystem${prefix}/include
46
47livecheck.type      regex
48livecheck.url       ${homepage}download.html
49livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.