pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/misc/preftools
Module Name: pkgsrc
Committed By: wiz
Date: Mon Aug 15 14:44:24 UTC 2022
Added Files:
pkgsrc/misc/preftools: DESCR Makefile PLIST distinfo
Log Message:
misc/preftools: import preftools-0.9
from wip
preftools is a bundle of command line utilities for ballot counting,
currently containing "schulze", "schulze-simple" and "propor". The
command line utils are used to create a ranking based on ballot
data, given in a CSV like text file.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/preftools/DESCR \
pkgsrc/misc/preftools/Makefile pkgsrc/misc/preftools/PLIST \
pkgsrc/misc/preftools/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/misc/preftools/DESCR
diff -u /dev/null pkgsrc/misc/preftools/DESCR:1.1
--- /dev/null Mon Aug 15 14:44:24 2022
+++ pkgsrc/misc/preftools/DESCR Mon Aug 15 14:44:24 2022
@@ -0,0 +1,4 @@
+preftools is a bundle of command line utilities for ballot counting,
+currently containing "schulze", "schulze-simple" and "propor". The
+command line utils are used to create a ranking based on ballot
+data, given in a CSV like text file.
Index: pkgsrc/misc/preftools/Makefile
diff -u /dev/null pkgsrc/misc/preftools/Makefile:1.1
--- /dev/null Mon Aug 15 14:44:24 2022
+++ pkgsrc/misc/preftools/Makefile Mon Aug 15 14:44:24 2022
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1 2022/08/15 14:44:24 wiz Exp $
+
+DISTNAME= preftools-v0.9
+PKGNAME= ${DISTNAME:S/-v/-/}
+CATEGORIES= misc
+MASTER_SITES= http://www.public-software-group.org/pub/projects/preftools/v0.9/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://www.public-software-group.org/preftools
+COMMENT= Command line utilities for ballot counting
+LICENSE= mit
+
+USE_LANGUAGES= # none
+
+LUA_VERSIONS_ACCEPTED= 51
+
+REPLACE_LUA+= propor
+REPLACE_LUA+= schulze
+REPLACE_LUA+= schulze-simple
+
+INSTALLATION_DIRS+= bin
+INSTALLATION_DIRS+= share/doc/preftools
+INSTALLATION_DIRS+= share/doc/preftools/example-data-propor
+INSTALLATION_DIRS+= share/doc/preftools/example-data-schulze
+
+do-build:
+
+do-install:
+.for f in ${REPLACE_LUA}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/bin
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.* ${DESTDIR}${PREFIX}/share/doc/preftools
+ ${INSTALL_DATA} ${WRKSRC}/doc/example-data-propor/* ${DESTDIR}${PREFIX}/share/doc/preftools/example-data-propor/
+ ${INSTALL_DATA} ${WRKSRC}/doc/example-data-schulze/* ${DESTDIR}${PREFIX}/share/doc/preftools/example-data-schulze/
+
+.include "../../lang/lua/application.mk"
+.include "../../lang/lua/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/misc/preftools/PLIST
diff -u /dev/null pkgsrc/misc/preftools/PLIST:1.1
--- /dev/null Mon Aug 15 14:44:24 2022
+++ pkgsrc/misc/preftools/PLIST Mon Aug 15 14:44:24 2022
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1 2022/08/15 14:44:24 wiz Exp $
+bin/propor
+bin/schulze
+bin/schulze-simple
+share/doc/preftools/example-data-propor/ballots.txt
+share/doc/preftools/example-data-propor/candidates.txt
+share/doc/preftools/example-data-propor/random.txt
+share/doc/preftools/example-data-schulze/ballots.txt
+share/doc/preftools/example-data-schulze/candidates.txt
+share/doc/preftools/schulze-simple.ballot.odt
+share/doc/preftools/schulze-simple.ballot.pdf
+share/doc/preftools/schulze-simple.description.de.txt
Index: pkgsrc/misc/preftools/distinfo
diff -u /dev/null pkgsrc/misc/preftools/distinfo:1.1
--- /dev/null Mon Aug 15 14:44:24 2022
+++ pkgsrc/misc/preftools/distinfo Mon Aug 15 14:44:24 2022
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/08/15 14:44:24 wiz Exp $
+
+BLAKE2s (preftools-v0.9.tar.gz) = bc648e12610c4a775e6246684d1e692cd76403afb8bb590cb50bb5824fb52463
+SHA512 (preftools-v0.9.tar.gz) = 84ddfa0d6137427ca6ba0be020e8641f743c8e5add470d55a475f084b198dc06d3b9640344a0b4a4798edec48febca3510c3c715839027bcd546e0b7660ec7ab
+Size (preftools-v0.9.tar.gz) = 76313 bytes
Home |
Main Index |
Thread Index |
Old Index