2001-05-07 07:51:03 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.2 2001/05/07 11:51:03 wilfried Exp $
|
2001-03-27 03:43:13 -05:00
|
|
|
|
|
|
|
COMMENT= 'mysql drivers for the perl DBI'
|
|
|
|
|
|
|
|
DISTNAME= Msql-Mysql-modules-1.2215
|
|
|
|
PKGNAME= p5-DBD-Msql-Mysql-1.22.15
|
|
|
|
CATEGORIES= databases perl5
|
2001-05-07 07:51:03 -04:00
|
|
|
NEED_VERSION= 1.407
|
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
|
|
|
|
|
|
|
|
PERL_MODULES= ${LOCALBASE}/libdata/perl5/site_perl
|
2001-05-07 07:51:03 -04:00
|
|
|
BUILD_DEPENDS= ${PERL_MODULES}/${MACHINE_ARCH}-openbsd/DBI.pm::databases/p5-DBI
|
|
|
|
RUN_DEPENDS= ${PERL_MODULES}/${MACHINE_ARCH}-openbsd/DBI.pm::databases/p5-DBI
|
2001-03-27 03:43:13 -05:00
|
|
|
|
|
|
|
LIB_DEPENDS= mysqlclient::databases/mysql
|
|
|
|
|
|
|
|
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}
|
|
|
|
RUN_DEPENDS+= ${PERL_MODULES}/Data/ShowTable.pm::devel/p5-Data-ShowTable \
|
2001-05-07 07:51:03 -04:00
|
|
|
${PERL_MODULES}/${MACHINE_ARCH}-openbsd/Term/ReadKey.pm::devel/p5-Term-ReadKey \
|
|
|
|
${PERL_MODULES}/${MACHINE_ARCH}-openbsd/Term/ReadLine/Gnu.pm::devel/p5-Term-ReadLine-Gnu
|
2001-03-27 03:43:13 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|