From 7b166585406516e31bc6be0487c60bb05786759b Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Tue, 22 Jun 2004 20:19:51 +0000 Subject: [PATCH] Add rl, a command-line tool that reads lines from an input file or stdin, randomizes the lines and outputs a specified number of lines. It does this with only a single pass over the input while trying to use as little memory as possible. PR: ports/68182 Submitted by: David Sze --- textproc/Makefile | 1 + textproc/rl/Makefile | 21 +++++++++++++++++++++ textproc/rl/distinfo | 2 ++ textproc/rl/pkg-descr | 6 ++++++ 4 files changed, 30 insertions(+) create mode 100644 textproc/rl/Makefile create mode 100644 textproc/rl/distinfo create mode 100644 textproc/rl/pkg-descr diff --git a/textproc/Makefile b/textproc/Makefile index e12f1ff31023..fe1b98feba90 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -458,6 +458,7 @@ SUBDIR += redland SUBDIR += replaceit SUBDIR += resume + SUBDIR += rl SUBDIR += rman SUBDIR += ro-aspell SUBDIR += roap diff --git a/textproc/rl/Makefile b/textproc/rl/Makefile new file mode 100644 index 000000000000..a32f219d721c --- /dev/null +++ b/textproc/rl/Makefile @@ -0,0 +1,21 @@ +# New ports collection makefile for: rl +# Date created: 21 June 2004 +# Whom: David Sze +# +# $FreeBSD$ +# + +PORTNAME= rl +PORTVERSION= 0.2.2 +CATEGORIES= textproc +MASTER_SITES= http://tiefighter.et.tudelft.nl/~arthur/rl/ + +MAINTAINER= ports@FreeBSD.org +COMMENT= Randomizes lines from a specified input file + +GNU_CONFIGURE= yes + +MAN1= rl.1 +PLIST_FILES= bin/rl + +.include diff --git a/textproc/rl/distinfo b/textproc/rl/distinfo new file mode 100644 index 000000000000..d94ae88d58b3 --- /dev/null +++ b/textproc/rl/distinfo @@ -0,0 +1,2 @@ +MD5 (rl-0.2.2.tar.gz) = 4be20e6633026d3f1fc3a44f0a856ad0 +SIZE (rl-0.2.2.tar.gz) = 108678 diff --git a/textproc/rl/pkg-descr b/textproc/rl/pkg-descr new file mode 100644 index 000000000000..11b0ea771c8e --- /dev/null +++ b/textproc/rl/pkg-descr @@ -0,0 +1,6 @@ +rl is a command-line tool that reads lines from an input file or stdin, +randomizes the lines and outputs a specified number of lines. It does +this with only a single pass over the input while trying to use as little +memory as possible. + +WWW: http://tiefighter.et.tudelft.nl/~arthur/rl/