preftools: add new package
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.
This commit is contained in:
parent
a408632294
commit
73a3a57887
31
Makefile
31
Makefile
|
@ -470,6 +470,21 @@ SUBDIR+= commandergenius
|
|||
SUBDIR+= common-mml
|
||||
SUBDIR+= commoncpp2
|
||||
SUBDIR+= compare
|
||||
SUBDIR+= compat32_expat
|
||||
SUBDIR+= compat32_fontconfig
|
||||
SUBDIR+= compat32_freetype2
|
||||
SUBDIR+= compat32_giflib
|
||||
SUBDIR+= compat32_jpeg
|
||||
SUBDIR+= compat32_lcms2
|
||||
SUBDIR+= compat32_libgcrypt
|
||||
SUBDIR+= compat32_libgpg-error
|
||||
SUBDIR+= compat32_libuuid
|
||||
SUBDIR+= compat32_libxml2
|
||||
SUBDIR+= compat32_libxslt
|
||||
SUBDIR+= compat32_mit-krb5
|
||||
SUBDIR+= compat32_ncurses
|
||||
SUBDIR+= compat32_png
|
||||
SUBDIR+= compat32_tiff
|
||||
SUBDIR+= compat80-x11
|
||||
SUBDIR+= compiz-boxmenu
|
||||
SUBDIR+= complexity
|
||||
|
@ -767,7 +782,6 @@ SUBDIR+= evolution-tray
|
|||
SUBDIR+= exact-image
|
||||
SUBDIR+= execline
|
||||
SUBDIR+= exhume
|
||||
SUBDIR+= expat-32
|
||||
SUBDIR+= expiretable
|
||||
SUBDIR+= exult-snapshot
|
||||
SUBDIR+= ez-pine-gpg
|
||||
|
@ -855,7 +869,6 @@ SUBDIR+= fnord
|
|||
SUBDIR+= fnteditfs
|
||||
SUBDIR+= fogleman-craft
|
||||
SUBDIR+= fontaine
|
||||
SUBDIR+= fontconfig-32
|
||||
SUBDIR+= fonttosfnt
|
||||
SUBDIR+= foxtrotgps
|
||||
SUBDIR+= fplll
|
||||
|
@ -877,7 +890,6 @@ SUBDIR+= freeswitch-core
|
|||
SUBDIR+= freeswitch-music
|
||||
SUBDIR+= freesynd
|
||||
SUBDIR+= freetalk
|
||||
SUBDIR+= freetype2-32
|
||||
SUBDIR+= freevrrpd
|
||||
SUBDIR+= fribid
|
||||
SUBDIR+= fricas-svn
|
||||
|
@ -1080,7 +1092,6 @@ SUBDIR+= ghc710
|
|||
SUBDIR+= ghmm
|
||||
SUBDIR+= ghostpcl-urwfonts-ttf
|
||||
SUBDIR+= ghostscript-cidfonts-ryumin
|
||||
SUBDIR+= giflib-32
|
||||
SUBDIR+= giggle
|
||||
SUBDIR+= gimmie
|
||||
SUBDIR+= gimp-dds
|
||||
|
@ -1709,7 +1720,6 @@ SUBDIR+= jobd
|
|||
SUBDIR+= john-jumbo
|
||||
SUBDIR+= joomla
|
||||
SUBDIR+= jp2a
|
||||
SUBDIR+= jpeg-32
|
||||
SUBDIR+= jpgtn
|
||||
SUBDIR+= jpicedt
|
||||
SUBDIR+= jruby
|
||||
|
@ -1827,7 +1837,6 @@ SUBDIR+= lbt
|
|||
SUBDIR+= lcalc
|
||||
SUBDIR+= lcdproc
|
||||
SUBDIR+= lci
|
||||
SUBDIR+= lcms2-32
|
||||
SUBDIR+= lcov-git
|
||||
SUBDIR+= ldapbrowser
|
||||
SUBDIR+= ldapdns
|
||||
|
@ -1902,7 +1911,6 @@ SUBDIR+= libfplll
|
|||
SUBDIR+= libftdi1
|
||||
SUBDIR+= libgabe
|
||||
SUBDIR+= libgadu
|
||||
SUBDIR+= libgcrypt-32
|
||||
SUBDIR+= libgda-bdb
|
||||
SUBDIR+= libgda-ldap
|
||||
SUBDIR+= libgda-mdb
|
||||
|
@ -1915,7 +1923,6 @@ SUBDIR+= libginac
|
|||
SUBDIR+= libglade-java
|
||||
SUBDIR+= libgnome-java
|
||||
SUBDIR+= libgnomekbd
|
||||
SUBDIR+= libgpg-error-32
|
||||
SUBDIR+= libgraphqlparser
|
||||
SUBDIR+= libgrass5
|
||||
SUBDIR+= libgringotts
|
||||
|
@ -2030,7 +2037,6 @@ SUBDIR+= libuna
|
|||
SUBDIR+= libunibilium
|
||||
SUBDIR+= libunwind-git
|
||||
SUBDIR+= libusbmuxd
|
||||
SUBDIR+= libuuid-32
|
||||
SUBDIR+= libvalhalla
|
||||
SUBDIR+= libvc
|
||||
SUBDIR+= libvg
|
||||
|
@ -2042,8 +2048,6 @@ SUBDIR+= libwbxml2-patched
|
|||
SUBDIR+= libwebsockets
|
||||
SUBDIR+= libxc
|
||||
SUBDIR+= libxdiff
|
||||
SUBDIR+= libxml2-32
|
||||
SUBDIR+= libxslt-32
|
||||
SUBDIR+= libzahl
|
||||
SUBDIR+= libzeep
|
||||
SUBDIR+= libzn-poly
|
||||
|
@ -2229,7 +2233,6 @@ SUBDIR+= mipscope
|
|||
SUBDIR+= miracl
|
||||
SUBDIR+= mirage
|
||||
SUBDIR+= miro
|
||||
SUBDIR+= mit-krb5-32
|
||||
SUBDIR+= mixer.tk
|
||||
SUBDIR+= mixmaster
|
||||
#SUBDIR+= mk # not a package
|
||||
|
@ -2368,7 +2371,6 @@ SUBDIR+= ncbi-c++-lib
|
|||
SUBDIR+= ncbi-lib
|
||||
SUBDIR+= ncp
|
||||
SUBDIR+= ncrack
|
||||
SUBDIR+= ncurses-32
|
||||
SUBDIR+= neb-cd512
|
||||
SUBDIR+= neb-hdtoolbox
|
||||
SUBDIR+= necpp-git
|
||||
|
@ -3030,7 +3032,6 @@ SUBDIR+= plplot
|
|||
SUBDIR+= plugger
|
||||
SUBDIR+= pmacct
|
||||
SUBDIR+= pmk
|
||||
SUBDIR+= png-32
|
||||
SUBDIR+= png2ico
|
||||
SUBDIR+= pngnq
|
||||
SUBDIR+= pnmcurve
|
||||
|
@ -3059,6 +3060,7 @@ SUBDIR+= powwow
|
|||
SUBDIR+= ppp
|
||||
SUBDIR+= ppr
|
||||
SUBDIR+= praat
|
||||
SUBDIR+= preftools
|
||||
SUBDIR+= preload
|
||||
SUBDIR+= premake
|
||||
SUBDIR+= premake4
|
||||
|
@ -4724,7 +4726,6 @@ SUBDIR+= thedarkmod
|
|||
SUBDIR+= thepeg
|
||||
SUBDIR+= threadingbuildingblocks
|
||||
SUBDIR+= thrift
|
||||
SUBDIR+= tiff-32
|
||||
SUBDIR+= tig
|
||||
SUBDIR+= tilda
|
||||
SUBDIR+= timewarrior
|
||||
|
|
|
@ -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.
|
|
@ -0,0 +1,38 @@
|
|||
# $NetBSD$
|
||||
|
||||
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
|
||||
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"
|
|
@ -0,0 +1,12 @@
|
|||
@comment $NetBSD$
|
||||
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
|
|
@ -0,0 +1,6 @@
|
|||
$NetBSD$
|
||||
|
||||
SHA1 (preftools-v0.9.tar.gz) = 6ab38d9a8f15029347882d9dc601b99728c3df6d
|
||||
RMD160 (preftools-v0.9.tar.gz) = c1bc28cf96e9208c82bffb903d93c73b53c78bbf
|
||||
SHA512 (preftools-v0.9.tar.gz) = 84ddfa0d6137427ca6ba0be020e8641f743c8e5add470d55a475f084b198dc06d3b9640344a0b4a4798edec48febca3510c3c715839027bcd546e0b7660ec7ab
|
||||
Size (preftools-v0.9.tar.gz) = 76313 bytes
|
Loading…
Reference in New Issue