# -*- 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 java 1.0 name bfg version 1.14.0 categories java devel license GPL-3 maintainers {ra1nb0w @ra1nb0w} openmaintainer platforms any supported_archs noarch description Removes large or troublesome blobs like git-filter-branch does, but faster. long_description The BFG is a simpler, faster alternative to git-filter-branch for cleansing \ bad data out of your Git repository history: \n \ - Removing Crazy Big Files \n \ - Removing Passwords, Credentials & other Private data homepage https://rtyley.github.io/bfg-repo-cleaner/ master_sites https://search.maven.org/remotecontent?filepath=com/madgag/${name}/${version}/ distfiles ${name}-${version}.jar distname ${name}-${version} worksrcdir ${name}-${version} checksums rmd160 a661b229281ba201c4dd1fbc4c2ad5736f4c33f0 \ sha256 1a75e9390541f4b55d9c01256b361b815c1e0a263e2fb3d072b55c2911ead0b7 \ size 14483456 java.fallback openjdk8 java.version 1.7+ use_configure no extract { file copy ${distpath}/${distname}.jar ${workpath} } build {} destroot { set javadir ${destroot}${prefix}/share/java xinstall -d -m 755 -d ${javadir}/${name} xinstall -m 644 ${workpath}/${distname}.jar ${javadir}/${name}/${name}.jar # Install the wrapper script xinstall -m 755 ${filespath}/bfg ${destroot}${prefix}/bin/bfg reinplace "s|_PREFIX_|${prefix}|g" ${destroot}${prefix}/bin/bfg } livecheck.type regex livecheck.url https://repo1.maven.org/maven2/com/madgag/${name}/maven-metadata.xml livecheck.regex >(\\d+\\.\\d+(\\.\\d+)*)