df8c3d63f0
BFG Repo-Cleaner Removes large or troublesome blobs like git-filter-branch does, but faster. And written in Scala The BFG is a simpler, faster alternative to git-filter-branch for cleansing bad data out of your Git repository history: - Removing Crazy Big Files - Removing Passwords, Credentials & other Private data The git-filter-branch command is enormously powerful and can do things that the BFG can't - but the BFG is much better for the tasks above, because: - Faster : 10 - 720x faster - Simpler : The BFG isn't particularily clever, but is focused on making the above tasks easy - Beautiful : If you need to, you can use the beautiful Scala language to customise the BFG. Which has got to be better than Bash scripting at least some of the time.
26 lines
796 B
Makefile
26 lines
796 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2016/12/15 20:25:04 abs Exp $
|
|
|
|
DISTNAME= bfg-1.12.14
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://repo1.maven.org/maven2/com/madgag/bfg/1.12.14/
|
|
EXTRACT_SUFX= .jar
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://rtyley.github.io/bfg-repo-cleaner/
|
|
COMMENT= BFG git Repo-Cleaner
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
USE_JAVA= run
|
|
USE_JAVA2= 7
|
|
|
|
INSTALLATION_DIRS= bin share/${PKGBASE}
|
|
|
|
do-build:
|
|
printf "#!/bin/sh\n${PKG_JAVA_HOME}/bin/java -jar ${PREFIX}/share/${PKGBASE}/${PKGBASE}.jar \$${1:+\"\$$@\"}\n" > ${WRKDIR}/${PKGBASE}.sh
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}.jar ${DESTDIR}${PREFIX}/share/${PKGBASE}/${PKGBASE}.jar
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PKGBASE}.sh ${DESTDIR}${PREFIX}/bin/${PKGBASE}
|
|
|
|
.include "../../mk/java-vm.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|