summaryrefslogtreecommitdiff
path: root/net/p5-Wais
diff options
context:
space:
mode:
authorbad <bad>1999-05-11 14:03:13 +0000
committerbad <bad>1999-05-11 14:03:13 +0000
commit64c771755f04bcb3b8931dfe6b851c6784b77e81 (patch)
tree94b20320407348db2fbfb1d06b7a2268c6880529 /net/p5-Wais
parente4e313eabe19f0f5e6f1d67b34636f1cf69de6bd (diff)
downloadpkgsrc-64c771755f04bcb3b8931dfe6b851c6784b77e81.tar.gz
Initial import of p5-Wais version 2.311. A Perl module to interact with
WAIS servers.
Diffstat (limited to 'net/p5-Wais')
-rw-r--r--net/p5-Wais/Makefile19
-rw-r--r--net/p5-Wais/files/md53
-rw-r--r--net/p5-Wais/patches/patch-aa31
-rw-r--r--net/p5-Wais/patches/patch-ab13
-rw-r--r--net/p5-Wais/patches/patch-ac22
-rw-r--r--net/p5-Wais/pkg/COMMENT1
-rw-r--r--net/p5-Wais/pkg/DESCR4
-rw-r--r--net/p5-Wais/pkg/PLIST-md.shared4
-rw-r--r--net/p5-Wais/pkg/PLIST-md.static4
-rw-r--r--net/p5-Wais/pkg/PLIST-mi8
10 files changed, 109 insertions, 0 deletions
diff --git a/net/p5-Wais/Makefile b/net/p5-Wais/Makefile
new file mode 100644
index 00000000000..e6861306787
--- /dev/null
+++ b/net/p5-Wais/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/05/11 14:03:13 bad Exp $
+#
+
+DISTNAME= Wais-2.311
+PKGNAME= p5-Wais-2.311
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Wais/}
+
+MAINTAINER= bad@netbsd.org
+
+DEPENDS+= freewais-sf-2.2.12:../../test/freewais-sf
+DEPENDS+= p5-Curses-1.02:../../devel/p5-Curses
+
+USE_PERL5= YES
+
+do-configure:
+ @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/perl Makefile.PL
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/p5-Wais/files/md5 b/net/p5-Wais/files/md5
new file mode 100644
index 00000000000..b902093c038
--- /dev/null
+++ b/net/p5-Wais/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/05/11 14:03:13 bad Exp $
+
+MD5 (Wais-2.311.tar.gz) = 839b7c5a97769d4718127d4fdf3fb8a0
diff --git a/net/p5-Wais/patches/patch-aa b/net/p5-Wais/patches/patch-aa
new file mode 100644
index 00000000000..fb52871eac0
--- /dev/null
+++ b/net/p5-Wais/patches/patch-aa
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/05/11 14:03:13 bad Exp $
+
+--- Makefile.PL.orig Mon Aug 3 18:59:14 1998
++++ Makefile.PL Tue May 11 01:07:10 1999
+@@ -32,7 +32,7 @@
+ 'PREREQ_PM' => { Curses => 0,
+ },
+ 'LIBS' => "-L$Config{ldflags} -lwais",
+- 'INC' => "-DWAIS_USES_STDIO -I$Config{cppflags}",
++ 'INC' => "-DWAIS_USES_STDIO $Config{cppflags}",
+ 'NAME' => 'Wais',
+ 'VERSION_FROM' => 'lib/Wais.pm',
+ 'DEFINE' => '-DTRACE=0',
+@@ -42,7 +42,7 @@
+ PREOP => 'pod2text lib/Wais.pm > README; pod2text install > INSTALL',
+ },
+ 'MAP_TARGET' => 'waisperl',
+- 'EXE_FILES' => [ qw(script/inspect script/makedb) ],
++ 'EXE_FILES' => [ qw(script/inspect) ],
+ );
+
+
+@@ -55,7 +55,7 @@
+ my $self = shift;
+
+ qq[
+-install :: register
++#install :: register
+
+ register ::
+ \t] . $self->{NOECHO} . q[$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) \
diff --git a/net/p5-Wais/patches/patch-ab b/net/p5-Wais/patches/patch-ab
new file mode 100644
index 00000000000..26d86bc09d0
--- /dev/null
+++ b/net/p5-Wais/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/05/11 14:03:13 bad Exp $
+
+--- Wais.xs.orig Tue May 13 09:22:59 1997
++++ Wais.xs Mon May 10 01:36:28 1999
+@@ -44,7 +44,7 @@
+ init_Wais()
+ {
+ /* This is a hack to allow for embedding in freeWAIS-sf */
+-#ifndef HAS_GRUNDFORM /* freeWAIS-sf >= 2.1.1 */
++#ifndef WAIS_EMBED /* freeWAIS-sf >= 2.1.1 */
+ int my_perl_inited;
+ #else
+ extern int my_perl_inited;
diff --git a/net/p5-Wais/patches/patch-ac b/net/p5-Wais/patches/patch-ac
new file mode 100644
index 00000000000..820f1708266
--- /dev/null
+++ b/net/p5-Wais/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1.1.1 1999/05/11 14:03:13 bad Exp $
+
+--- lib/Wais.pm.orig Mon Aug 3 18:59:14 1998
++++ lib/Wais.pm Mon May 10 23:58:41 1999
+@@ -197,7 +197,7 @@
+ last unless $message;
+ $presult = &Wais::Search::new($message);
+ $result->add('document', $presult);
+- last if length($presult->text) != $Wais::CHARS_PER_PAGE;
++ last if length($result->text) != $Wais::CHARS_PER_PAGE;
+ }
+ } else {
+ $fh = new IO::Socket::INET(PeerAddr => $host,
+@@ -215,7 +215,7 @@
+ $fh->read($message, $length);
+ $presult = &Wais::Search::new($message);
+ $result->add('document', $presult);
+- last if length($presult->text) != $Wais::CHARS_PER_PAGE;
++ last if length($result->text) != $Wais::CHARS_PER_PAGE;
+ }
+ $fh->close;
+ }
diff --git a/net/p5-Wais/pkg/COMMENT b/net/p5-Wais/pkg/COMMENT
new file mode 100644
index 00000000000..39cc41f779d
--- /dev/null
+++ b/net/p5-Wais/pkg/COMMENT
@@ -0,0 +1 @@
+perl5 module for accessing WAIS servers.
diff --git a/net/p5-Wais/pkg/DESCR b/net/p5-Wais/pkg/DESCR
new file mode 100644
index 00000000000..7f5f38d4582
--- /dev/null
+++ b/net/p5-Wais/pkg/DESCR
@@ -0,0 +1,4 @@
+This Perl module provides access to the freeWAIS-sf libraries
+for interacting with WAIS servers and accessing local WAIS databases
+maintained by the freeWAIS-sf server. It also contains support routines
+used by SFgate.
diff --git a/net/p5-Wais/pkg/PLIST-md.shared b/net/p5-Wais/pkg/PLIST-md.shared
new file mode 100644
index 00000000000..58422cd2cfa
--- /dev/null
+++ b/net/p5-Wais/pkg/PLIST-md.shared
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST-md.shared,v 1.1.1.1 1999/05/11 14:03:13 bad Exp $
+lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Wais/Wais.bs
+lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Wais/Wais.so
+@dirrm lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Wais
diff --git a/net/p5-Wais/pkg/PLIST-md.static b/net/p5-Wais/pkg/PLIST-md.static
new file mode 100644
index 00000000000..b9c1caf54a5
--- /dev/null
+++ b/net/p5-Wais/pkg/PLIST-md.static
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST-md.static,v 1.1.1.1 1999/05/11 14:03:13 bad Exp $
+lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Wais/Wais.a
+lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Wais/extralibs.ld
+@dirrm lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Wais
diff --git a/net/p5-Wais/pkg/PLIST-mi b/net/p5-Wais/pkg/PLIST-mi
new file mode 100644
index 00000000000..b9f63b043ed
--- /dev/null
+++ b/net/p5-Wais/pkg/PLIST-mi
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST-mi,v 1.1.1.1 1999/05/11 14:03:13 bad Exp $
+bin/inspect
+man/man1/inspect.1
+lib/perl5/man/man3/Wais.3
+lib/perl5/site_perl/Wais.pm
+lib/perl5/site_perl/Wais/Dict.pm
+@dirrm lib/perl5/site_perl/Wais
+lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Wais/.packlist