Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Jul 2010 21:33:35 +0200
From:      Kurt Jaeger <fbsd-ports@opsec.eu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/148331: A DBI driver for the Cego database for Perl 5
Message-ID:  <E1OUlzT-000JdU-Uz@fa8.opsec.eu>
Resent-Message-ID: <201007021940.o62Je1tl076764@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         148331
>Category:       ports
>Synopsis:       A DBI driver for the Cego database for Perl 5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 02 19:40:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Kurt Jaeger
>Release:        FreeBSD 8.0-RELEASE-p3 amd64
>Organization:
-
>Environment:
System: FreeBSD fa8.opsec.eu 8.0-RELEASE-p3 FreeBSD 8.0-RELEASE-p3 #0: Tue May 25 20:54:11 UTC 2010 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64


>Description:
	A DBI driver for the Cego database for Perl 5
>How-To-Repeat:
	
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-DBD-cego
#	p5-DBD-cego/Makefile
#	p5-DBD-cego/pkg-descr
#	p5-DBD-cego/distinfo
#	p5-DBD-cego/files
#	p5-DBD-cego/files/patch-makefile-pl
#	p5-DBD-cego/pkg-plist
#
echo c - p5-DBD-cego
mkdir -p p5-DBD-cego > /dev/null 2>&1
echo x - p5-DBD-cego/Makefile
sed 's/^X//' >p5-DBD-cego/Makefile << '3ea606a3cabc54bd4b946bea94c1a5b3'
X# New ports collection makefile for:	p5-DBD-cego
X# Date created:				Jul  2, 2010
X# Whom:					Kurt Jaeger <fbsd-ports@opsec.eu>
X#
X# $FreeBSD$
X
XPORTNAME=	DBD-cego
XPORTVERSION=	1.1.9
XCATEGORIES=	databases perl5
XMASTER_SITES=	http://www.lemke-it.com/
XPKGNAMEPREFIX=	p5-
XDISTNAME=	DBD-cego-${PORTVERSION}
X
XMAINTAINER=	fbsd-ports@opsec.eu
XCOMMENT=	A Cego DBI driver for Perl 5
X
XBUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/cego
XRUN_DEPENDS=	${BUILD_DEPENDS}
XLIB_DEPENDS=	cego.1:${PORTSDIR}/databases/cego
X
XLICENSE=	GPLv2
XWRKSRC=		${WRKDIR}/DBD-cego
XPERL_CONFIGURE=		yes
XCC=			g++
X
X.include <bsd.port.mk>
3ea606a3cabc54bd4b946bea94c1a5b3
echo x - p5-DBD-cego/pkg-descr
sed 's/^X//' >p5-DBD-cego/pkg-descr << 'daf9043f6cb0065f846ccd27ec24bff3'
XA DBI driver for the Cego database for Perl 5
X
XMany more details are available at:
X
XWWW: http://www.lemke-it.com/
daf9043f6cb0065f846ccd27ec24bff3
echo x - p5-DBD-cego/distinfo
sed 's/^X//' >p5-DBD-cego/distinfo << '3bb74ae1aa80612a564f127d7893a43e'
XMD5 (DBD-cego-1.1.9.tar.gz) = 4c220989e07557873b7ce3e67420897f
XSHA256 (DBD-cego-1.1.9.tar.gz) = 21a9c28961a9c84716220959c9bde77de3a45344f1cc53e51a732adc43ceda84
XSIZE (DBD-cego-1.1.9.tar.gz) = 23577
3bb74ae1aa80612a564f127d7893a43e
echo c - p5-DBD-cego/files
mkdir -p p5-DBD-cego/files > /dev/null 2>&1
echo x - p5-DBD-cego/files/patch-makefile-pl
sed 's/^X//' >p5-DBD-cego/files/patch-makefile-pl << '4b33a43310aecbccc9a0623e8cdf1296'
X--- Makefile.PL	2010-07-02 21:08:00.000000000 +0200
X+++ Makefile.PL-new	2010-07-02 21:19:41.000000000 +0200
X@@ -29,24 +29,16 @@
X     "verbose",
X     ) || die Usage();
X 
X-if (! exists $opt->{'prefix'}) 
X-{
X-  print "Missing prefix, use option --prefix\n"; 
X-  die Usage();
X-}
X-
X use vars qw($loadlibs);
X-$loadlibs= "-L" . $opt->{'prefix'} . " -lBase";
X+$loadlibs= " -lBase";
X 
X WriteMakefile(
X     'NAME'          => 'DBD::Cego',
X     'VERSION_FROM'  => 'Cego.pm',
X     'PREREQ_PM'     => {DBI => 1.03},
X     'OBJECT'        => '$(O_FILES)',
X-    'INC'           => '-I$(DBI_INSTARCH_DIR) -I' . $opt->{'prefix'} . '/include',
X-    'MYEXTLIB'    => $opt->{'prefix'} . "/lib/libcego.a " 
X-	      . $opt->{'prefix'} . "/lib/libXML.a " 
X-	      . $opt->{'prefix'} . "/lib/libBase.a",
X+    'INC'           => '-I$(DBI_INSTARCH_DIR) -I/usr/local/include',
X+    'MYEXTLIB'    => " -lcego -lXML -lBase ",
X     "CC" => "g++",
X     "LD" => "g++",
X     "XSPROTOARG" => "-noprototypes",
X@@ -58,12 +50,7 @@
X 
X sub Usage {
X   print STDERR <<"USAGE";
X-Usage: perl $0 [options]
X-
X-Possible options are:
X-
X-  --prefix=<prefix path>       Use <prefix> for setting up the appropriate prefix path
X-                               to find cego libs and includes
X+Usage: perl $0
X 
X USAGE
X   exit 1;
4b33a43310aecbccc9a0623e8cdf1296
echo x - p5-DBD-cego/pkg-plist
sed 's/^X//' >p5-DBD-cego/pkg-plist << 'a73c5c2ea256fac8c9767305a09eded8'
Xlib/perl5/5.10.1/man/man3/DBD::Cego.3.gz
Xlib/perl5/site_perl/5.10.1/mach/DBD/Cego.pm
Xlib/perl5/site_perl/5.10.1/mach/auto/DBD/Cego/.packlist
Xlib/perl5/site_perl/5.10.1/mach/auto/DBD/Cego/Cego.bs
Xlib/perl5/site_perl/5.10.1/mach/auto/DBD/Cego/Cego.so
X@dirrm lib/perl5/site_perl/5.10.1/mach/auto/DBD/Cego
X@dirrm lib/perl5/site_perl/5.10.1/mach/auto/DBD
X@dirrm lib/perl5/site_perl/5.10.1/mach/auto
X@dirrm lib/perl5/site_perl/5.10.1/mach/DBD
X@dirrm lib/perl5/site_perl/5.10.1/mach
X@dirrm lib/perl5/site_perl/5.10.1
X@dirrm lib/perl5/site_perl
X@dirrm lib/perl5/5.10.1/man/man3
X@dirrm lib/perl5/5.10.1/man
X@dirrm lib/perl5/5.10.1
X@dirrm lib/perl5
a73c5c2ea256fac8c9767305a09eded8
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1OUlzT-000JdU-Uz>