2013-08-02 18:52:07 +00:00
|
|
|
# Created by: mat
|
2003-08-20 08:47:10 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= Class-DBI-Loader
|
2007-04-25 20:03:21 +00:00
|
|
|
PORTVERSION= 0.34
|
2009-12-02 22:53:10 +00:00
|
|
|
PORTREVISION= 1
|
2003-08-20 08:47:10 +00:00
|
|
|
CATEGORIES= databases perl5
|
2007-04-25 20:03:21 +00:00
|
|
|
MASTER_SITES= CPAN
|
2011-06-20 08:37:15 +00:00
|
|
|
MASTER_SITE_SUBDIR= CPAN:DMAKI
|
2003-08-20 08:47:10 +00:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2009-08-16 09:22:05 +00:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2003-08-20 08:47:10 +00:00
|
|
|
COMMENT= Dynamic definition of Class::DBI sub classes
|
|
|
|
|
2006-06-02 13:50:42 +00:00
|
|
|
RUN_DEPENDS= p5-Class-DBI>=0.89:${PORTSDIR}/databases/p5-Class-DBI \
|
2009-12-02 22:53:10 +00:00
|
|
|
p5-DBI>=1.3:${PORTSDIR}/databases/p5-DBI \
|
|
|
|
p5-Lingua-EN-Inflect>=0:${PORTSDIR}/textproc/p5-Lingua-EN-Inflect
|
2012-06-10 18:42:48 +00:00
|
|
|
BUILD_DEPENDS:= ${RUN_DEPENDS}
|
2003-08-20 08:47:10 +00:00
|
|
|
|
2013-08-02 18:52:07 +00:00
|
|
|
USES= perl5
|
|
|
|
USE_PERL5= configure
|
2003-08-20 08:47:10 +00:00
|
|
|
|
2012-05-31 11:19:32 +00:00
|
|
|
OPTIONS_DEFINE= PGSQL MYSQL SQLITE DOCS
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2013-10-22 16:57:44 +00:00
|
|
|
PORTDOCS= Changes README
|
2004-11-16 16:50:33 +00:00
|
|
|
|
|
|
|
post-install:
|
2013-11-03 06:53:54 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
2004-11-16 16:50:33 +00:00
|
|
|
.endif
|
|
|
|
|
2012-05-31 11:19:32 +00:00
|
|
|
.if ${PORT_OPTIONS:MPGSQL}
|
2009-12-02 22:53:10 +00:00
|
|
|
RUN_DEPENDS+= p5-Class-DBI-Pg>=0:${PORTSDIR}/databases/p5-Class-DBI-Pg
|
2006-05-19 07:36:08 +00:00
|
|
|
.endif
|
2012-05-31 11:19:32 +00:00
|
|
|
.if ${PORT_OPTIONS:MMYSQL}
|
2009-12-02 22:53:10 +00:00
|
|
|
RUN_DEPENDS+= p5-Class-DBI-mysql>=0:${PORTSDIR}/databases/p5-Class-DBI-mysql
|
2006-05-19 07:36:08 +00:00
|
|
|
.endif
|
2012-05-31 11:19:32 +00:00
|
|
|
.if ${PORT_OPTIONS:MSQLITE}
|
2009-12-02 22:53:10 +00:00
|
|
|
RUN_DEPENDS+= p5-Class-DBI-SQLite>=0:${PORTSDIR}/databases/p5-Class-DBI-SQLite
|
2006-05-19 07:36:08 +00:00
|
|
|
.endif
|
|
|
|
|
2012-05-31 11:19:32 +00:00
|
|
|
.include <bsd.port.mk>
|