# -*- 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 PortGroup python 1.0 github.setup newren git-filter-repo 2.38.0 v github.tarball_from releases revision 1 categories devel platforms {darwin any} maintainers {amake @amake} openmaintainer license {MIT GPL-2} checksums rmd160 45e13dc143682e54af0080e10114f9434f257d1e \ sha256 db954f4cae9e47c6be3bd3161bc80540d44f5379cb9cf9df498f4e019f0a41a9 \ size 153772 description Quickly rewrite git repository history (filter-branch replacement) long_description \ A versatile tool for rewriting history like git filter-branch but without \ the capitulation-inducing poor performance, with far more capabilities, and \ with a design that scales usability-wise beyond trivial rewriting cases. git \ filter-repo is now recommended by the git project instead of git \ filter-branch. depends_build-append \ path:libexec/coreutils/libstdbuf.so:coreutils depends_run port:git use_xz yes python.default_version 311 patchfiles-append 53556108509c75827521240c227848a736348088.patch patch.pre_args-replace -p0 -p1 post-extract { reinplace "s|#!/usr/bin/env python3|#!${python.bin}|" git-filter-repo } supported_archs noarch use_configure no build {} destroot.cmd make destroot.target install destroot.destdir destroot.args \ prefix=${destroot}${prefix} \ pythondir=${destroot}${python.pkgd} \ INSTALL=${prefix}/bin/ginstall pre-destroot { xinstall -d -m 0755 ${destroot}${prefix}/libexec/git-core xinstall -d -m 0755 ${destroot}${python.pkgd} xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name} xinstall -d -m 0755 ${destroot}${prefix}/share/doc/git-doc }