summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-hp200lx-db/Makefile25
-rw-r--r--databases/p5-hp200lx-db/distinfo1
-rw-r--r--databases/p5-hp200lx-db/pkg-comment1
-rw-r--r--databases/p5-hp200lx-db/pkg-descr22
-rw-r--r--databases/p5-hp200lx-db/pkg-plist13
-rw-r--r--palm/Makefile1
7 files changed, 63 insertions, 1 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 6914a3921cf8..6d9137b42782 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -27,6 +27,7 @@
SUBDIR += p5-Mysql
SUBDIR += p5-Pg
SUBDIR += p5-SQL-Statement
+ SUBDIR += p5-hp200lx-db
SUBDIR += pgaccess
SUBDIR += postgresql
SUBDIR += pxtools
diff --git a/databases/p5-hp200lx-db/Makefile b/databases/p5-hp200lx-db/Makefile
new file mode 100644
index 000000000000..a968483c5c68
--- /dev/null
+++ b/databases/p5-hp200lx-db/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: p5-hp200lx-db
+# Version required: 0.07
+# Date created: January 2nd 2000
+# Whom: Gerhard Gonter <g.gonter@ieee.org>
+#
+# $FreeBSD$
+#
+
+DISTNAME= hp200lx-db-0.07
+PKGNAME= p5-hp200lx-db-0.07
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= HP200LX
+
+MAINTAINER= g.gonter@ieee.org
+
+USE_PERL5= YES
+
+# MAN3= HP200LX::DB.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+do-configure:
+ @( cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL )
+
+.include <bsd.port.mk>
diff --git a/databases/p5-hp200lx-db/distinfo b/databases/p5-hp200lx-db/distinfo
new file mode 100644
index 000000000000..a6ca10adf5f4
--- /dev/null
+++ b/databases/p5-hp200lx-db/distinfo
@@ -0,0 +1 @@
+MD5 (hp200lx-db-0.07.tar.gz) = db03e4b26ffe9e86892c46c868c9c31f
diff --git a/databases/p5-hp200lx-db/pkg-comment b/databases/p5-hp200lx-db/pkg-comment
new file mode 100644
index 000000000000..853c6891923d
--- /dev/null
+++ b/databases/p5-hp200lx-db/pkg-comment
@@ -0,0 +1 @@
+Perl5 module to handle HP 200LX palmtop computer databases
diff --git a/databases/p5-hp200lx-db/pkg-descr b/databases/p5-hp200lx-db/pkg-descr
new file mode 100644
index 000000000000..c358cae63c8e
--- /dev/null
+++ b/databases/p5-hp200lx-db/pkg-descr
@@ -0,0 +1,22 @@
+Purpose:
+
+ DB.pm implements the perl package HP200LX::DB which is intended
+ to provide a perl 5 interface for files in the generic database
+ format of the HP 200LX palmtop computer. The perl modules are
+
+USAGE
+
+ use HP200LX::DB;
+
+interface functions
+ $db= HP200LX::DB::openDB ($fnm) read database and return an DB object
+ $db= HP200LX::DB::new ($fnm) create database and return an DB object
+ $db->saveDB ($fnm) save DB object as a (new) file
+
+array tie implementation to access database data records
+ tie (@dbd, HP200LX::DB, $db); access database data in array form
+ TIEARRAY stub to get an tie for the database
+ FETCH retrieve a record
+ STORE store a record
+ $db->get_last_index () return highest index
+
diff --git a/databases/p5-hp200lx-db/pkg-plist b/databases/p5-hp200lx-db/pkg-plist
new file mode 100644
index 000000000000..f79cfe804268
--- /dev/null
+++ b/databases/p5-hp200lx-db/pkg-plist
@@ -0,0 +1,13 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/HP200LX/DB/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/HP200LX/DB.pm
+lib/perl5/site_perl/%%PERL_VER%%/HP200LX/DB/adb.pm
+lib/perl5/site_perl/%%PERL_VER%%/HP200LX/DB/recurrence.pm
+lib/perl5/site_perl/%%PERL_VER%%/HP200LX/DB/tools.pm
+lib/perl5/site_perl/%%PERL_VER%%/HP200LX/DB/vpt.pm
+lib/perl5/site_perl/%%PERL_VER%%/HP200LX/DBgui.pm
+lib/perl5/site_perl/%%PERL_VER%%/HP200LX/DBgui/card.pm
+lib/perl5/site_perl/%%PERL_VER%%/HP200LX/DBgui/list.pm
+lib/perl5/site_perl/%%PERL_VER%%/HP200LX/DBgui/vpt.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/HP200LX/DB
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/HP200LX/DB
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/HP200LX/DBgui
diff --git a/palm/Makefile b/palm/Makefile
index 9447c6c69f8c..d85f801569f5 100644
--- a/palm/Makefile
+++ b/palm/Makefile
@@ -7,7 +7,6 @@
SUBDIR += isilo
SUBDIR += jpilot
SUBDIR += kpilot
- SUBDIR += p5-hp200lx-db
SUBDIR += pilot-link
SUBDIR += pilot_makedoc
SUBDIR += syncal