summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-09-04 12:11:00 +0000
committerobache <obache@pkgsrc.org>2008-09-04 12:11:00 +0000
commite71f03f9a7835d379d1f8465ac516cb97c2006cb (patch)
treeb22988597bc292b703d379aa9087d8b5e84aba71 /databases
parentf0ee1bc675581ba0ab9d015c5db38a04c3d249bd (diff)
downloadpkgsrc-e71f03f9a7835d379d1f8465ac516cb97c2006cb.tar.gz
Import p5-tokyocabinet-1.16 as databases/p5-tokyocabinet.
Tokyo Cabinet is a library of routines for managing a database. The database is a simple data file containing records, each is a pair of a key and a value. Every key and value is serial bytes with variable length. Both binary data and character string can be used as a key and a value. There is neither concept of data tables nor data types. Records are organized in hash table, B+ tree, or fixed-length array. This package provides Perl binding of Tokyo Cabinet.
Diffstat (limited to 'databases')
-rw-r--r--databases/p5-tokyocabinet/DESCR8
-rw-r--r--databases/p5-tokyocabinet/Makefile27
-rw-r--r--databases/p5-tokyocabinet/PLIST3
-rw-r--r--databases/p5-tokyocabinet/distinfo5
4 files changed, 43 insertions, 0 deletions
diff --git a/databases/p5-tokyocabinet/DESCR b/databases/p5-tokyocabinet/DESCR
new file mode 100644
index 00000000000..f05541e14f0
--- /dev/null
+++ b/databases/p5-tokyocabinet/DESCR
@@ -0,0 +1,8 @@
+Tokyo Cabinet is a library of routines for managing a database. The database is
+a simple data file containing records, each is a pair of a key and a value.
+Every key and value is serial bytes with variable length. Both binary data and
+character string can be used as a key and a value. There is neither concept of
+data tables nor data types. Records are organized in hash table, B+ tree, or
+fixed-length array.
+
+This package provides Perl binding of Tokyo Cabinet.
diff --git a/databases/p5-tokyocabinet/Makefile b/databases/p5-tokyocabinet/Makefile
new file mode 100644
index 00000000000..fe579e2ee5c
--- /dev/null
+++ b/databases/p5-tokyocabinet/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/09/04 12:11:00 obache Exp $
+#
+
+DISTNAME= tokyocabinet-perl-1.16
+PKGNAME= p5-${DISTNAME:S/-perl//}
+CATEGORIES= databases
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tokyocabinet/}
+
+MAINTAINER= obache@NetBSD.org
+HOMEPAGE= http://tokyocabinet.sourceforge.net/perldoc/
+COMMENT= Perl binding of Tokyo Cabinet
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PERL5_PACKLIST= auto/TokyoCabinet/.packlist
+
+REPLACE_PERL= *.pl
+
+INSTALLATION_DIRS+= share/tokyocabinet/doc/perl
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/doc/index.html \
+ ${DESTDIR}${PREFIX}/share/tokyocabinet/doc/perl/index.html
+
+.include "../../databases/tokyocabinet/buildlink3.mk"
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/p5-tokyocabinet/PLIST b/databases/p5-tokyocabinet/PLIST
new file mode 100644
index 00000000000..da51d56cf1e
--- /dev/null
+++ b/databases/p5-tokyocabinet/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/09/04 12:11:00 obache Exp $
+share/tokyocabinet/doc/perl/index.html
+@dirrm share/tokyocabinet/doc/perl
diff --git a/databases/p5-tokyocabinet/distinfo b/databases/p5-tokyocabinet/distinfo
new file mode 100644
index 00000000000..d35010df426
--- /dev/null
+++ b/databases/p5-tokyocabinet/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/09/04 12:11:00 obache Exp $
+
+SHA1 (tokyocabinet-perl-1.16.tar.gz) = 9c1f1b3c1096b80a7583e29a7ce3d1e6250f1a2d
+RMD160 (tokyocabinet-perl-1.16.tar.gz) = 723ff58912b884ed9cae56565212c87528cedfd3
+Size (tokyocabinet-perl-1.16.tar.gz) = 32480 bytes