aboutsummaryrefslogtreecommitdiff
path: root/databases/mysqltcl/Makefile
blob: 5b1554fb9f9bdba7e3c0e2575e67683ee38d5318 (plain) (blame)
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
# New ports collection makefile for:	mysqltcl
# Date created:				Thu Sep 28 16:07:00 CET 2006
# Whom:					Martin Matuska <martin@matuska.org>
#
# $FreeBSD$
#

PORTNAME=	mysqltcl
PORTVERSION=	3.05
PORTREVISION=	2
CATEGORIES=	databases tcl
MASTER_SITES=	http://www.xdobry.de/mysqltcl/

MAINTAINER=	bkoenig@alpha-tierchen.de
COMMENT=	TCL module for accessing MySQL databases based on msqltcl

USE_LDCONFIG=	yes
USE_MYSQL=	yes
USE_TCL=	82+
USE_DOS2UNIX=	generic/mysqltcl.c

MANN=		mysqltcl.n

GNU_CONFIGURE=	yes

CONFIGURE_ARGS+=	--with-tcl=${TCL_LIBDIR} \
			--with-mysql-include=${LOCALBASE}/include/mysql \
			--with-mysql-lib=${LOCALBASE}/lib/mysql \
			--exec-prefix=${PREFIX}

PLIST_SUB+=		LIB_DIR=${PORTNAME}-${PORTVERSION} \
			LIB_NAME=libmysqltcl${PORTVERSION}.so

.include <bsd.port.mk>