1996-10-24 01:52:52 +02:00
|
|
|
# New ports collection makefile for: p5-DBI
|
|
|
|
# Date created: October 17th 1996
|
|
|
|
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
|
|
|
|
#
|
1999-08-25 07:28:01 +02:00
|
|
|
# $FreeBSD$
|
1996-10-24 01:52:52 +02:00
|
|
|
#
|
|
|
|
|
2000-06-17 04:37:15 +02:00
|
|
|
PORTNAME= DBI
|
2007-02-24 12:10:00 +01:00
|
|
|
PORTVERSION= 1.54
|
1997-04-20 15:53:29 +02:00
|
|
|
CATEGORIES= databases perl5
|
1996-11-17 04:18:45 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= DBI
|
2000-06-17 04:37:15 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
1996-10-24 01:52:52 +02:00
|
|
|
|
2004-10-15 18:35:45 +02:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= The perl5 Database Interface. Required for DBD::* modules
|
1998-08-18 04:51:16 +02:00
|
|
|
|
2006-08-14 20:34:26 +02:00
|
|
|
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2005-12-19 21:17:03 +01:00
|
|
|
|
|
|
|
.if defined(WITH_PROXY)
|
2006-08-14 20:34:26 +02:00
|
|
|
RUN_DEPENDS+= ${SITE_PERL}/RPC/PlServer.pm:${PORTSDIR}/net/p5-PlRPC
|
2003-05-19 07:27:22 +02:00
|
|
|
.endif
|
1996-10-24 01:52:52 +02:00
|
|
|
|
2004-05-18 13:21:45 +02:00
|
|
|
CONFLICTS= p5-DBI-1.3*
|
2001-03-01 07:39:18 +01:00
|
|
|
PERL_CONFIGURE= yes
|
1998-10-12 06:04:28 +02:00
|
|
|
|
2003-03-04 16:40:40 +01:00
|
|
|
MAN1= dbiprof.1 \
|
|
|
|
dbiproxy.1
|
1999-02-20 11:59:16 +01:00
|
|
|
MAN3= Bundle::DBI.3 \
|
2004-05-07 03:14:20 +02:00
|
|
|
DBD::DBM.3 \
|
|
|
|
DBD::File.3 \
|
2007-02-24 12:10:00 +01:00
|
|
|
DBD::Gofer.3 \
|
|
|
|
DBD::Gofer::Policy::Base.3 \
|
|
|
|
DBD::Gofer::Policy::classic.3 \
|
|
|
|
DBD::Gofer::Policy::pedantic.3 \
|
|
|
|
DBD::Gofer::Policy::rush.3 \
|
|
|
|
DBD::Gofer::Transport::Base.3 \
|
|
|
|
DBD::Gofer::Transport::http.3 \
|
|
|
|
DBD::Gofer::Transport::null.3 \
|
|
|
|
DBD::Gofer::Transport::pipeone.3 \
|
|
|
|
DBD::Gofer::Transport::stream.3 \
|
1999-02-20 11:59:16 +01:00
|
|
|
DBD::Proxy.3 \
|
2003-10-29 21:38:51 +01:00
|
|
|
DBD::Sponge.3 \
|
1998-08-18 04:51:16 +02:00
|
|
|
DBI.3 \
|
2002-06-15 15:21:23 +02:00
|
|
|
DBI::Const::GetInfo::ANSI.3 \
|
|
|
|
DBI::Const::GetInfo::ODBC.3 \
|
|
|
|
DBI::Const::GetInfoReturn.3 \
|
|
|
|
DBI::Const::GetInfoType.3 \
|
1998-08-18 04:51:16 +02:00
|
|
|
DBI::DBD.3 \
|
2003-03-04 16:40:40 +01:00
|
|
|
DBI::DBD::Metadata.3 \
|
1998-08-18 04:51:16 +02:00
|
|
|
DBI::FAQ.3 \
|
2007-02-24 12:10:00 +01:00
|
|
|
DBI::Gofer::Execute.3 \
|
|
|
|
DBI::Gofer::Request.3 \
|
|
|
|
DBI::Gofer::Response.3 \
|
|
|
|
DBI::Gofer::Transport::Base.3 \
|
|
|
|
DBI::Gofer::Transport::mod_perl.3 \
|
|
|
|
DBI::Gofer::Transport::pipeone.3 \
|
|
|
|
DBI::Gofer::Transport::stream.3 \
|
2002-06-15 15:21:23 +02:00
|
|
|
DBI::Profile.3 \
|
2003-02-24 08:11:55 +01:00
|
|
|
DBI::ProfileData.3 \
|
|
|
|
DBI::ProfileDumper.3 \
|
|
|
|
DBI::ProfileDumper::Apache.3 \
|
2006-08-14 20:34:26 +02:00
|
|
|
DBI::ProfileSubs.3 \
|
1998-08-18 04:51:16 +02:00
|
|
|
DBI::ProxyServer.3 \
|
2002-06-15 15:21:23 +02:00
|
|
|
DBI::PurePerl.3 \
|
2004-05-07 03:14:20 +02:00
|
|
|
DBI::SQL::Nano.3 \
|
1999-10-23 10:28:46 +02:00
|
|
|
DBI::W32ODBC.3 \
|
2004-10-15 18:35:45 +02:00
|
|
|
Roadmap.3 \
|
2006-11-23 03:35:52 +01:00
|
|
|
TASKS.3 \
|
1999-10-23 10:28:46 +02:00
|
|
|
Win32::DBIODBC.3
|
1997-04-20 23:26:49 +02:00
|
|
|
|
2003-05-19 07:27:22 +02:00
|
|
|
.if !defined(WITH_PROXY)
|
|
|
|
pre-everything::
|
|
|
|
@${ECHO_CMD} "If you need DBI::Proxy, try to set WITH_PROXY."
|
|
|
|
@${ECHO_CMD} ""
|
|
|
|
@sleep 1
|
|
|
|
.endif
|
|
|
|
|
2004-11-17 12:26:08 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2006-11-23 03:35:52 +01:00
|
|
|
PORTDOCS= Changes README
|
2004-11-17 12:26:08 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
|
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
|
|
|
.endif
|
|
|
|
|
2003-09-03 14:21:26 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PERL_LEVEL} < 500600
|
2005-12-19 21:17:03 +01:00
|
|
|
IGNORE= requires newer Perl, but you can use databases/p5-DBI-137 instead
|
2003-09-03 14:21:26 +02:00
|
|
|
.endif
|
2007-02-24 12:10:00 +01:00
|
|
|
.if ${PERL_LEVEL} < 500800
|
|
|
|
EXTRA_DEPENDS= p5-Time-HiRes>0:${PORTSDIR}/devel/p5-Time-HiRes \
|
|
|
|
p5-Scalar-List-Utils>0:${PORTSDIR}/lang/p5-Scalar-List-Utils
|
|
|
|
BUILD_DEPENDS+= ${EXTRA_DEPENDS}
|
|
|
|
RUN_DEPENDS+= ${EXTRA_DEPENDS}
|
|
|
|
.endif
|
2003-09-03 14:21:26 +02:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|