openbsd-ports/databases/p5-Class-DBI-mysql/Makefile
2013-03-11 02:52:04 +00:00

27 lines
565 B
Makefile

# $OpenBSD: Makefile,v 1.11 2013/03/11 02:52:06 espie Exp $
COMMENT= extensions to Class::DBI for MySQL
MODULES= cpan
DISTNAME= Class-DBI-mysql-1.00
REVISION= 1
CATEGORIES= databases
USE_GROFF = Yes
MAINTAINER= Sam Smith <S@msmith.net>
# Same as Perl
PERMIT_PACKAGE_CDROM= Yes
RUN_DEPENDS= databases/p5-Class-DBI \
databases/p5-DBD-mysql
TEST_DEPENDS= databases/mysql,-server
TEST_IS_INTERACTIVE=Yes
pre-test:
@mysqladmin ping >/dev/null 2>&1 || (echo 'mysql needs to be running'; exit 1)
-@mysqladmin create test >/dev/null 2>&1
.include <bsd.port.mk>