openbsd-ports/databases/p5-DBD-mysql/Makefile

32 lines
669 B
Makefile
Raw Normal View History

2013-03-10 22:52:04 -04:00
# $OpenBSD: Makefile,v 1.34 2013/03/11 02:52:06 espie Exp $
SHARED_ONLY= Yes
COMMENT= MySQL drivers for the Perl DBI
2012-09-14 12:10:21 -04:00
DISTNAME= DBD-mysql-4.022
CATEGORIES= databases
MAINTAINER= Giovanni Bechis <giovanni@openbsd.org>
MODULES= cpan
# Perl
PERMIT_PACKAGE_CDROM= Yes
2012-08-23 10:54:31 -04:00
WANTLIB= c crypto m ssl z
2010-11-26 02:18:59 -05:00
BUILD_DEPENDS= databases/p5-DBI>=1.08
RUN_DEPENDS= databases/p5-DBI>=1.08
LIB_DEPENDS= databases/mysql
2013-03-10 22:52:04 -04:00
TEST_DEPENDS= databases/mysql,-server
WANTLIB += lib/mysql/mysqlclient>=10
2013-03-10 22:52:04 -04:00
TEST_IS_INTERACTIVE= Yes
2013-03-10 22:52:04 -04:00
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>