2001-12-13 10:22:15 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2001/12/13 15:22:15 wilfried Exp $
|
2001-03-27 03:43:13 -05:00
|
|
|
|
|
|
|
COMMENT= 'mysql drivers for the perl DBI'
|
|
|
|
|
2001-12-13 10:22:15 -05:00
|
|
|
DISTNAME= Msql-Mysql-modules-1.2219
|
|
|
|
PKGNAME= p5-DBD-Msql-Mysql-1.22.19
|
2001-03-27 03:43:13 -05:00
|
|
|
CATEGORIES= databases perl5
|
2001-12-13 10:22:15 -05:00
|
|
|
NEED_VERSION= 1.500
|
|
|
|
|
|
|
|
HOMEPAGE= http://dbi.symbolstone.org
|
2001-03-27 03:43:13 -05:00
|
|
|
|
|
|
|
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= DBD
|
|
|
|
|
2001-11-14 08:58:34 -05:00
|
|
|
BUILD_DEPENDS= :p5-DBI->=1.08:databases/p5-DBI
|
|
|
|
RUN_DEPENDS= :p5-DBI->=1.08:databases/p5-DBI
|
2001-03-27 03:43:13 -05:00
|
|
|
|
2001-11-10 07:29:40 -05:00
|
|
|
LIB_DEPENDS= lib/mysql/mysqlclient.10:mysql-client-3.23.*:databases/mysql
|
2001-10-25 18:34:48 -04:00
|
|
|
REGRESS_DEPENDS= :mysql-server-3.23.*:databases/mysql,-server
|
2001-03-27 03:43:13 -05:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= perl
|
|
|
|
CONFIGURE_ARGS+= --noprompt \
|
|
|
|
--mysql-install \
|
|
|
|
--mysql-incdir=${LOCALBASE}/include/mysql \
|
|
|
|
--mysql-libdir=${LOCALBASE}/lib/mysql \
|
|
|
|
--nomsql-install \
|
|
|
|
--nomsql1-install
|
|
|
|
|
|
|
|
FLAVORS= dbimon
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mdbimon}
|
2001-11-14 08:58:34 -05:00
|
|
|
RUN_DEPENDS+= :p5-Data-ShowTable->=3.3:devel/p5-Data-ShowTable \
|
|
|
|
:p5-Term-ReadKey-*:devel/p5-Term-ReadKey \
|
|
|
|
:p5-Term-ReadLine-Gnu-*:devel/p5-Term-ReadLine-Gnu
|
2001-03-27 03:43:13 -05:00
|
|
|
.endif
|
|
|
|
|
2001-10-25 18:34:48 -04:00
|
|
|
pre-regress:
|
|
|
|
@mysqladmin ping >/dev/null 2>&1 || (echo 'mysql needs to be running'; exit 1)
|
|
|
|
-@mysqladmin create test >/dev/null 2>&1
|
|
|
|
|
2001-03-27 03:43:13 -05:00
|
|
|
.include <bsd.port.mk>
|