source: trunk/dports/net/gftp/Portfile

Last change on this file was 146517, checked in by raimue@…, 19 months ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

https://lists.macosforge.org/pipermail/macports-dev/2016-March/032531.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            gftp
6version         2.0.18
7revision        5
8categories      net
9license         GPL-2+
10platforms       darwin
11maintainers     nomaintainer
12description     GTK+ FTP client
13
14long_description \
15    gFTP is a free multithreaded file transfer client for *NIX based machines.
16
17homepage        http://www.gftp.org/
18master_sites    ${homepage} \
19                ftp://www.gftp.org/pub/gftp/
20
21use_bzip2       yes
22
23checksums       md5 44b19442d06f6dc68c7211d66029d826 \
24                sha1 c2468f1ff1fe978a5fab3a198e513558f3b48f5a \
25                rmd160 0e0daea8543ae822b25635647360193362a2648d
26
27depends_build   port:pkgconfig
28depends_lib     port:gtk2 \
29                port:gettext \
30                path:lib/libssl.dylib:openssl \
31                port:readline \
32                port:ncurses
33
34post-configure {
35    reinplace "s/#undef HAVE_OPENPTY/#define HAVE_OPENPTY 1/" ${worksrcpath}/config.h
36    reinplace "s/#define HAVE_GRANTPT 1/#undef HAVE_GRANTPT/" ${worksrcpath}/config.h
37}
38
39configure.ldflags-append    -bind_at_load
40configure.args              --mandir=${prefix}/share/man \
41                            --disable-glibtest \
42                            --disable-gtktest
43
44post-destroot {
45    set docdir ${prefix}/share/doc/${name}-${version}
46    xinstall -d ${destroot}${docdir}/html
47    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \
48        THANKS TODO ${destroot}${docdir}
49    xinstall -m 0644 ${worksrcpath}/README.html ${destroot}${docdir}/html
50}
Note: See TracBrowser for help on using the repository browser.