Ticket #45239: Portfile

File Portfile, 1.5 KB (added by jpo@…, 10 years ago)

Oops, forgot livecheck.type regex

Line 
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
4PortSystem 1.0
5
6name                thttpd
7version             2.26
8categories          net
9license             BSD
10platforms           darwin
11maintainers         vt.edu:jpo openmaintainer
12description         simple, small, portable, fast, and secure HTTP server
13long_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.
16homepage            http://acme.com/software/thttpd/
17master_sites        ${homepage}
18
19checksums           rmd160  5712c9b93da54c2a9c686f0ee908a397b5167906 \
20                    sha256  15b3f6c60f854061e333227e9ea9ff789d34a092c9365690a8c0d3ecfc85cbb7
21
22depends_build       port:libtool
23
24patchfiles          patch-Makefile.in.diff \
25                    patch-cgi-src-Makefile.in.diff \
26                    patch-extras-Makefile.in.diff \
27                    patch-libhttpd.c.diff
28
29configure.args-append --mandir=${prefix}/share/man
30
31pre-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
41livecheck.type      regex
42livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)