# $Id$ PortSystem 1.0 name proxytunnel version 1.7.2 set dist_revision 161 set dist_version ${version}.${dist_revision} categories net platforms darwin maintainers raimue description \ ProxyTunnel is a program that connects stdin and stdout \ to a server somewhere on the network, through a standard \ HTTPS proxy. This will allow you for example to access \ SSH servers when you normally only have http(s) access. long_description ${description} homepage http://proxytunnel.sourceforge.net/ master_sites sourceforge:proxytunnel distname ${name}-${dist_version} extract.suffix .tgz checksums md5 f43eebfe676fa30cba88d611e8461c2a use_configure no universal_variant no worksrcdir ${name}-${version} build.target depends_build port:pkgconfig depends_lib port:openssl port:zlib patch { reinplace "s|#\\(CFLAGS += -DDARWIN\\)|\\1|" ${worksrcpath}/Makefile reinplace "s|REV = \$(shell ./getrev.sh)|REV = ${dist_revision}|" ${worksrcpath}/Makefile } # writing own destroot, fixing the install in Makefile would be too complicated destroot { xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin xinstall -m 644 ${worksrcpath}/debian/${name}.1 ${destroot}${prefix}/share/man/man1 } livecheck.regex ${name} source tarballs ${name}-(\\d+\\.\\d+\\.\\d+)\\.\\d+ released.*