1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Add p5-LJ-SpellCheck 1.0, HTML highlighting misspellings using

ispell compatible program.

PR:		26084
Submitted by:	Michael Johnson <ahze@ahze.net>
This commit is contained in:
Will Andrews 2001-04-07 06:24:38 +00:00
parent 45d7e712eb
commit 372bf92c0b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=41013
6 changed files with 38 additions and 0 deletions

View File

@ -83,6 +83,7 @@
SUBDIR += openjade
SUBDIR += opensched
SUBDIR += p5-DelimMatch
SUBDIR += p5-LJ-SpellCheck
SUBDIR += p5-PDF-Create
SUBDIR += p5-Sort-ArbBiLex
SUBDIR += p5-Sort-Fields

View File

@ -0,0 +1,24 @@
# New ports collection makefile for: p5-LJ-SpellCheck
# Date created: 25 Mar 2001
# Whom: Michael Johnson <ahze@ahze.net>
#
# $FreeBSD$
#
PORTNAME= LJ-SpellCheck
PORTVERSION= 1.0
CATEGORIES= textproc perl5
MASTER_SITES= http://livejournal.com/files/code/spellcheck/ \
ftp://ftp.livejournal.com/code/spellcheck/
PKGNAMEPREFIX= p5-
MAINTAINER= ahze@ahze.net
RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
PERL_CONFIGURE= yes
MAN3= LJ::SpellCheck.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (LJ-SpellCheck-1.0.tar.gz) = 0cb041050b227fa956ae0f8beca24305

View File

@ -0,0 +1 @@
HTML highlighting misspellings using ispell compatible program

View File

@ -0,0 +1,10 @@
The object constructor takes a 'spellcommand' argument. This has to be
some ispell compatible program, like aspell. Optionally, it also takes a
color to highlight mispelled words.
The only method on the object is check_html, which takes a reference to
the text to check and returns a bunch of HTML highlighting misspellings
and showing suggestions. If it returns nothing, then there no misspellings
found.
WWW: http://livejournal.com/code/spellcheck/

View File

@ -0,0 +1 @@
lib/perl5/site_perl/5.005/LJ/SpellCheck.pm