2000-04-06 06:07:48 +02:00
|
|
|
# New ports collection makefile for: mysqltcl
|
2006-10-09 16:18:23 +02:00
|
|
|
# Date created: Thu Sep 28 16:07:00 CET 2006
|
|
|
|
# Whom: Martin Matuska <martin@matuska.org>
|
2000-04-06 06:07:48 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 00:49:07 +02:00
|
|
|
PORTNAME= mysqltcl
|
2007-05-26 00:11:50 +02:00
|
|
|
PORTVERSION= 3.03
|
2004-04-08 16:29:09 +02:00
|
|
|
CATEGORIES= databases tcl83 tcl84
|
2003-04-29 04:35:44 +02:00
|
|
|
MASTER_SITES= http://www.xdobry.de/mysqltcl/
|
2000-04-06 06:07:48 +02:00
|
|
|
|
2005-08-01 02:02:55 +02:00
|
|
|
MAINTAINER= bkoenig@cs.tu-berlin.de
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= TCL module for accessing MySQL databases based on msqltcl
|
2000-04-06 06:07:48 +02:00
|
|
|
|
2006-10-09 16:18:23 +02:00
|
|
|
USE_LDCONFIG= yes
|
2005-07-23 17:05:34 +02:00
|
|
|
USE_MYSQL= yes
|
2006-10-09 16:18:23 +02:00
|
|
|
USE_TCL= yes
|
|
|
|
USE_TCL_BUILD= yes
|
|
|
|
|
2000-04-06 06:07:48 +02:00
|
|
|
MANN= mysqltcl.n
|
2006-10-09 16:18:23 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --with-tcl=${TCL_LIBDIR} \
|
|
|
|
--with-mysql-include=${LOCALBASE}/include/mysql \
|
2007-05-26 00:11:50 +02:00
|
|
|
--with-mysql-lib=${LOCALBASE}/lib/mysql \
|
|
|
|
--exec-prefix=${PREFIX}
|
2006-10-09 16:18:23 +02:00
|
|
|
|
|
|
|
PLIST_SUB+= LIB_DIR=${PORTNAME}-${PORTVERSION} \
|
|
|
|
LIB_NAME=libmysqltcl${PORTVERSION}.so
|
2005-08-01 02:02:55 +02:00
|
|
|
|
|
|
|
pre-patch:
|
2006-01-14 20:47:12 +01:00
|
|
|
@${REINPLACE_CMD} -e 's, *
,,' ${WRKSRC}/generic/*.[ch]
|
2000-04-06 06:07:48 +02:00
|
|
|
|
2006-01-14 20:47:12 +01:00
|
|
|
post-install:
|
|
|
|
@${TEST} ! -f ${PKGMESSAGE} || ${CAT} ${PKGMESSAGE}
|
2000-04-06 06:07:48 +02:00
|
|
|
|
2006-10-09 16:18:23 +02:00
|
|
|
.include <bsd.port.post.mk>
|
2000-04-06 06:07:48 +02:00
|
|
|
|
2006-01-14 20:47:12 +01:00
|
|
|
.if ${MYSQL_VER} == 323 || ${MYSQL_VER} == 40
|
|
|
|
PKGMESSAGE= ${PKGDIR}/pkg-message-legacy
|
|
|
|
.endif
|