diff options
author | steve <steve@FreeBSD.org> | 1999-05-03 10:40:34 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-05-03 10:40:34 +0800 |
commit | aa60204ec15431cd1ccc66ff177b4b65a0e74721 (patch) | |
tree | b346963f673b5d22cb5812a635d8093c429e6868 /textproc/nicetext | |
parent | 4de3305a72c3d39f71581fa1172bc689b4d1c2ef (diff) | |
download | freebsd-ports-gnome-aa60204ec15431cd1ccc66ff177b4b65a0e74721.tar.gz freebsd-ports-gnome-aa60204ec15431cd1ccc66ff177b4b65a0e74721.tar.zst freebsd-ports-gnome-aa60204ec15431cd1ccc66ff177b4b65a0e74721.zip |
Initial import of nicetext version 0.9.
Convert files to pseudo-natural-language test and back again.
PR: 7761
Submitted by: Mark Chapman <markc@ctgi.net>
Diffstat (limited to 'textproc/nicetext')
-rw-r--r-- | textproc/nicetext/Makefile | 86 | ||||
-rw-r--r-- | textproc/nicetext/distinfo | 1 | ||||
-rw-r--r-- | textproc/nicetext/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/nicetext/pkg-descr | 21 | ||||
-rw-r--r-- | textproc/nicetext/pkg-plist | 156 |
5 files changed, 265 insertions, 0 deletions
diff --git a/textproc/nicetext/Makefile b/textproc/nicetext/Makefile new file mode 100644 index 000000000000..9db614e3787f --- /dev/null +++ b/textproc/nicetext/Makefile @@ -0,0 +1,86 @@ +# New ports collection makefile for: nicetext +# Version required: 0.9 +# Date created: 20 February 1998 +# Whom: Mark Chapman <markc@ctgi.net> +# +# $Id$ + +DISTNAME= nicetext-0.9 +CATEGORIES= textproc +MASTER_SITES= ftp://ctgi.net/pub/ctgi/nicetext/src/ \ + ftp://nicetext.com/pub/nicetext/src/ + +MAINTAINER= markc@ctgi.net + +USE_GMAKE= YES + +MAN1= bitcp.1 dct2mstr.1 expgram.1 genmodel.1 gramtest.1 impkimmo.1 \ + impmsc.1 impwbstr.1 listword.1 nicetext.1 nttpd.1 printint.1 \ + scramble.1 sortdct.1 txt2dct.1 +PROGRAMS= bitcp dct2mstr expgram genmodel gramtest impkimmo impmsc \ + impwbstr listword nicetext nttpd printint rinfo scramble \ + sortdct txt2dct + +post-install: + @echo "#!/bin/sh" > ${WRKSRC}/bin/qstart-nttpd + @echo ${PREFIX}/bin/"nttpd -b " ${PREFIX}/share/examples/nicetext/database >> ${WRKSRC}/bin/qstart-nttpd + chmod a+rx ${WRKSRC}/bin/qstart-nttpd + ${INSTALL_SCRIPT} ${WRKSRC}/bin/qstart-nttpd ${PREFIX}/bin/ +.for f in ${MAN1} + ${INSTALL_MAN} ${WRKSRC}/man/man1/${f} ${PREFIX}/man/man1 +.endfor +.for f in ${PROGRAMS} + ${INSTALL_PROGRAM} ${WRKSRC}/bin/${f} ${PREFIX}/bin/ +.endfor +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/nicetext/ + ${INSTALL_MAN} ${WRKSRC}/doc/* ${PREFIX}/share/doc/nicetext/ + ${INSTALL_MAN} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/doc/nicetext/ +.endif + ${MKDIR} ${PREFIX}/share/examples/ + ${MKDIR} ${PREFIX}/share/examples/nicetext/ + ${INSTALL_DATA} ${WRKSRC}/examples/Makefile ${PREFIX}/share/examples/nicetext/ + ${INSTALL_DATA} ${WRKSRC}/examples/README.TXT ${PREFIX}/share/examples/nicetext/ + ${MKDIR} ${PREFIX}/share/examples/nicetext/database/ + ${INSTALL_DATA} ${WRKSRC}/examples/database/* ${PREFIX}/share/examples/nicetext/database/ + ${MKDIR} ${PREFIX}/share/examples/nicetext/texts/ + ${INSTALL_DATA} ${WRKSRC}/examples/texts/Makefile ${PREFIX}/share/examples/nicetext/texts/ + ${MKDIR} ${PREFIX}/share/examples/nicetext/texts/fabl/ + ${INSTALL_DATA} ${WRKSRC}/examples/texts/fabl/* ${PREFIX}/share/examples/nicetext/texts/fabl/ + ${MKDIR} ${PREFIX}/share/examples/nicetext/texts/jfk/ + ${INSTALL_DATA} ${WRKSRC}/examples/texts/jfk/* ${PREFIX}/share/examples/nicetext/texts/jfk/ + ${MKDIR} ${PREFIX}/share/examples/nicetext/texts/wizoz/ + ${INSTALL_DATA} ${WRKSRC}/examples/texts/wizoz/* ${PREFIX}/share/examples/nicetext/texts/wizoz/ + ${MKDIR} ${PREFIX}/share/examples/nicetext/texts/shak/ + ${INSTALL_DATA} ${WRKSRC}/examples/texts/shak/* ${PREFIX}/share/examples/nicetext/texts/shak/ + ${MKDIR} ${PREFIX}/share/examples/nicetext/tutorial/ + ${INSTALL_DATA} ${WRKSRC}/examples/tutorial/Makefile ${PREFIX}/share/examples/nicetext/tutorial/ + ${INSTALL_DATA} ${WRKSRC}/examples/tutorial/README.TXT ${PREFIX}/share/examples/nicetext/tutorial/ + ${MKDIR} ${PREFIX}/share/examples/nicetext/tutorial/1/ + ${INSTALL_DATA} ${WRKSRC}/examples/tutorial/1/* ${PREFIX}/share/examples/nicetext/tutorial/1/ + ${MKDIR} ${PREFIX}/share/examples/nicetext/tutorial/2/ + ${INSTALL_DATA} ${WRKSRC}/examples/tutorial/2/Makefile ${PREFIX}/share/examples/nicetext/tutorial/2/ + ${INSTALL_DATA} ${WRKSRC}/examples/tutorial/2/README.TXT ${PREFIX}/share/examples/nicetext/tutorial/2/ + ${INSTALL_DATA} ${WRKSRC}/examples/tutorial/2/sample.txt ${PREFIX}/share/examples/nicetext/tutorial/2/ + ${INSTALL_DATA} ${WRKSRC}/examples/tutorial/2/secret.txt ${PREFIX}/share/examples/nicetext/tutorial/2/ + ${MKDIR} ${PREFIX}/share/examples/nicetext/tutorial/2/words + ${INSTALL_DATA} ${WRKSRC}/examples/tutorial/2/words/* ${PREFIX}/share/examples/nicetext/tutorial/2/words/ + ${MKDIR} ${PREFIX}/share/examples/nicetext/tutorial/3/ + ${INSTALL_DATA} ${WRKSRC}/examples/tutorial/3/* ${PREFIX}/share/examples/nicetext/tutorial/3/ + ${MKDIR} ${PREFIX}/share/examples/nicetext/words/wlist/ + ${INSTALL_DATA} ${WRKSRC}/examples/words/wlist/Makefile ${PREFIX}/share/examples/nicetext/words/wlist/ + ${MKDIR} ${PREFIX}/share/examples/nicetext/words/wlist/gutenberg/ + ${INSTALL_DATA} ${WRKSRC}/examples/words/wlist/gutenberg/* ${PREFIX}/share/examples/nicetext/words/wlist/gutenberg/ + ${MKDIR} ${PREFIX}/share/examples/nicetext/words/wlist/web2/ + ${INSTALL_DATA} ${WRKSRC}/examples/words/wlist/web2/* ${PREFIX}/share/examples/nicetext/words/wlist/web2/ + ${MKDIR} ${PREFIX}/share/examples/nicetext/words/twlist/ + ${INSTALL_DATA} ${WRKSRC}/examples/words/twlist/Makefile ${PREFIX}/share/examples/nicetext/words/twlist/ + ${MKDIR} ${PREFIX}/share/examples/nicetext/words/twlist/impkimmo/ + ${INSTALL_DATA} ${WRKSRC}/examples/words/twlist/impkimmo/* ${PREFIX}/share/examples/nicetext/words/twlist/impkimmo/ + ${MKDIR} ${PREFIX}/share/examples/nicetext/words/twlist/mitlist/ + ${INSTALL_DATA} ${WRKSRC}/examples/words/twlist/mitlist/* ${PREFIX}/share/examples/nicetext/words/twlist/mitlist/ + ${MKDIR} ${PREFIX}/share/examples/nicetext/words/twlist/numeric/ + ${INSTALL_DATA} ${WRKSRC}/examples/words/twlist/numeric/* ${PREFIX}/share/examples/nicetext/words/twlist/numeric/ + ${MKDIR} ${PREFIX}/share/examples/nicetext/words/twlist/rhyme/ + ${INSTALL_DATA} ${WRKSRC}/examples/words/twlist/rhyme/* ${PREFIX}/share/examples/nicetext/words/twlist/rhyme/ +.include <bsd.port.mk> diff --git a/textproc/nicetext/distinfo b/textproc/nicetext/distinfo new file mode 100644 index 000000000000..8f3c8365f881 --- /dev/null +++ b/textproc/nicetext/distinfo @@ -0,0 +1 @@ +MD5 (nicetext-0.9.tar.gz) = 899e676513293e3643efa9c0365f6137 diff --git a/textproc/nicetext/pkg-comment b/textproc/nicetext/pkg-comment new file mode 100644 index 000000000000..7fb5cb4a2964 --- /dev/null +++ b/textproc/nicetext/pkg-comment @@ -0,0 +1 @@ +Convert files to pseudo-natural-language text and back again. diff --git a/textproc/nicetext/pkg-descr b/textproc/nicetext/pkg-descr new file mode 100644 index 000000000000..b4ecd8b3e5c4 --- /dev/null +++ b/textproc/nicetext/pkg-descr @@ -0,0 +1,21 @@ +NICETEXT - is a package that converts any file into pseudo- +natural-language text. It also can recover the original file +from the text! + +The expandable set of tools allows experimentation with custom dictionaries, +automatic simulation of writing style, and the use of Context-Free-Grammars +to control text generation. + +It is the result of Masters Thesis research at the University of +Wisconsin, Milwaukee under the advisement of Dr. George Davida. + +The concepts were publicly presented at the International Conference +on Information and Computer Security 1997 (ICICS97) in Beijing, +China back in November, 1997. + +Watch http://www.ctgi.net/ for more information. + +Read the QUICKSTART file to get up-and-running very quickly! + +- Mark +markc@ctgi.net diff --git a/textproc/nicetext/pkg-plist b/textproc/nicetext/pkg-plist new file mode 100644 index 000000000000..90cefdb20ccf --- /dev/null +++ b/textproc/nicetext/pkg-plist @@ -0,0 +1,156 @@ +bin/bitcp +bin/dct2mstr +bin/expgram +bin/genmodel +bin/gramtest +bin/impkimmo +bin/impmsc +bin/impwbstr +bin/listword +bin/nicetext +bin/nttpd +bin/printint +bin/qstart-nttpd +bin/rinfo +bin/scramble +bin/sortdct +bin/txt2dct +share/doc/nicetext/README.TXT +share/doc/nicetext/distribution.txt +share/doc/nicetext/icics97.pdf +share/doc/nicetext/icics97.ps +share/doc/nicetext/icics97.txt +share/doc/nicetext/thesis.pdf +share/doc/nicetext/thesis.ps +share/doc/nicetext/thesis.txt +share/doc/nicetext/COPYRIGHT +@dirrm share/doc/nicetext +share/examples/nicetext/database/Makefile +share/examples/nicetext/database/fabldict.alt +share/examples/nicetext/database/fabldict.dat +share/examples/nicetext/database/fabldict.jmp +share/examples/nicetext/database/fablmodel.dat +share/examples/nicetext/database/fablmodel.jmp +share/examples/nicetext/database/fabltype.dat +share/examples/nicetext/database/fabltype.jmp +share/examples/nicetext/database/jfkdict.alt +share/examples/nicetext/database/jfkdict.dat +share/examples/nicetext/database/jfkdict.jmp +share/examples/nicetext/database/jfkmodel.dat +share/examples/nicetext/database/jfkmodel.jmp +share/examples/nicetext/database/jfktype.dat +share/examples/nicetext/database/jfktype.jmp +share/examples/nicetext/database/wizozdict.alt +share/examples/nicetext/database/wizozdict.dat +share/examples/nicetext/database/wizozdict.jmp +share/examples/nicetext/database/wizozmodel.dat +share/examples/nicetext/database/wizozmodel.jmp +share/examples/nicetext/database/wizoztype.dat +share/examples/nicetext/database/wizoztype.jmp +share/examples/nicetext/database/mstrdict.alt +share/examples/nicetext/database/mstrdict.dat +share/examples/nicetext/database/mstrdict.jmp +share/examples/nicetext/database/mstrtype.dat +share/examples/nicetext/database/mstrtype.jmp +share/examples/nicetext/database/shakdict.alt +share/examples/nicetext/database/shakdict.dat +share/examples/nicetext/database/shakdict.jmp +share/examples/nicetext/database/shakmodel.dat +share/examples/nicetext/database/shakmodel.jmp +share/examples/nicetext/database/shaktype.dat +share/examples/nicetext/database/shaktype.jmp +@dirrm share/examples/nicetext/database +share/examples/nicetext/texts/fabl/Makefile +share/examples/nicetext/texts/fabl/aesop11.txt.gz +@dirrm share/examples/nicetext/texts/fabl +share/examples/nicetext/texts/jfk/Makefile +share/examples/nicetext/texts/jfk/jfk11.txt.gz +@dirrm share/examples/nicetext/texts/jfk +share/examples/nicetext/texts/wizoz/Makefile +share/examples/nicetext/texts/wizoz/wizoz10.txt.gz +@dirrm share/examples/nicetext/texts/wizoz +share/examples/nicetext/texts/shak/Makefile +share/examples/nicetext/texts/shak/shaks12.txt.gz +@dirrm share/examples/nicetext/texts/shak +share/examples/nicetext/texts/Makefile +@dirrm share/examples/nicetext/texts +share/examples/nicetext/tutorial/1/Makefile +share/examples/nicetext/tutorial/1/README.TXT +share/examples/nicetext/tutorial/1/dict.raw +share/examples/nicetext/tutorial/1/sample.txt +share/examples/nicetext/tutorial/1/secret.txt +@dirrm share/examples/nicetext/tutorial/1 +share/examples/nicetext/tutorial/2/words/conjunction +share/examples/nicetext/tutorial/2/words/name_family +share/examples/nicetext/tutorial/2/words/name_female +share/examples/nicetext/tutorial/2/words/name_male +share/examples/nicetext/tutorial/2/words/name_other +share/examples/nicetext/tutorial/2/words/num_cardinal_digits +share/examples/nicetext/tutorial/2/words/num_cardinal_words +share/examples/nicetext/tutorial/2/words/num_roman_digits +share/examples/nicetext/tutorial/2/words/num_years_digits +share/examples/nicetext/tutorial/2/words/place +share/examples/nicetext/tutorial/2/words/prepin +share/examples/nicetext/tutorial/2/words/prepto +share/examples/nicetext/tutorial/2/words/verbmeet +share/examples/nicetext/tutorial/2/words/verbmet +share/examples/nicetext/tutorial/2/words/verbwent +@dirrm share/examples/nicetext/tutorial/2/words +share/examples/nicetext/tutorial/2/Makefile +share/examples/nicetext/tutorial/2/README.TXT +share/examples/nicetext/tutorial/2/sample.txt +share/examples/nicetext/tutorial/2/secret.txt +@dirrm share/examples/nicetext/tutorial/2 +share/examples/nicetext/tutorial/3/Makefile +share/examples/nicetext/tutorial/3/README.TXT +share/examples/nicetext/tutorial/3/gram1.def +share/examples/nicetext/tutorial/3/gram2.inc +share/examples/nicetext/tutorial/3/secret.txt +@dirrm share/examples/nicetext/tutorial/3 +share/examples/nicetext/tutorial/Makefile +share/examples/nicetext/tutorial/README.TXT +@dirrm share/examples/nicetext/tutorial +share/examples/nicetext/words/wlist/gutenberg/Makefile +share/examples/nicetext/words/wlist/gutenberg/README.TXT +share/examples/nicetext/words/wlist/gutenberg/create +share/examples/nicetext/words/wlist/gutenberg/words.out.gz +@dirrm share/examples/nicetext/words/wlist/gutenberg +share/examples/nicetext/words/wlist/web2/Makefile +share/examples/nicetext/words/wlist/web2/README.TXT +share/examples/nicetext/words/wlist/web2/words.gz +@dirrm share/examples/nicetext/words/wlist/web2 +share/examples/nicetext/words/wlist/Makefile +@dirrm share/examples/nicetext/words/wlist +share/examples/nicetext/words/twlist/impkimmo/Makefile +share/examples/nicetext/words/twlist/impkimmo/README.TXT +share/examples/nicetext/words/twlist/impkimmo/kimmo.twlist.gz +@dirrm share/examples/nicetext/words/twlist/impkimmo +share/examples/nicetext/words/twlist/mitlist/Makefile +share/examples/nicetext/words/twlist/mitlist/name_family +share/examples/nicetext/words/twlist/mitlist/name_female +share/examples/nicetext/words/twlist/mitlist/name_male +share/examples/nicetext/words/twlist/mitlist/name_other +share/examples/nicetext/words/twlist/mitlist/place +share/examples/nicetext/words/twlist/mitlist/pos.awk +share/examples/nicetext/words/twlist/mitlist/posplr.awk +@dirrm share/examples/nicetext/words/twlist/mitlist +share/examples/nicetext/words/twlist/numeric/Makefile +share/examples/nicetext/words/twlist/numeric/num_cardinal_digits +share/examples/nicetext/words/twlist/numeric/num_cardinal_words +share/examples/nicetext/words/twlist/numeric/num_roman_digits +share/examples/nicetext/words/twlist/numeric/num_years_digits +@dirrm share/examples/nicetext/words/twlist/numeric +share/examples/nicetext/words/twlist/rhyme/Makefile +share/examples/nicetext/words/twlist/rhyme/README.TXT +share/examples/nicetext/words/twlist/rhyme/cmudict.0.4.gz +share/examples/nicetext/words/twlist/rhyme/extract.awk +share/examples/nicetext/words/twlist/rhyme/gt3.awk +share/examples/nicetext/words/twlist/rhyme/rev2.awk +share/examples/nicetext/words/twlist/rhyme/rhyme.twlist.gz +@dirrm share/examples/nicetext/words/twlist/rhyme +share/examples/nicetext/words/twlist/Makefile +@dirrm share/examples/nicetext/words/twlist +@dirrm share/examples/nicetext/words +share/examples/nicetext/Makefile +share/examples/nicetext/README.TXT +@dirrm share/examples/nicetext |