# -*- 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 PortSystem 1.0 PortGroup github 1.0 github.setup Bhupesh-V ugit 5.8 v github.tarball_from archive revision 0 homepage https://bhupesh.me/undo-your-last-git-mistake-with-ugit/ description ${name} helps undo git commands long_description \ {*}${description}. ${name}\/git-undo supports undoing the following \ operations, some are a WIP: git commit, git add, git push, git branch -D \ \(branch delete\), git pull, git reset, git tag -d \(tag delete\), git \ stash apply, git stash pop\/drop\/clear, accidental file delete \(Restore \ a deleted file after a commit\), \(Restore\) a file to a previous \ version, git merge, git cherry-pick, and git tag. categories devel platforms any license MIT maintainers {gmail.com:herby.gillot @herbygillot} \ openmaintainer supported_archs noarch checksums rmd160 189373d6df968b62fd2adf500ea347cd2ae75896 \ sha256 aedc5fd10b82ed8f3c2fc3ffb9d912863a7fec936a9e444a25e8a41123e2e90f \ size 20512 depends_lib-append port:bash depends_run-append bin:git:git \ port:fzf use_configure no build {} patch { reinplace -E "s|^#!/usr/bin/env bash$|#!${prefix}/bin/bash|g" \ ${worksrcpath}/${name} } destroot { copy ${worksrcpath}/${name} ${destroot}${prefix}/bin/ }