source: trunk/dports/security/putty/Portfile

Last change on this file was 146120, checked in by devans@…, 17 months ago

putty: correct gtk2 configuration, increment revision (#50734).

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