1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/databases/mysql-connector-c/Makefile
Pietro Cerutti 891e69b5e4 - Unbreak by depending on OpenSSL from ports
- Bump PORTREVISION (dependencies changed)

Reported by:	pkg-fallout
2014-04-16 09:21:11 +00:00

30 lines
671 B
Makefile

# Created by: gahr
# $FreeBSD$
PORTNAME= mysql-connector-c
PORTVERSION= 6.1.3
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL}
MASTER_SITE_SUBDIR= Connector-C
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= gahr@FreeBSD.org
COMMENT= MySQL database connector for C
LICENSE= GPLv2
USE_MYSQL= 51+
USE_OPENSSL= yes
WITH_OPENSSL_PORT=yes
USES= cmake:outsource
CMAKE_ARGS+= -DWITH_SSL=system \
-DOPENSSL_INCLUDE_DIR=${LOCALBASE}/include \
-DOPENSSL_LIBRARY=${LOCALBASE}/lib/libssl.so \
-DCRYPTO_LIBRARY=${LOCALBASE}/lib/libcrypto.so
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
PLIST_SUB+= PORTVERSION=${PORTVERSION}
.include <bsd.port.mk>