1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/databases/p5-DBD-MariaDB/Makefile
2020-08-29 20:34:32 +00:00

38 lines
1022 B
Makefile

# Created by: Sergey Skvortsov <skv@FreeBSD.org>
# $FreeBSD$
PORTNAME= DBD-MariaDB
PORTVERSION= 1.21
CATEGORIES= databases perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:CAPTTOFU
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT?= MariaDB driver for the Perl5 Database Interface (DBI)
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${RUN_DEPENDS} \
p5-Devel-CheckLib>=1.09: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*
USES= compiler:c11 mysql perl5
CONFIGURE_ARGS= ${CONFIGURE_ARGS_${CHOSEN_COMPILER_TYPE}}
CONFIGURE_ARGS_gcc= --libs="-L${PREFIX}/lib/gcc${GCC_DEFAULT} `mysql_config --libs | ${SED} 's/-pthread //'`"
USE_PERL5= configure
OPTIONS_DEFINE= SSL
SSL_RUN_DEPENDS= p5-Crypt-SSLeay>=0:security/p5-Crypt-SSLeay
SSL_USES= ssl
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/DBD/MariaDB/MariaDB.so
.include <bsd.port.mk>