summaryrefslogtreecommitdiffstats
path: root/databases/dbconnect/Makefile
blob: f11841f3c89db200a490ee018eeca6e28907fbf4 (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
# ex:ts=8
# New ports collection makefile for:	dbconnect
# Date created:			Jul 23, 2001
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	dbconnect
PORTVERSION=	0.2.0
CATEGORIES=	databases
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org

PORTCOMMENT=	Use C++ object API to allow applications to connect to databases

WRKSRC=		${WRKDIR}/${PORTNAME}
GNU_CONFIGURE=	yes

.if defined(WITH_MYSQL)
LIB_DEPENDS=	mysqlclient:${PORTSDIR}/databases/mysql323-client
CONFIGURE_ARGS+=	--with-mysql=yes --with-mysqldir=${LOCALBASE}
PLIST_SUB+=	MYSQL=""
.else
PLIST_SUB+=	MYSQL="@comment "
.endif

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