Files

46 lines
1.5 KiB
Tcl

# -*- 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
PortSystem 1.0
name tlswrap
version 1.04
revision 4
categories net security
platforms darwin
maintainers nomaintainer
license BSD
description TLS/SSL FTP wrapper/proxy
long_description \
TLSWrap is a TLS/SSL FTP wrapper/proxy, allowing you to \
use your favorite FTP client with any TLS/SSL-enabled FTP \
server.
homepage http://www.tlswrap.com/
master_sites ${homepage}
checksums md5 68a4d937c1e817fa3056751e8902b691 \
sha1 094c29902e40c2bf4d09ac65c8506e224d143cd7 \
rmd160 ab03253fae341cf8104c69930c7890b2e95f9efc
depends_lib path:lib/libssl.dylib:openssl
# from https://svnweb.freebsd.org/ports/head/security/tlswrap/
patchfiles patch-conf.h.in \
patch-configure \
patch-tls.c
configure.args --with-ssl=${prefix}
destroot.destdir prefix=${destroot}${prefix}
post-destroot {
xinstall -d -m 755 ${destroot}${prefix}/share/${name}
xinstall -d -m 755 ${destroot}${prefix}/share/${name}/doc
foreach f {COPYING ChangeLog README} {
copy ${worksrcpath}/${f} ${destroot}${prefix}/share/${name}/doc
}
}
livecheck.type regex
livecheck.url ${homepage}
livecheck.regex {TLSWrap v(\d+\.\d+)}