Index: devel/Makefile =================================================================== --- devel/Makefile +++ devel/Makefile @@ -548,6 +548,7 @@ SUBDIR += git-subversion SUBDIR += gitg SUBDIR += gitg0 + SUBDIR += gitinspector SUBDIR += gitolite SUBDIR += gitolite2 SUBDIR += gitphp Index: devel/gitinspector/Makefile =================================================================== --- /dev/null +++ devel/gitinspector/Makefile @@ -0,0 +1,19 @@ +# $FreeBSD$ + +PORTNAME= gitinspector +PORTVERSION= 0.3.2 +CATEGORIES= devel python +MASTER_SITES= GOOGLE_CODE +DISTNAME= ${PORTNAME}_${PORTVERSION} + +MAINTAINER= rpaulo@FreeBSD.org +COMMENT= Statistical analysis tool for git repositories + +LICENSE= GPLv3 + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +USES= zip python +USE_PYTHON= autoplist distutils + +.include Index: devel/gitinspector/distinfo =================================================================== --- /dev/null +++ devel/gitinspector/distinfo @@ -0,0 +1,2 @@ +SHA256 (gitinspector_0.3.2.zip) = 3778e60514f5067f8f2628da5cacbce12db99af6517fcf448afb2964bce963a7 +SIZE (gitinspector_0.3.2.zip) = 254971 Index: devel/gitinspector/files/patch-aa =================================================================== --- /dev/null +++ devel/gitinspector/files/patch-aa @@ -0,0 +1,11 @@ +--- gitinspector/localization.py.orig 2013-10-30 03:03:02.000000000 -0700 ++++ gitinspector/localization.py 2015-01-14 15:57:30.000000000 -0800 +@@ -44,7 +44,7 @@ + + #Fix for non-POSIX-compliant systems (Windows et al.). + if os.getenv('LANG') is None: +- lang = locale.getdefaultlocale() ++ lang = ('en_US', 'en_US') + os.environ['LANG'] = lang[0] + + filename = basedir.get_basedir() + "/translations/messages_%s.mo" % lang[0][0:2] Index: devel/gitinspector/pkg-descr =================================================================== --- /dev/null +++ devel/gitinspector/pkg-descr @@ -0,0 +1,8 @@ +gitinspector is a statistical analysis tool for git repositories. The +defaut analysis shows general statistics per author, which can be +complemented with a timeline analysis that shows the workload and +activity of each author. Under normal operation, it filters the +results to only show statistics about a number of given extensions and +by default only includes source files in the statistical analysis. + +WWW: https://code.google.com/p/gitinspector/