aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysqltcl/Makefile
blob: 84d429d0b6e09c3aaa3e28a22c7c17351e5a2262 (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
# Created by: Martin Matuska <martin@matuska.org>
# $FreeBSD$

PORTNAME=   mysqltcl
PORTVERSION=    3.052
CATEGORIES= databases tcl
MASTER_SITES=   http://www.xdobry.de/mysqltcl/

MAINTAINER= tcltk@FreeBSD.org
COMMENT=    TCL module for accessing MySQL databases based on msqltcl

USES=       tcl
USE_LDCONFIG=   yes
USE_MYSQL=  yes

PLIST_FILES=    lib/${PORTNAME}-${PORTVERSION}/libmysqltcl${PORTVERSION}.so \
        lib/${PORTNAME}-${PORTVERSION}/pkgIndex.tcl \
        man/mann/mysqltcl.n.gz
PLIST_DIRS= lib/${PORTNAME}-${PORTVERSION}

GNU_CONFIGURE=  yes

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

.include <bsd.port.mk>