--- Makefile (nonexistent) +++ Makefile (working copy) @@ -0,0 +1,19 @@ +# $FreeBSD$ + +PORTNAME= edcount +DISTVERSION= 1.2.0 +CATEGORIES= textproc +MASTER_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/releases/download/v${PORTVERSION}/ + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +MAINTAINER= marcel@herrbischoff.com +COMMENT= Estimate distinct count of values on the command line + +GH_ACCOUNT= haroldfreeman + +USE_GCC= yes +GNU_CONFIGURE= yes + +.include --- distinfo (nonexistent) +++ distinfo (working copy) @@ -0,0 +1,3 @@ +TIMESTAMP = 1595241113 +SHA256 (edcount-1.2.0.tar.gz) = 9b5561aa32ef81096132e84cb1544231c71bad77c0eaeb6a854ae3b4c2938a3d +SIZE (edcount-1.2.0.tar.gz) = 115880 --- pkg-descr (nonexistent) +++ pkg-descr (working copy) @@ -0,0 +1,11 @@ +Estimate distinct count of values on the command line + +The edcount program implements HyperLogLog, with some minor modifications, as +detailed by by Flajolet et. al. in the paper "HyperLogLog: the analysis of a +near-optimal cardinality estimation algorithm". + +Additionally, the memory footprint of the program is constant, at a few +megabytes. This memory use is constant regardless of the number of records +counted, and does not degrade in accuracy. + +WWW: https://github.com/haroldfreeman/edcount --- pkg-plist (nonexistent) +++ pkg-plist (working copy) @@ -0,0 +1,2 @@ +bin/edcount +man/man1/edcount.1.gz