summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2002-03-10 21:47:41 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2002-03-10 21:47:41 +0000
commit168bc098ead79156280c8e78097a41ae769ae4fd (patch)
treea30de7096b004be1cffe2b382ca2d3345b16cef5
parentCorrect typo. (diff)
New port: A Perl module for developing Z39.50 servers
Notes
Notes: svn path=/head/; revision=55826
-rw-r--r--net/Makefile1
-rw-r--r--net/p5-Net-Z3950-SimpleServer/Makefile24
-rw-r--r--net/p5-Net-Z3950-SimpleServer/distinfo1
-rw-r--r--net/p5-Net-Z3950-SimpleServer/files/patch-Makefile.PL9
-rw-r--r--net/p5-Net-Z3950-SimpleServer/pkg-comment1
-rw-r--r--net/p5-Net-Z3950-SimpleServer/pkg-descr19
-rw-r--r--net/p5-Net-Z3950-SimpleServer/pkg-plist12
7 files changed, 67 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index a5c264b77e4e..1f8e2bf0cd74 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -327,6 +327,7 @@
SUBDIR += p5-Net-Whois
SUBDIR += p5-Net-XWhois
SUBDIR += p5-Net-Z3950
+ SUBDIR += p5-Net-Z3950-SimpleServer
SUBDIR += p5-Net-ext
SUBDIR += p5-NetAddr-IP
SUBDIR += p5-NetAddr-IP-Count
diff --git a/net/p5-Net-Z3950-SimpleServer/Makefile b/net/p5-Net-Z3950-SimpleServer/Makefile
new file mode 100644
index 000000000000..12ca09d4a601
--- /dev/null
+++ b/net/p5-Net-Z3950-SimpleServer/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: p5-Net-Z3950-SimpleServer
+# Date created: 12 March 2002
+# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net-Z3950-SimpleServer
+PORTVERSION= 0.05
+CATEGORIES= net perl5
+MASTER_SITES= http://ftp.indexdata.dk/pub/simpleserver/
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= demon@FreeBSD.org
+
+LIB_DEPENDS= yaz.1:${PORTSDIR}/net/yaz
+
+PERL_CONFIGURE= yes
+CONFIGURE_ENV+= LOCALBASE=${LOCALBASE}
+
+MAN3= Net::Z3950::GRS1.3 Net::Z3950::SimpleServer.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/net/p5-Net-Z3950-SimpleServer/distinfo b/net/p5-Net-Z3950-SimpleServer/distinfo
new file mode 100644
index 000000000000..7b9397bf06d6
--- /dev/null
+++ b/net/p5-Net-Z3950-SimpleServer/distinfo
@@ -0,0 +1 @@
+MD5 (Net-Z3950-SimpleServer-0.05.tar.gz) = 96c2a0b5d04eb9dbef001824e78197f7
diff --git a/net/p5-Net-Z3950-SimpleServer/files/patch-Makefile.PL b/net/p5-Net-Z3950-SimpleServer/files/patch-Makefile.PL
new file mode 100644
index 000000000000..c8281f125513
--- /dev/null
+++ b/net/p5-Net-Z3950-SimpleServer/files/patch-Makefile.PL
@@ -0,0 +1,9 @@
+--- Makefile.PL.orig Mon Mar 11 00:22:20 2002
++++ Makefile.PL Mon Mar 11 00:22:34 2002
+@@ -9,5 +9,5 @@
+ 'VERSION_FROM' => 'SimpleServer.pm', # finds $VERSION
+ 'LIBS' => [$libs], # e.g., '-lm'
+ 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
+- 'INC' => '', # e.g., '-I/usr/include/other'
++ 'INC' => '-I${LOCALBASE}/include', # e.g., '-I/usr/include/other'
+ );
diff --git a/net/p5-Net-Z3950-SimpleServer/pkg-comment b/net/p5-Net-Z3950-SimpleServer/pkg-comment
new file mode 100644
index 000000000000..bd01436c415d
--- /dev/null
+++ b/net/p5-Net-Z3950-SimpleServer/pkg-comment
@@ -0,0 +1 @@
+A Perl module for developing Z39.50 servers
diff --git a/net/p5-Net-Z3950-SimpleServer/pkg-descr b/net/p5-Net-Z3950-SimpleServer/pkg-descr
new file mode 100644
index 000000000000..b9d9497933a6
--- /dev/null
+++ b/net/p5-Net-Z3950-SimpleServer/pkg-descr
@@ -0,0 +1,19 @@
+SimpleServer is a Perl module which is intended to make it as simple as
+possible to develop new Z39.50 servers over any type of database
+imaginable. All you have to do is implement a function for initialising your
+database (optional), searching the database, and returning "database
+records" on request. The module takes care of everything else and
+automatically starts a server for you, listens to incoming connections,
+and implements the Z39.50 protocol. It couldn't really be easier.
+
+SimpleServer is based on the popular YAZ toolkit which means it is
+robust, efficient, widely portable, and it interoperates with all known
+Z39.50 clients.
+
+Use SimpleServer together with other Perl modules to provide gateways
+to relational databases, local file stores, SOAP/RDF-servers, etc.
+
+SimpleServer currently supports the Init, Search, Present, Scan and
+Close services.
+
+WWW: http://www.indexdata.dk/simpleserver/
diff --git a/net/p5-Net-Z3950-SimpleServer/pkg-plist b/net/p5-Net-Z3950-SimpleServer/pkg-plist
new file mode 100644
index 000000000000..c1e2b7b9f1c1
--- /dev/null
+++ b/net/p5-Net-Z3950-SimpleServer/pkg-plist
@@ -0,0 +1,12 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Z3950/SimpleServer/SimpleServer.bs
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Z3950/SimpleServer/SimpleServer.so
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Z3950/SimpleServer/autosplit.ix
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Z3950/SimpleServer/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/Z3950/GRS1.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/Z3950/OID.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/Z3950/SimpleServer.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/Z3950/grs_test.pl
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/Z3950/ztest.pl
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Z3950/SimpleServer
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Z3950
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net/Z3950