freebsd-ports/databases/p5-Class-DBI-Loader/Makefile
Mathieu Arnold c7861f0a67 Add a missing dependency
Submitted by:	Matt Adams <matt.adams@morcor.com>
2005-01-13 20:46:09 +00:00

52 lines
1.4 KiB
Makefile

# New ports collection makefile for: p5-Class-DBI-Loader
# Date created: 21 july 2003
# Whom: mat
#
# $FreeBSD$
#
PORTNAME= Class-DBI-Loader
PORTVERSION= 0.11
PORTREVISION= 1
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Class
PKGNAMEPREFIX= p5-
MAINTAINER= mat@FreeBSD.org
COMMENT= Dynamic definition of Class::DBI sub classes
BUILD_DEPENDS= ${RUN_DEPENDS} \
${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
RUN_DEPENDS= ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI \
${SITE_PERL}/Lingua/EN/Inflect.pm:${PORTSDIR}/textproc/p5-Lingua-EN-Inflect
PERL_CONFIGURE= yes
MAN3= Class::DBI::Loader.3 \
Class::DBI::Loader::Generic.3 \
Class::DBI::Loader::Pg.3 \
Class::DBI::Loader::SQLite.3 \
Class::DBI::Loader::mysql.3
.if !defined(NOPORTDOCS)
PORTDOCS= Changes README
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} < 500600
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
.else
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
.endif
.include <bsd.port.post.mk>