From be6cc3742e0d4f36d18eed1fb78f072171a4a109 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Sun, 29 Oct 2006 17:42:53 +0000 Subject: [PATCH] Import p5-tkispell, a Perl/Tk graphical user interface to GNU ispell. ok steven@ --- textproc/p5-tkispell/Makefile | 25 +++++++++++++++++++++ textproc/p5-tkispell/distinfo | 4 ++++ textproc/p5-tkispell/patches/patch-tkispell | 12 ++++++++++ textproc/p5-tkispell/pkg/DESCR | 1 + textproc/p5-tkispell/pkg/PLIST | 6 +++++ 5 files changed, 48 insertions(+) create mode 100644 textproc/p5-tkispell/Makefile create mode 100644 textproc/p5-tkispell/distinfo create mode 100644 textproc/p5-tkispell/patches/patch-tkispell create mode 100644 textproc/p5-tkispell/pkg/DESCR create mode 100644 textproc/p5-tkispell/pkg/PLIST diff --git a/textproc/p5-tkispell/Makefile b/textproc/p5-tkispell/Makefile new file mode 100644 index 00000000000..d08c524f913 --- /dev/null +++ b/textproc/p5-tkispell/Makefile @@ -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 + +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 diff --git a/textproc/p5-tkispell/distinfo b/textproc/p5-tkispell/distinfo new file mode 100644 index 00000000000..a6c292a4d44 --- /dev/null +++ b/textproc/p5-tkispell/distinfo @@ -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 diff --git a/textproc/p5-tkispell/patches/patch-tkispell b/textproc/p5-tkispell/patches/patch-tkispell new file mode 100644 index 00000000000..ae105beddf3 --- /dev/null +++ b/textproc/p5-tkispell/patches/patch-tkispell @@ -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`; diff --git a/textproc/p5-tkispell/pkg/DESCR b/textproc/p5-tkispell/pkg/DESCR new file mode 100644 index 00000000000..a4ea20f34fb --- /dev/null +++ b/textproc/p5-tkispell/pkg/DESCR @@ -0,0 +1 @@ +Tkispell is a Perl/Tk graphical user interface to GNU ispell. diff --git a/textproc/p5-tkispell/pkg/PLIST b/textproc/p5-tkispell/pkg/PLIST new file mode 100644 index 00000000000..4a950be640c --- /dev/null +++ b/textproc/p5-tkispell/pkg/PLIST @@ -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