source: trunk/dports/net/proxytunnel/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.4 KB
Line 
1# $Id: Portfile 139229 2015-08-08 03:10:35Z jeremyhu@macports.org $
2
3PortSystem 1.0
4
5name            proxytunnel
6version         1.9.0
7categories      net
8license         GPL-2+
9platforms       darwin
10maintainers     nomaintainer
11installs_libs   no
12
13description \
14    ProxyTunnel is a program that connects stdin and stdout \
15    to a server somewhere on the network, through a standard \
16    HTTPS proxy. This will allow you for example to access \
17    SSH servers when you normally only have http(s) access.
18
19long_description ${description}
20
21homepage        http://proxytunnel.sourceforge.net/
22master_sites    sourceforge:proxytunnel
23
24extract.suffix  .tgz
25checksums       md5  d74472b89c3f3b3b0abf6bd809ae34c2 \
26                sha1 51d816125bb9e9bca267d35f861000eb0fa9d80b
27
28depends_build   port:pkgconfig
29depends_lib     path:lib/libssl.dylib:openssl
30
31patchfiles      patch-Makefile.diff
32post-patch {
33    reinplace -W ${worksrcpath} s|strlcat|strlcat2|g \
34        proxytunnel.h \
35        setproctitle.c \
36        strlcat.c \
37        strzcat.c
38    reinplace -W ${worksrcpath} s|strlcpy|strlcpy2|g \
39        proxytunnel.h \
40        setproctitle.c \
41        strlcpy.c
42}
43
44use_configure       no
45
46build.args-append CC=${configure.cc} CFLAGS="-Wall ${configure.cflags} -DDARWIN"
47build.target
48
49destroot.args PREFIX=${prefix}
50
51livecheck.type regex
52livecheck.url http://sourceforge.net/projects/proxytunnel/files/proxytunnel%20source%20tarballs/
53livecheck.regex "${name} (\\d+(?:\\.\\d+)+)"
Note: See TracBrowser for help on using the repository browser.