1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name thttpd |
---|
7 | version 2.26 |
---|
8 | categories net |
---|
9 | license BSD |
---|
10 | platforms darwin |
---|
11 | maintainers vt.edu:jpo openmaintainer |
---|
12 | description simple, small, portable, fast, and secure HTTP server |
---|
13 | long_description Thttpd handles only the minimum necessary to implement \ |
---|
14 | HTTP/1.1, has a very small run-time size, supports CGI, \ |
---|
15 | IPv6, and bandwidth throttling. |
---|
16 | homepage http://acme.com/software/thttpd/ |
---|
17 | master_sites ${homepage} |
---|
18 | |
---|
19 | checksums rmd160 5712c9b93da54c2a9c686f0ee908a397b5167906 \ |
---|
20 | sha256 15b3f6c60f854061e333227e9ea9ff789d34a092c9365690a8c0d3ecfc85cbb7 |
---|
21 | |
---|
22 | depends_build port:libtool |
---|
23 | |
---|
24 | patchfiles patch-Makefile.in.diff \ |
---|
25 | patch-cgi-src-Makefile.in.diff \ |
---|
26 | patch-extras-Makefile.in.diff \ |
---|
27 | patch-libhttpd.c.diff |
---|
28 | |
---|
29 | configure.args-append --mandir=${prefix}/share/man |
---|
30 | |
---|
31 | pre-configure { |
---|
32 | foreach f {config.guess config.sub} { |
---|
33 | if {[file exists ${prefix}/share/libtool/config/${f}]} { |
---|
34 | file copy -force ${prefix}/share/libtool/config/${f} ${worksrcpath} |
---|
35 | } else { |
---|
36 | file copy -force ${prefix}/share/libtool/${f} ${worksrcpath} |
---|
37 | } |
---|
38 | } |
---|
39 | } |
---|
40 | |
---|
41 | livecheck.type regex |
---|
42 | livecheck.regex ${name}-(\\d+(?:\\.\\d+)*) |
---|