freebsd-ports/databases/p5-Class-DBI-SQLite/Makefile
2005-08-29 15:48:13 +00:00

44 lines
1.2 KiB
Makefile

# New ports collection makefile for: p5-Class-DBI-SQLite
# Date created: 22 july 2003
# Whom: Mathieu Arnold <m@absolight.net>
#
# $FreeBSD$
#
PORTNAME= Class-DBI-SQLite
PORTVERSION= 0.10
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Class
PKGNAMEPREFIX= p5-
MAINTAINER= mat@FreeBSD.org
COMMENT= Extension to Class::DBI for sqlite
RUN_DEPENDS= ${SITE_PERL}/Ima/DBI.pm:${PORTSDIR}/databases/p5-Ima-DBI \
${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI \
${SITE_PERL}/${PERL_ARCH}/DBD/SQLite.pm:${PORTSDIR}/databases/p5-DBD-SQLite \
${SITE_PERL}/SQL/Parser.pm:${PORTSDIR}/databases/p5-SQL-Statement
BUILD_DEPENDS= ${RUN_DEPENDS} \
${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
PERL_CONFIGURE= yes
MAN3= Class::DBI::SQLite.3
.if !defined(NOPORTDOCS)
PORTDOCS= Changes
post-install:
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} <= 500503
IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again
.endif
.include <bsd.port.post.mk>