Ticket #29643: Portfile

File Portfile, 1.2 KB (added by macports@…, 13 years ago)

sslh portfile

Line 
1# $Id$
2
3PortSystem          1.0
4
5name                sslh
6version             1.8-rc4
7categories          net security www
8platforms           darwin
9maintainers         aaronmadlonkay \
10                                        madlon-kay.com:macports
11description         ssl/ssh multiplexer
12long_description \
13                                        sslh lets one accept both HTTPS and SSH connections on the same port. It makes it possible to connect to an SSH server on port 443 (e.g. from inside a corporate firewall) while still serving HTTPS on that port.
14                                       
15homepage            http://www.rutschle.net/tech/sslh.shtml
16master_sites        http://www.rutschle.net/tech/
17
18checksums           md5         9ffbbd9179955ceb195365aa6fbedd51 \
19                                        sha1    1a3682b3c2f45864b5482080aafdc051dce90230 \
20                    rmd160  6e297e2ff2c0992ee407d5fe99f2465c1134a419
21
22patchfiles          patch-src-Makefile.diff
23
24configure {
25    reinplace "s|__CC__|${configure.cc}|" ${worksrcpath}/Makefile
26    reinplace "s|__CFLAGS__|${configure.cflags}|" ${worksrcpath}/Makefile
27}
28
29destroot {
30        move ${worksrcpath}/sslh-fork ${worksrcpath}/sslh
31        xinstall ${worksrcpath}/sslh ${destroot}${prefix}/sbin/
32        xinstall -m 0644 ${worksrcpath}/sslh.8.gz ${destroot}${prefix}/share/man/man8/
33}