# -*- 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 # $Id$ PortSystem 1.0 name fossil version 1.23 epoch 20110901182519 categories devel platforms darwin license BSD maintainers ciserlohn description Simple, high-reliability, distributed software configuration management long_description Fossil is a distributed software configuration management which supports \ distributed version control, distributed bug tracking, distributed wiki, \ and a distributed blog mechanism all in single integrated package. It provides \ an easy-to-use web interface to access and administrate projects over the \ built-in webserver or CGI. homepage http://www.fossil-scm.org/ master_sites ${homepage}download/ distname ${name}-src-20120808112557 checksums rmd160 c3a720f795a13f32c29b44f1ca2cf405ee65e829 \ sha256 fd0ca7b11906d0dfd4541a7a2518ed41407b4c2985eb09b64aa1390a50c51a4a test.run yes depends_lib port:tcl \ port:zlib \ port:openssl configure.args-append --disable-lineedit \ --with-tcl=${prefix}/lib configure.env-append CC_FOR_BUILD="${configure.cc} [get_canonical_archflags]" post-destroot { set docdir ${destroot}${prefix}/share/doc/${name} xinstall -d ${docdir} xinstall -m 644 -W ${worksrcpath} \ COPYRIGHT-BSD2.txt \ ${docdir} } post-activate { if [file exists $::env(HOME)/.fossil] { ui_msg "* Trying to rebuild known repositories:" set exec_cmd exec set fossil_list {fossil all list} set fossil_rebuild {fossil rebuild} if [catch {eval $exec_cmd $fossil_list} repositories] { ui_error "failed to execute $fossil_list" } if [llength $repositories] { foreach repo $repositories { if {![catch {eval $exec_cmd $fossil_rebuild $repo} result]} { ui_msg "* successfully rebuild $repo" } else { ui_msg "* failed to rebuild $repo" } } } else { ui_msg "* No repositories found" } ui_msg "* Finished rebuilding repositories" } } variant readline description {Enable readline support for the embedded sqlite shell in the 'fossil sqlite3' command} { depends_lib-append port:readline configure.args-delete --disable-lineedit } notes " It is recommended to rebuild repositories created with earlier versions of\ fossil. To rebuild a repository run: fossil rebuild /// Rebuilding a repository is a safe operation\; executing it more then once will\ not harm the integrity of a repository. " livecheck.type regex livecheck.url ${homepage}/download.html livecheck.regex {Version ([\d.]*)}