Add math/sound-of-sorting:

This program demonstrates the working principles of some 20 sorting
algorithms and is very easy to use. Select the algorithm, the speed
of the visualisation and whether you want to get sound output (that
reflects the values being moved and is characteristic for each kind
of algorithm).

Approved by:	antoine (mentor)
This commit is contained in:
Stefan Eßer 2016-02-22 08:12:44 +00:00
parent b1c24e571b
commit 262eb57c5d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=409318
4 changed files with 43 additions and 0 deletions

View file

@ -667,6 +667,7 @@
SUBDIR += slgrace
SUBDIR += snns
SUBDIR += solitaire
SUBDIR += sound-of-sorting
SUBDIR += spar
SUBDIR += spblas
SUBDIR += speedcrunch

View file

@ -0,0 +1,33 @@
# Created by: Stefan Esser <se@StefanEsser.FreeBSD.org>
# $FreeBSD$
PORTNAME= sound-of-sorting
PORTVERSION= 0.6.5
CATEGORIES= math
MAINTAINER= se@FreeBSD.org
COMMENT= Visualization and "Audibilization" of Sorting Algorithms
LICENSE= GPLv3
GNU_CONFIGURE= yes
USE_SDL= sdl
USE_WX= 2.8+
WX_CONF_ARGS= relative
OPTIONS_DEFINE= DOCS
USE_GITHUB= yes
GH_ACCOUNT= bingmann
GH_PROJECT= sound-of-sorting
GH_TAGNAME= ${PORTNAME}-${PORTVERSION}
PLIST_FILES= bin/sound-of-sorting
PORTDOCS= README
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/sound-of-sorting ${STAGEDIR}${PREFIX}/bin/
${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/sound-of-sorting
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${PREFIX}/share/doc/sound-of-sorting/README
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (bingmann-sound-of-sorting-0.6.5-sound-of-sorting-0.6.5_GH0.tar.gz) = cb9c4e94842a015c7d144710dbee6b6a104e35deb0042657fac780e22b5c4494
SIZE (bingmann-sound-of-sorting-0.6.5-sound-of-sorting-0.6.5_GH0.tar.gz) = 174437

View file

@ -0,0 +1,7 @@
This program demonstrates the working principles of some 20 sorting
algorithms and is very easy to use. Select the algorithm, the speed
of the visualisation and whether you want to get sound output (that
reflects the values being moved and is characteristic for each kind
of algorithm).
WWW: http://panthema.net/2013/sound-of-sorting/