mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Add p5-DBD-XBase, providing access to XBase (dBase, Fox*) database files,
namely dbf, dbt, fpt, ndx, ntx, mdx, idx and cdx. PR: 21167 Submitted by: Ilia Chipitsine <ilia@jane.cgu.chel.su>
This commit is contained in:
parent
df90176363
commit
e40e2d85f6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32870
6 changed files with 64 additions and 0 deletions
|
@ -28,6 +28,7 @@
|
|||
SUBDIR += mysqltcl
|
||||
SUBDIR += p5-DBD-CSV
|
||||
SUBDIR += p5-DBD-Pg
|
||||
SUBDIR += p5-DBD-XBase
|
||||
SUBDIR += p5-DBI
|
||||
SUBDIR += p5-DBZ_File
|
||||
SUBDIR += p5-GDBM
|
||||
|
|
37
databases/p5-DBD-XBase/Makefile
Normal file
37
databases/p5-DBD-XBase/Makefile
Normal file
|
@ -0,0 +1,37 @@
|
|||
# New ports collection makefile for: p5-DBD-XBase
|
||||
# Date created: 10th September 2000
|
||||
# Whom: Ilia Chipitsine <ilia@jane.cgu.chel.su>
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= DBD-XBase
|
||||
PORTVERSION= 0.161
|
||||
CATEGORIES= databases perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= DBD
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= ilia@cgu.chel.su
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
|
||||
|
||||
USE_PERL5= yes
|
||||
|
||||
GZIP= -9
|
||||
|
||||
MAN1= dbfdump.1 indexdump.1
|
||||
|
||||
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||
MAN3= XBase::FAQ.3 XBase::Memo.3 XBase::Index.3 XBase.3 \
|
||||
DBD::XBase.3 XBase::Base.3
|
||||
|
||||
do-configure:
|
||||
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
|
||||
|
||||
post-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/bin/dbfdump ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/bin/indexdump ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/blib/man1/dbfdump.1 ${PREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/blib/man1/indexdump.1 ${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
1
databases/p5-DBD-XBase/distinfo
Normal file
1
databases/p5-DBD-XBase/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (DBD-XBase-0.161.tar.gz) = 35b132285b3c319115fe09ff6d4910e8
|
1
databases/p5-DBD-XBase/pkg-comment
Normal file
1
databases/p5-DBD-XBase/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
Provides access to XBase (dBase, Fox*) database files through DBI
|
13
databases/p5-DBD-XBase/pkg-descr
Normal file
13
databases/p5-DBD-XBase/pkg-descr
Normal file
|
@ -0,0 +1,13 @@
|
|||
Module XBase provides access to XBase (dBase, Fox*) database files,
|
||||
namely dbf, dbt, fpt, ndx, ntx, mdx, idx and cdx. It provides native
|
||||
Perl interface ($table->get_record, $table->update_record) to read
|
||||
and write the tables. The index support is alpha and read only at the
|
||||
moment.
|
||||
|
||||
Module DBD::XBase is a DBI driver that uses the XBase module
|
||||
to work with the data, providing you with DBI compliant processing
|
||||
interface and SQL commands ($dbh->prepare("SELECT * FROM TABLE")). As
|
||||
an argument to DBI->connect, specify "dbi:XBase:$dir", where $dir is
|
||||
the directory with the data files.
|
||||
|
||||
Jan Pazdziora, adelton@fi.muni.cz
|
11
databases/p5-DBD-XBase/pkg-plist
Normal file
11
databases/p5-DBD-XBase/pkg-plist
Normal file
|
@ -0,0 +1,11 @@
|
|||
bin/dbfdump
|
||||
bin/indexdump
|
||||
lib/perl5/site_perl/%%PERL_VER%%/XBase.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/XBase/Base.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/XBase/FAQ.pod
|
||||
lib/perl5/site_perl/%%PERL_VER%%/XBase/Index.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/XBase/Memo.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/XBase/SQL.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XBase/.packlist
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XBase
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/XBase
|
Loading…
Add table
Reference in a new issue