summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2008-11-18 05:24:43 +0000
committerhe <he@pkgsrc.org>2008-11-18 05:24:43 +0000
commit39cf106725a4a2f864e4561aa04924f332d7db4e (patch)
tree7bf7a90d9298b1a4b2f9590d3c7c4d120833ebc0 /textproc
parent7da5fd2f569920da3ab214547ef875604be55544 (diff)
downloadpkgsrc-39cf106725a4a2f864e4561aa04924f332d7db4e.tar.gz
Import p5-Text-Aspell version 0.09.
This module provides a Perl interface to the GNU Aspell library. This module is to meet the need of looking up many words, one at a time, in a single session, such as spell-checking a document in memory.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-Text-Aspell/DESCR4
-rw-r--r--textproc/p5-Text-Aspell/Makefile22
-rw-r--r--textproc/p5-Text-Aspell/distinfo6
-rw-r--r--textproc/p5-Text-Aspell/patches/patch-aa17
4 files changed, 49 insertions, 0 deletions
diff --git a/textproc/p5-Text-Aspell/DESCR b/textproc/p5-Text-Aspell/DESCR
new file mode 100644
index 00000000000..73989718528
--- /dev/null
+++ b/textproc/p5-Text-Aspell/DESCR
@@ -0,0 +1,4 @@
+This module provides a Perl interface to the GNU Aspell library.
+This module is to meet the need of looking up many words, one at
+a time, in a single session, such as spell-checking a document in
+memory.
diff --git a/textproc/p5-Text-Aspell/Makefile b/textproc/p5-Text-Aspell/Makefile
new file mode 100644
index 00000000000..a340a1686ca
--- /dev/null
+++ b/textproc/p5-Text-Aspell/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/11/18 05:24:43 he Exp $
+#
+
+DISTNAME= Text-Aspell-0.09
+PKGNAME= p5-${DISTNAME}
+SVR4_PKGNAME= p5tas
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Text/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Text-Aspell/
+COMMENT= Perl interface to the GNU Aspell library
+
+BUILD_DEPENDS+= aspell-english>0:../../textproc/aspell-english
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PERL5_PACKLIST= auto/Text/Aspell/.packlist
+
+.include "../../textproc/aspell/buildlink3.mk"
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-Text-Aspell/distinfo b/textproc/p5-Text-Aspell/distinfo
new file mode 100644
index 00000000000..689ae352374
--- /dev/null
+++ b/textproc/p5-Text-Aspell/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/11/18 05:24:43 he Exp $
+
+SHA1 (Text-Aspell-0.09.tar.gz) = 2065e1b8375e613477ba6148a53424bff1addf24
+RMD160 (Text-Aspell-0.09.tar.gz) = f1860460223590f090c819375631e68beeb99870
+Size (Text-Aspell-0.09.tar.gz) = 13548 bytes
+SHA1 (patch-aa) = bee692ad8f0854e20dcba8f73ddff3682e6b8a6f
diff --git a/textproc/p5-Text-Aspell/patches/patch-aa b/textproc/p5-Text-Aspell/patches/patch-aa
new file mode 100644
index 00000000000..7b8a8b8c6fc
--- /dev/null
+++ b/textproc/p5-Text-Aspell/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/11/18 05:24:43 he Exp $
+
+Trick MakeMaker into actually emitting the use of -laspell
+in the Makefile. It'll use the library set up by buildlink
+when it's actually built.
+
+--- Makefile.PL.orig 2008-11-18 05:20:30.000000000 +0000
++++ Makefile.PL
+@@ -4,7 +4,7 @@ use ExtUtils::MakeMaker;
+ WriteMakefile(
+ NAME => 'Text::Aspell',
+ VERSION_FROM => 'Aspell.pm',
+- LIBS => ['-laspell'],
++ LIBS => ["-L$ENV{PREFIX}/lib -laspell"],
+ XSPROTOARG => '-noprototypes',
+ PREREQ_PM => {
+ 'Test::More' => 0,