freebsd-ports/databases/p5-Class-DBI-Loader/Makefile
Adam Weinberger 9e00ce3f62 Some OCD cleanups on some of the perl@ ports.
- Remove dependencies in core
- Put testing depends in TEST_DEPENDS
- Remove unnecessary bsd.port.options.mk inclusions
- Remove checks for Perl versions that no longer exist in the ports tree
- Sort plists, some of which were so jumbled that I have to assume
  the plist was randomized before committing

A lot of the plist changes in this commit are moving PERL5_MAN3 after
SITE_PERL. It's repo churn now, but it makes updating the ports later
far easier.
2015-03-12 23:00:02 +00:00

35 lines
972 B
Makefile

# Created by: mat
# $FreeBSD$
PORTNAME= Class-DBI-Loader
PORTVERSION= 0.34
PORTREVISION= 2
CATEGORIES= databases perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:DMAKI
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Dynamic definition of Class::DBI sub classes
RUN_DEPENDS= p5-Class-DBI>=0.89:${PORTSDIR}/databases/p5-Class-DBI \
p5-DBI>=1.3:${PORTSDIR}/databases/p5-DBI \
p5-Lingua-EN-Inflect>=0:${PORTSDIR}/textproc/p5-Lingua-EN-Inflect
BUILD_DEPENDS:= ${RUN_DEPENDS}
USES= perl5
USE_PERL5= configure
OPTIONS_DEFINE= PGSQL MYSQL SQLITE DOCS
MYSQL_RUN_DEPENDS= p5-Class-DBI-mysql>=0:${PORTSDIR}/databases/p5-Class-DBI-mysql
PGSQL_RUN_DEPENDS= p5-Class-DBI-Pg>=0:${PORTSDIR}/databases/p5-Class-DBI-Pg
SQLITE_RUN_DEPENDS= p5-Class-DBI-SQLite>=0:${PORTSDIR}/databases/p5-Class-DBI-SQLite
PORTDOCS= Changes README
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>