openbsd-ports/databases/p5-DBD-mysql/Makefile
2012-09-14 16:10:21 +00:00

35 lines
759 B
Makefile

# $OpenBSD: Makefile,v 1.33 2012/09/14 16:10:21 giovanni Exp $
SHARED_ONLY= Yes
COMMENT= MySQL drivers for the Perl DBI
DISTNAME= DBD-mysql-4.022
CATEGORIES= databases
MAINTAINER= Giovanni Bechis <giovanni@openbsd.org>
MODULES= cpan
# Perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c crypto m ssl z
BUILD_DEPENDS= databases/p5-DBI>=1.08
RUN_DEPENDS= databases/p5-DBI>=1.08
LIB_DEPENDS= databases/mysql
REGRESS_DEPENDS= databases/mysql,-server
WANTLIB += lib/mysql/mysqlclient>=10
REGRESS_IS_INTERACTIVE= Yes
pre-regress:
@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>