blob: b947af4d72d8c39b9311784bebf4cdbf4289b537 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $NetBSD: Makefile,v 1.12 2001/06/17 10:28:33 veego Exp $
#
DISTNAME= Msql-Mysql-modules-1.2215
PKGNAME= p5-DBD-mysql-1.2215
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/}
MAINTAINER= bad@netbsd.org
HOMEPAGE= http://www.mysql.com/
COMMENT= perl DBI/DBD driver for MySQL databases
DEPENDS+= mysql-client>=3.23.35:../../databases/mysql-client
DEPENDS+= p5-DBI>=1.13:../../databases/p5-DBI
DEPENDS+= p5-Data-Dumper>=2.101:../../devel/p5-Data-Dumper
DEPENDS+= p5-Data-ShowTable-3.3:../../devel/p5-Data-ShowTable
USE_PERL5= # defined
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Msql-Mysql-modules/.packlist
MYSQL_HEADERDIR= ${PREFIX}/include/mysql
MYSQL_LIBDIR= ${PREFIX}/lib/mysql
MAKE_ENV+= MYSQL_HEADERDIR="${MYSQL_HEADERDIR}"
MAKE_ENV+= MYSQL_LIBDIR="${MYSQL_LIBDIR}"
MAKE_ENV+= IN_MYSQL_DISTRIBUTION=1
MAKE_PARAMS+= --noprompt
MAKE_PARAMS+= --mysql-install
MAKE_PARAMS+= --nomsql-install --nomsql1-install
MAKE_PARAMS+= --mysql-incdir=${MYSQL_HEADERDIR}
MAKE_PARAMS+= --mysql-libdir=${MYSQL_LIBDIR}
do-configure:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS}
.include "../../mk/bsd.pkg.mk"
|