# $Id$ PortSystem 1.0 name git-bzr set commitish 61d60075fb548f1d49d54b1a98b8b568e68ecc44 set short_commitish [string range ${commitish} 0 6] version 1.2~${short_commitish} categories devel platforms darwin maintainers nomaintainer # To update, open in a web browser # then download a tar.gz for the most recent commit (or the commit # for a release). The file name will be formatted like ${distname} # with a .tar.gz extension. Use the version and revision from the # file name and the long commitish from the web page to update the # fields above, and use the downloaded file to update the checksums # below. description A bidirectional Git - Bazaar gateway long_description The git-bzr script allows you to add bazaar repositories \ as git branches in your git repository. After that, you \ may fetch the Bazaar repo, make some changes, and push \ it back into Bazaar. homepage http://github.com/kfish/${name} master_sites http://github.com/kfish/${name}/zipball/${commitish}/ distname kfish-${name}-v${version}-g${short_commitish} worksrcdir kfish-${name}-${short_commitish} use_zip yes checksums md5 1749335fd44d5391816d665f58754ffe \ sha1 4f1af023b15afda7ea69f57a36a990ead1682ea5 \ rmd160 b607d5325bddaa39a81cebe8bbe6b05e367b363e depends_run-append port:bzr \ port:bzr-fastimport \ port:git-core use_configure no build {} destroot { xinstall -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} AUTHORS README TODO ${destroot}${prefix}/share/doc/${name} xinstall -m 755 -W ${worksrcpath} git-bzr ${destroot}${prefix}/bin/ } universal_variant no livecheck.type regex livecheck.url http://github.com/kfish/${name}/downloads livecheck.regex {v(\d+(?:\.\d+)*)}