GDBM_File is part of perl's core, but it is a port, by necessity, since
gdbm is not in OpenBSD proper.
This commit is contained in:
parent
23741bf7ee
commit
e91043c849
30
databases/p5-GDBM_File/Makefile
Normal file
30
databases/p5-GDBM_File/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2006/07/17 23:33:21 espie Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
COMMENT= "perl interface to gdbm"
|
||||
|
||||
DISTNAME= perl-5.8.8
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
PKGNAME= p5-GDBM_File-1.08
|
||||
CATEGORIES= databases perl5
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../src/}
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
LIB_DEPENDS= gdbm::databases/gdbm
|
||||
|
||||
CONFIGURE_STYLE= perl
|
||||
CONFIGURE_ENV=LOCALBASE=${LOCALBASE}
|
||||
|
||||
# we extract only this extension, since otherwise makemaker will detect we
|
||||
# have the sources to perl...
|
||||
|
||||
EXTRACT_CASES= perl-5.8.8.tar.bz2) ${BZIP2} -dc ${FULLDISTDIR}/$$archive | ${TAR} xf - perl-5.8.8/ext/GDBM_File/\*;;
|
||||
|
||||
WRKDIST= ${WRKDIR}/perl-5.8.8/ext/GDBM_File
|
||||
|
||||
.include <bsd.port.mk>
|
4
databases/p5-GDBM_File/distinfo
Normal file
4
databases/p5-GDBM_File/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (perl-5.8.8.tar.bz2) = a377c0c67ab43fd96eeec29ce19e8382
|
||||
RMD160 (perl-5.8.8.tar.bz2) = e78f26d9b96e6db35f946ad4ff55e3a69385c71b
|
||||
SHA1 (perl-5.8.8.tar.bz2) = 4aab490040727ca4419098720eca2ba4367df539
|
||||
SIZE (perl-5.8.8.tar.bz2) = 10123359
|
17
databases/p5-GDBM_File/patches/patch-Makefile_PL
Normal file
17
databases/p5-GDBM_File/patches/patch-Makefile_PL
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-Makefile_PL,v 1.1.1.1 2006/07/17 23:33:21 espie Exp $
|
||||
--- Makefile.PL.orig Tue Jul 18 01:13:15 2006
|
||||
+++ Makefile.PL Tue Jul 18 01:20:14 2006
|
||||
@@ -1,9 +1,11 @@
|
||||
use ExtUtils::MakeMaker;
|
||||
use ExtUtils::Constant 0.11 'WriteConstants';
|
||||
+
|
||||
+my $LOCALBASE=$ENV{'LOCALBASE'};
|
||||
+
|
||||
WriteMakefile(
|
||||
NAME => 'GDBM_File',
|
||||
- LIBS => ["-lgdbm", "-ldbm"],
|
||||
- MAN3PODS => {}, # Pods will be built by installman.
|
||||
+ LIBS => ["-L$LOCALBASE/lib -lgdbm", "-ldbm"],
|
||||
XSPROTOARG => '-noprototypes', # XXX remove later?
|
||||
VERSION_FROM => 'GDBM_File.pm',
|
||||
realclean => {FILES=> 'const-c.inc const-xs.inc'},
|
20
databases/p5-GDBM_File/patches/patch-t_gdbm_t
Normal file
20
databases/p5-GDBM_File/patches/patch-t_gdbm_t
Normal file
@ -0,0 +1,20 @@
|
||||
$OpenBSD: patch-t_gdbm_t,v 1.1.1.1 2006/07/17 23:33:21 espie Exp $
|
||||
--- t/gdbm.t.orig Tue Jul 18 01:27:39 2006
|
||||
+++ t/gdbm.t Tue Jul 18 01:27:51 2006
|
||||
@@ -2,16 +2,6 @@
|
||||
|
||||
# $RCSfile: patch-t_gdbm_t,v $$Revision: 1.1.1.1 $$Date: 2006/07/17 23:33:21 $
|
||||
|
||||
-BEGIN {
|
||||
- chdir 't' if -d 't';
|
||||
- @INC = '../lib';
|
||||
- require Config; import Config;
|
||||
- if ($Config{'extensions'} !~ /\bGDBM_File\b/) {
|
||||
- print "1..0 # Skip: GDBM_File was not built\n";
|
||||
- exit 0;
|
||||
- }
|
||||
-}
|
||||
-
|
||||
use strict;
|
||||
use warnings;
|
||||
|
5
databases/p5-GDBM_File/pkg/DESCR
Normal file
5
databases/p5-GDBM_File/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
GDBM_File is a core module of perl, allowing access to functions in
|
||||
the gdb library.
|
||||
|
||||
In OpenBSD, it is unbundled and presented as a package in the ports
|
||||
tree, since gdbm is not a part of OpenBSD proper.
|
8
databases/p5-GDBM_File/pkg/PLIST
Normal file
8
databases/p5-GDBM_File/pkg/PLIST
Normal file
@ -0,0 +1,8 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/07/17 23:33:21 espie Exp $
|
||||
${P5ARCH}/
|
||||
${P5ARCH}/GDBM_File.pm
|
||||
${P5ARCH}/auto/
|
||||
${P5ARCH}/auto/GDBM_File/
|
||||
${P5ARCH}/auto/GDBM_File/GDBM_File.bs
|
||||
${P5ARCH}/auto/GDBM_File/GDBM_File.so
|
||||
@man man/man3p/GDBM_File.3p
|
Loading…
Reference in New Issue
Block a user