Ticket #28676: Portfile

File Portfile, 1.5 KB (added by ci42, 14 years ago)
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                fossil
7version             20110301190432
8categories          devel
9platforms           darwin
10maintainers         googlemail.com:ciserlohn
11
12description         Simple, high-reliability, distributed software configuration management
13long_description    Fossil is an distributed software configuration management which supports \
14                    distributed version control, distributed bug tracking, distributed wiki, \
15                    and a distributed blog mechanism all in single integrated package. It provides \
16                    an easy-to-use web interface to access and administrate projects over the \
17                    built-in webserver or CGI.
18
19homepage            http://www.fossil-scm.org/
20
21master_sites        ${homepage}/download/
22distname            ${name}-src-${version}
23distfiles           ${distname}${extract.suffix}
24checksums           md5     2bce6d995092b3f29292b49778b027b4 \
25                    sha1    4332f6369332e118633c9a7f896b5cd3fd275217
26
27test.run            yes
28
29depends_build       port:tcl
30
31depends_lib         port:zlib \
32                    port:openssl
33
34universal_variant   no
35
36post-extract {
37         reinplace s|\$\(INSTALLDIR\)|\$(DESTDIR)/${prefix}/bin|g ${worksrcpath}/src/makemake.tcl
38}
39
40configure {
41          system "cd ${worksrcpath}/src && tclsh ${worksrcpath}/src/makemake.tcl"
42}
43
44livecheck.type      regex
45livecheck.url       ${homepage}/download.html
46livecheck.regex     ${name}-src-(\\d{14})${extract.suffix}