Import p5-tkispell, a Perl/Tk graphical user interface to GNU ispell.

ok steven@
This commit is contained in:
ajacoutot 2006-10-29 17:42:53 +00:00
parent 26f5607a92
commit be6cc3742e
5 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/10/29 17:42:53 ajacoutot Exp $
COMMENT= "Perl/Tk graphical user interface to GNU ispell"
DISTNAME= tkispell-0.18
PKGNAME= p5-${DISTNAME}
CATEGORIES= textproc perl5
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Tk/}
# Artistic
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
RUN_DEPENDS= :p5-Tk-*:x11/p5-Tk \
::textproc/ispell
PKG_ARCH=*
CONFIGURE_STYLE= perl
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (tkispell-0.18.tar.gz) = 6de964085dcd55fc3a5693e9e5333b44
RMD160 (tkispell-0.18.tar.gz) = 143e5034188ab65a7a9bd613c4d353e6024bb9ab
SHA1 (tkispell-0.18.tar.gz) = cb3964040f3a3cb02a8ff4e59fcd2d985913c92f
SIZE (tkispell-0.18.tar.gz) = 16067

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-tkispell,v 1.1.1.1 2006/10/29 17:42:53 ajacoutot Exp $
--- tkispell.orig Sat Oct 28 20:33:47 2006
+++ tkispell Sat Oct 28 20:34:14 2006
@@ -11,7 +11,7 @@ $VERSION=0.17;
my $fn = '*-helvetica-medium-r-*-*-12-*'; # Widget font
my $lang = $ENV{LANG};
-if ($lang =~ /^C$/ || ! defined ($lang)) {$lang = 'default'; }
+if (defined ($lang) && $lang =~ /^C$/ || ! defined ($lang)) {$lang = 'default'; }
my $hdict = $ENV{HOME}."/.ispell_$lang"; # Personal dictionary.
my $ispell_prog = `which ispell`;

View File

@ -0,0 +1 @@
Tkispell is a Perl/Tk graphical user interface to GNU ispell.

View File

@ -0,0 +1,6 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/10/29 17:42:53 ajacoutot Exp $
bin/tkispell
${P5SITE}/Tk/
${P5SITE}/Tk/SimpleFileSelect.pm
@man man/man1/tkispell.1
@man man/man3p/Tk::SimpleFileSelect.3p