openbsd-ports/databases/p5-DBD-mysql/Makefile
dassow fb53cc85da cpanify, change license to 'Perl' and switch to SHARED_ONLY.
as the tests fail without a running mysqld instance set
REGRESS_IS_INTERACTIVE=Yes

ok steven@
2006-12-14 18:48:35 +00:00

31 lines
751 B
Makefile

# $OpenBSD: Makefile,v 1.15 2006/12/14 18:48:35 dassow Exp $
SHARED_ONLY= Yes
COMMENT= 'MySQL drivers for the Perl DBI'
DISTNAME= DBD-mysql-3.0008
PKGNAME= p5-${DISTNAME}
CATEGORIES= databases
MODULES= cpan
# Perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= crypto m ssl z
BUILD_DEPENDS= :p5-DBI->=1.08:databases/p5-DBI
RUN_DEPENDS= :p5-DBI->=1.08:databases/p5-DBI
LIB_DEPENDS= lib/mysql/mysqlclient.>=10::databases/mysql
REGRESS_DEPENDS= :mysql-server-*:databases/mysql,-server
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>