summaryrefslogtreecommitdiffstats
path: root/databases/p5-DBD-mysql/Makefile
blob: 22cf172209b6f75c5e8bedb43b5ffe98ea19ba5b (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
# Created by: Sergey Skvortsov <skv@FreeBSD.org>
# $FreeBSD$

PORTNAME=	DBD-mysql
PORTVERSION=	4.043
CATEGORIES=	databases perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT?=	MySQL driver for the Perl5 Database Interface (DBI)

LICENSE=	ART10 GPLv1+
LICENSE_COMB=	dual
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	p5-DBI>=1.08:databases/p5-DBI \
		p5-Devel-CheckLib>=0:devel/p5-Devel-CheckLib
RUN_DEPENDS=	p5-DBI>=1.08:databases/p5-DBI
TEST_DEPENDS=	p5-Test-Deep>=0:devel/p5-Test-Deep

CONFLICTS_INSTALL?=	p5-DBD-mysql[45][0-9]-[0-9]*

USE_PERL5=	configure
USES=		mysql perl5

OPTIONS_DEFINE=	SSL
SSL_BUILD_DEPENDS=	p5-Crypt-SSLeay>=0:security/p5-Crypt-SSLeay
SSL_RUN_DEPENDS=	${SSL_BUILD_DEPENDS}
SSL_CONFIGURE_OFF=	--nossl
SSL_CONFIGURE_ON=	--ssl
SSL_USES=		ssl

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/DBD/mysql/mysql.so

.include <bsd.port.mk>
OpenPOWER on IntegriCloud