summaryrefslogtreecommitdiff
path: root/dev-perl/tkispell
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/tkispell')
-rw-r--r--dev-perl/tkispell/Manifest6
-rw-r--r--dev-perl/tkispell/files/tkispell-0.180.0-aspell.patch31
-rw-r--r--dev-perl/tkispell/metadata.xml8
-rw-r--r--dev-perl/tkispell/tkispell-0.180.0.ebuild23
4 files changed, 68 insertions, 0 deletions
diff --git a/dev-perl/tkispell/Manifest b/dev-perl/tkispell/Manifest
new file mode 100644
index 000000000000..0029abba6160
--- /dev/null
+++ b/dev-perl/tkispell/Manifest
@@ -0,0 +1,6 @@
+AUX tkispell-0.180.0-aspell.patch 1411 SHA256 eab079835885470d0606a1196a60a86d29b4c0df8b61ced783a870c4eab7ae40 SHA512 e9869b12e9a207412d1444ae3d45173ee9e58828f8f20b9c73fdf6c82db25b2590d250a80b500b5e801d64520dadffdb04c64ae35e0a3d3dc752ccbe42b6889d WHIRLPOOL dc5b2076079c023aa1111077b077588db49bf585931142ec06403bbaa1441befcb048d1a4400e153cfd66c4fc20f675fc7667d9bf016812027a087419c16bb8e
+DIST tkispell-0.18.tar.gz 16067 SHA256 45c3cc1fd08af220ca0b841293a2f0eb46d5050e369447583cc63f76211a6bc1 SHA512 15a32367c53b36217a5c57d1b109b304c5b97e4c46b4ab64cbce66c99c46a651af5d376a8219e35c6ec909250040e7be1e4d073546a893ff25650187ca561e08 WHIRLPOOL 6ee116f8bf2a88e6a49c3d76298ccdfec34b6006ead48f32090da36f358bcb991030029143e1c6aadb723397bc5882324c0ff6c9b61c00ce17f280fd5b60a277
+EBUILD tkispell-0.180.0.ebuild 393 SHA256 b4243cccaba945ff74d898a52dc6bac1b46707ee934f25fd74eee2a46ab21dec SHA512 d984424cf1614a26d1e8cf8c407e7e1578556b83edc75fabdc29cbf2cd7aa7b21ae88b2a2c1446e2b3ed136f2b4a83485e8acdc4f9bdcd3663c603b2cf07c360 WHIRLPOOL f7f3ef7319905c1c5b0edd04c4e0d00482b342fcd2679949f47db0030d34276057b02a0720ed0abedc3c48f091f8f688037116160a3109104e8926bb0d68799d
+MISC ChangeLog 2626 SHA256 34b7b7057ebe34715617d1b77307906b657ae301928ab1afa49ae6faeff2ab2a SHA512 c821d26e18b306a2587c104ab6bfb984d0d1a9567f4d3549b08cf8f26f2785723ec121c04c8e4c21fa8f03fe04a92e15b109a442f0e6b15dfc4748538d611dfd WHIRLPOOL b583afac9a209b7ff19ae9622b0d04ce40562fb1657ca3db8550bb24a8d138c5ac62b0650b5ac1ebb322a3e181dd5662959935530163a60bccbee4dc922905b2
+MISC ChangeLog-2015 413 SHA256 b5553a9fd58fb96894d0cacaa6b44bb8772a2137ccdcfd1cd66e7905a4b8499d SHA512 eb44f0f930f5a113c697b0366cfff0555d5abaf2e895dfd81cfe930c9de9cc60bb2b1ebbfc1da8024dbbae5aa5a752293b93550f19504c4841a3d1269145ca67 WHIRLPOOL 9feba39cfb85c053c4fa6e2be3a00a8eb0419c8bbe06c9206b76da5efcc340a6de1199f5cb516d3389f8c4d0eac0a40522f139aff43188388aa9f7e03f15a04e
+MISC metadata.xml 257 SHA256 4d43e70b770d0898a99af64a8454a6116e4a86500c23290655c8371265010427 SHA512 80cde0da56c3ac4023da7b0c17c62eae85139aaefd8ba453dd0c0718da1d40102c57d5beb5b8f984dcbeacad930517347e4d91dd5bd94e973fb81974d078a18e WHIRLPOOL 87039765046556cdc2f7d76ce4192945117bfd5bb684220ea8fb72be310673a5b729ea428666ff1ceb1e6c21fb585a3a7dd72bd94dab89cf076a895e6a7677f0
diff --git a/dev-perl/tkispell/files/tkispell-0.180.0-aspell.patch b/dev-perl/tkispell/files/tkispell-0.180.0-aspell.patch
new file mode 100644
index 000000000000..1db7bd291eff
--- /dev/null
+++ b/dev-perl/tkispell/files/tkispell-0.180.0-aspell.patch
@@ -0,0 +1,31 @@
+diff -ruN tkispell-0.18.orig/Makefile.PL tkispell-0.18/Makefile.PL
+--- tkispell-0.18.orig/Makefile.PL 2004-02-28 20:38:46.000000000 +0100
++++ tkispell-0.18/Makefile.PL 2014-10-11 10:43:09.372002632 +0200
+@@ -1,11 +1,11 @@
+ use ExtUtils::MakeMaker;
+
+-my $ispell_bin = `which ispell`;
++my $ispell_bin = `which ispell-aspell`;
+ # The first match is for Solaris which. The second is for
+ # Linux which.
+-if (($ispell_bin =~ /no ispell/) || (length($ispell_bin) == 0)) {
+- print "Could not find locate ispell. Make sure that\n";
+- print "the ispell program is installed in a directory\n";
++if (($ispell_bin =~ /no ispell-aspell/) || (length($ispell_bin) == 0)) {
++ print "Could not find locate ispell-aspell. Make sure that\n";
++ print "the ispell-aspell program is installed in a directory\n";
+ print "named in the PATH environment variable.\n";
+ exit 1;
+ }
+diff -ruN tkispell-0.18.orig/tkispell tkispell-0.18/tkispell
+--- tkispell-0.18.orig/tkispell 2004-03-14 03:50:34.000000000 +0100
++++ tkispell-0.18/tkispell 2014-10-11 10:43:58.772005395 +0200
+@@ -14,7 +14,7 @@
+ if ($lang =~ /^C$/ || ! defined ($lang)) {$lang = 'default'; }
+ my $hdict = $ENV{HOME}."/.ispell_$lang"; # Personal dictionary.
+
+-my $ispell_prog = `which ispell`;
++my $ispell_prog = `which ispell-aspell`;
+ chomp $ispell_prog;
+ my ($cw, $b1, @misspelledlist, @replacementlist, @addlist, $midx);
+ my $ifname = '';
diff --git a/dev-perl/tkispell/metadata.xml b/dev-perl/tkispell/metadata.xml
new file mode 100644
index 000000000000..2b9a936fc0a1
--- /dev/null
+++ b/dev-perl/tkispell/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>perl@gentoo.org</email>
+ <name>Gentoo Perl Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-perl/tkispell/tkispell-0.180.0.ebuild b/dev-perl/tkispell/tkispell-0.180.0.ebuild
new file mode 100644
index 000000000000..b8095bc71ced
--- /dev/null
+++ b/dev-perl/tkispell/tkispell-0.180.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+MODULE_AUTHOR=RKIES
+MODULE_VERSION=0.18
+inherit perl-module
+
+DESCRIPTION="Perl/Tk user interface for ispell"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ app-text/aspell
+ dev-perl/Tk
+ virtual/perl-Carp
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-aspell.patch" )