1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/databases/p5-DBD-mysql/Makefile
2015-03-06 22:43:28 +00:00

35 lines
845 B
Makefile

# Created by: Sergey Skvortsov <skv@FreeBSD.org>
# $FreeBSD$
PORTNAME= DBD-mysql
PORTVERSION= 4.031
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
BUILD_DEPENDS= p5-DBI>=1.08:${PORTSDIR}/databases/p5-DBI
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep
CONFLICTS_INSTALL?= p5-Mysql-modules-[0-9]* p5-DBD-mysql[45][0-9]-[0-9]*
USE_MYSQL= yes
USE_PERL5= configure
USES= perl5
OPTIONS_DEFINE= SSL
SSL_BUILD_DEPENDS= p5-Crypt-SSLeay>=0:${PORTSDIR}/security/p5-Crypt-SSLeay
SSL_RUN_DEPENDS= ${SSL_BUILD_DEPENDS}
SSL_CONFIGURE_ON= --ssl
post-stage:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/DBD/mysql/mysql.so
.include <bsd.port.mk>