pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/preftools misc/preftools: import preftools-0.9
details: https://anonhg.NetBSD.org/pkgsrc/rev/20400e9a8b97
branches: trunk
changeset: 383220:20400e9a8b97
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Aug 15 14:44:24 2022 +0000
description:
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.
diffstat:
misc/preftools/DESCR | 4 ++++
misc/preftools/Makefile | 38 ++++++++++++++++++++++++++++++++++++++
misc/preftools/PLIST | 12 ++++++++++++
misc/preftools/distinfo | 5 +++++
4 files changed, 59 insertions(+), 0 deletions(-)
diffs (75 lines):
diff -r 60251cd9d795 -r 20400e9a8b97 misc/preftools/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/preftools/DESCR Mon Aug 15 14:44:24 2022 +0000
@@ -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.
diff -r 60251cd9d795 -r 20400e9a8b97 misc/preftools/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/preftools/Makefile Mon Aug 15 14:44:24 2022 +0000
@@ -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"
diff -r 60251cd9d795 -r 20400e9a8b97 misc/preftools/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/preftools/PLIST Mon Aug 15 14:44:24 2022 +0000
@@ -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
diff -r 60251cd9d795 -r 20400e9a8b97 misc/preftools/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/preftools/distinfo Mon Aug 15 14:44:24 2022 +0000
@@ -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