source: trunk/dports/net/gftp/Portfile @ 139229

Last change on this file since 139229 was 139229, checked in by jeremyhu@…, 4 years ago

misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl

This should allow usage of libressl as a replacement for openssl in relevant
ports. Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 139229 2015-08-08 03:10:35Z jeremyhu@macports.org $
2
3PortSystem      1.0
4
5name            gftp
6version         2.0.18
7revision        3
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.