diff options
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/bogosort/Makefile | 25 | ||||
-rw-r--r-- | misc/bogosort/distinfo | 1 | ||||
-rw-r--r-- | misc/bogosort/files/patch-aa | 13 | ||||
-rw-r--r-- | misc/bogosort/pkg-comment | 1 | ||||
-rw-r--r-- | misc/bogosort/pkg-descr | 19 | ||||
-rw-r--r-- | misc/bogosort/pkg-plist | 4 |
7 files changed, 64 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index 8cdf7c9b7dcb..5d7baaa7babf 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -24,6 +24,7 @@ SUBDIR += bbjd SUBDIR += biblereader SUBDIR += bidwatcher + SUBDIR += bogosort SUBDIR += bottlerocket SUBDIR += boxes SUBDIR += brs diff --git a/misc/bogosort/Makefile b/misc/bogosort/Makefile new file mode 100644 index 000000000000..e0b33229ae7a --- /dev/null +++ b/misc/bogosort/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: bogosort +# Date created: 15 September 2000 +# Whom: roam@orbitel.bg +# +# $FreeBSD$ +# + +PORTNAME= bogosort +PORTVERSION= 0.3.1 +CATEGORIES= misc +MASTER_SITES= http://www.lysator.liu.se/~qha/bogosort/ \ + ftp://l82.ryd.student.liu.se/pub/unix/bogosort/ +DISTNAME= ${PORTNAME} + +MAINTAINER= roam@orbitel.bg + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +GNU_CONFIGURE= yes +USE_AUTOMAKE= yes +USE_GMAKE= yes + +MAN1= bogosort.1 + +.include <bsd.port.mk> diff --git a/misc/bogosort/distinfo b/misc/bogosort/distinfo new file mode 100644 index 000000000000..4f914075b157 --- /dev/null +++ b/misc/bogosort/distinfo @@ -0,0 +1 @@ +MD5 (bogosort.tar.gz) = 80a8f3f29949802f6a7e75fa8d3237ef diff --git a/misc/bogosort/files/patch-aa b/misc/bogosort/files/patch-aa new file mode 100644 index 000000000000..78bc86143a2c --- /dev/null +++ b/misc/bogosort/files/patch-aa @@ -0,0 +1,13 @@ +--- bogosort.texinfo 2000/09/15 13:16:16 1.1 ++++ bogosort.texinfo 2000/09/15 13:35:49 1.2 +@@ -2,6 +2,10 @@ + @c %**start of header + @setfilename bogosort.info + @settitle sorts or doesn't sort files or its standard input ++@dircategory Miscellaneous ++@direntry ++* Bogosort: (bogosort). Sort (or not) files (or standard input) ++@end direntry + @finalout + @setchapternewpage odd + @c %**end of header diff --git a/misc/bogosort/pkg-comment b/misc/bogosort/pkg-comment new file mode 100644 index 000000000000..0dc2765d762e --- /dev/null +++ b/misc/bogosort/pkg-comment @@ -0,0 +1 @@ +Sort (or not) stdin using the bogo-sort algorithm diff --git a/misc/bogosort/pkg-descr b/misc/bogosort/pkg-descr new file mode 100644 index 000000000000..9eec89fd8a3f --- /dev/null +++ b/misc/bogosort/pkg-descr @@ -0,0 +1,19 @@ +Sort files or its standard input using the bogo-sort algorithm +described in the Jargon File <http://www.tuxedo.org/~esr/jargon>. + +A quote from the Jargon File 'bogo-sort' entry: + + ...The archetypical perversely awful algorithm (as opposed to + _bubble sort_, which is merely the generic bad algorithm). + _Bogo-sort_ is equivalent to repeatedly throwing a deck of cards + in the air, picking them up at random, and then testing whether + they are in order. It serves as a sort of canonical example of + awfulness. Looking at a program and seeing a dumb algorithm, one + might say "Oh, I see, this program uses _bogo-sort_." Esp. + appropriate for algorithms with factorial or super-exponential + running time in the average case and probabilistically infinite + worst-case running time. Compare _bogus_, _brute force_, + _lasherism_... + +Author: Ulrik Haugen <qha@lysator.liu.se> +WWW: http://www.lysator.liu.se/~qha/bogosort/ diff --git a/misc/bogosort/pkg-plist b/misc/bogosort/pkg-plist new file mode 100644 index 000000000000..bf96d04d827e --- /dev/null +++ b/misc/bogosort/pkg-plist @@ -0,0 +1,4 @@ +bin/bogosort +@unexec install-info --delete %D/info/bogosort.info %D/info/dir +info/bogosort.info +@exec install-info %D/info/bogosort.info %D/info/dir |