ports/103763: [PATCH] databases/mysqltcl to 3.02, rewrite and update
Martin Matuska
martin at matuska.org
Thu Sep 28 14:51:05 UTC 2006
>Number: 103763
>Category: ports
>Synopsis: [PATCH] databases/mysqltcl to 3.02, rewrite and update
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Sep 28 14:50:27 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Martin Matuska
>Release: FreeBSD 6.1-RELEASE-p5 amd64
>Organization:
>Environment:
System: FreeBSD 6.1-RELEASE-p5 i386/amd64
>Description:
This is a rewrite of the databases/mysqltcl port to use GNU configure
No patches, clean, easy and NOT BROKEN
As program authors say, does NOT support MySQL below 4.1
I am asking hereby to take over maintainership of this port
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# databases/mysqltcl
# databases/mysqltcl/Makefile
# databases/mysqltcl/distinfo
# databases/mysqltcl/pkg-descr
# databases/mysqltcl/pkg-plist
#
echo c - databases/mysqltcl
mkdir -p databases/mysqltcl > /dev/null 2>&1
echo x - databases/mysqltcl/Makefile
sed 's/^X//' >databases/mysqltcl/Makefile << 'END-of-databases/mysqltcl/Makefile'
X# New ports collection makefile for: mysqltcl
X# Date created: Thu Sep 28 16:07:00 CET 2006
X# Whom: Martin Matuska <martin at matuska.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= mysqltcl
XPORTVERSION= 3.02
XCATEGORIES= databases tcl83 tcl84
XMASTER_SITES= http://www.xdobry.de/mysqltcl/
X
XMAINTAINER= martin at matuska.org
XCOMMENT= TCL module for accessing MySQL databases based on msqltcl
X
XUSE_LDCONFIG= yes
XUSE_MYSQL= yes
XIGNORE_WITH_MYSQL= 323 40
XUSE_TCL= yes
XUSE_TCL_BUILD= yes
X
XMANN= mysqltcl.n
X
XGNU_CONFIGURE= yes
X
X.include <bsd.port.pre.mk>
X
XCONFIGURE_ARGS+= --with-tcl=${TCL_LIBDIR} \
X --with-mysql-include=${LOCALBASE}/include/mysql \
X --with-mysql-lib=${LOCALBASE}/lib/mysql
X
XPLIST_SUB+= LIB_DIR=${PORTNAME}-${PORTVERSION} \
X LIB_NAME=libmysqltcl${PORTVERSION}.so
X
Xpost-install:
X @${TEST} ! -f ${PKGMESSAGE} || ${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-databases/mysqltcl/Makefile
echo x - databases/mysqltcl/distinfo
sed 's/^X//' >databases/mysqltcl/distinfo << 'END-of-databases/mysqltcl/distinfo'
XMD5 (mysqltcl-3.02.tar.gz) = bf408a7d1f10aec28102fd27cba1f6eb
XSHA256 (mysqltcl-3.02.tar.gz) = b07d19a41da0b55912cc05150cde04340ecc673354f4a00edcede832e095c206
XSIZE (mysqltcl-3.02.tar.gz) = 193912
END-of-databases/mysqltcl/distinfo
echo x - databases/mysqltcl/pkg-descr
sed 's/^X//' >databases/mysqltcl/pkg-descr << 'END-of-databases/mysqltcl/pkg-descr'
XFrom the package man-page:
X
X MySQLTcl is a collection of Tcl commands and a Tcl global array that
X provide access to MySQL database servers.
X
X MySQLTcl is nothing more than a patched version of a patched version of
X Hakan Soderstrom's patch of Tom Poindexter's Sybtcl.
X
X Mysqltcl is binary Tcl library (extension) written in C language that
X use direkt official MySQL C-API. Almost all Tcl commands correspond to
X MySQL C-API functions. For detail documentation see official MySQL C-
X API manual.
X
XWWW: http://www.xdobry.de/mysqltcl/
END-of-databases/mysqltcl/pkg-descr
echo x - databases/mysqltcl/pkg-plist
sed 's/^X//' >databases/mysqltcl/pkg-plist << 'END-of-databases/mysqltcl/pkg-plist'
Xlib/%%LIB_DIR%%/%%LIB_NAME%%
Xlib/%%LIB_DIR%%/pkgIndex.tcl
X at dirrm lib/%%LIB_DIR%%
END-of-databases/mysqltcl/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list