# $Id$ PortSystem 1.0 name git-bzr version 1.1 revision 48 set commitish 61d60075fb548f1d49d54b1a98b8b568e68ecc44 set short_commitish [string range ${commitish} 0 6] categories devel platforms darwin maintainers unknown # 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}/tarball distname kfish-${name}-v${version}-${revision}-g${short_commitish} distfiles ${commitish} checksums ${commitish} md5 4a4a46f525b3ee9b04c9df48077df53f \ ${commitish} sha1 5ca7a05311f981db28b4c4f1b8e308288ea4f000 \ ${commitish} rmd160 5acf3b5620dbc062a712d15cf153be26f47d0869 depends_run-append port:bzr \ port:bzr-fastimport \ port:git-core use_configure no # Fix the source root since it doesn't match ${distname} when unpacked. build { system "cd ${workpath} && mv -f kfish-${name}-${short_commitish} ${distname}" } destroot.cmd install destroot.target git-bzr destroot.destdir ${destroot}${prefix}/bin universal_variant no livecheck.type regex livecheck.url http://github.com/kfish/${name}/downloads livecheck.regex {v(\d+(?:\.\d+)*)}