1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/databases/mysqltcl/Makefile
Mikhail Teterin 95b191f02c Update to 2.50 from 2.40. Spell the name of the package properly in
synopsis. Add tcl84 as the category.
2004-04-08 14:29:09 +00:00

40 lines
1.1 KiB
Makefile

# New ports collection makefile for: mysqltcl
# Date created: August 31, 1999
# Whom: Mikhail Teterin <mi@aldan.algebra.com>
#
# $FreeBSD$
#
PORTNAME= mysqltcl
PORTVERSION= 2.50
CATEGORIES= databases tcl83 tcl84
MASTER_SITES= http://www.xdobry.de/mysqltcl/
MAINTAINER= mi@aldan.algebra.com
COMMENT= TCL module for accessing MySQL databases based on msqltcl
LIB_DEPENDS= mysqlclient:${PORTSDIR}/databases/mysql323-client \
${TCL_NODOT}:${PORTSDIR}/lang/${TCL_NODOT}
TCL_VERSION?= tcl8.4
TCL_NODOT= ${TCL_VERSION:S/.//}
SQL_DIR= ${PREFIX}/lib/${TCL_VERSION}/mysqltcl
PLIST_SUB+= TCL_VERSION=${TCL_VERSION} LIB_NAME=${LIB_NAME}
MANN= mysqltcl.n
MAKE_ENV+= PORTVERSION="${PORTVERSION}" \
TCL_VERSION="${TCL_VERSION}" \
TCL_NODOT="${TCL_NODOT}"
MAKEFILE= ${FILESDIR}/Makefile.bsd
ALL_TARGET= shlib
do-install:
${MKDIR} ${SQL_DIR}
${INSTALL_DATA} ${WRKSRC}/${LIB_NAME} ${SQL_DIR}
${ECHO} "package ifneeded mysqltcl ${PORTVERSION} {load ${SQL_DIR}/${LIB_NAME}}" \
> ${SQL_DIR}/pkgIndex.tcl
${INSTALL_MAN} ${WRKSRC}/doc/${MANN} ${PREFIX}/man/mann
.include <bsd.port.mk>
LIB_NAME!= ${MAKE_ENV} ${MAKE} -f ${FILESDIR}/Makefile.bsd -V SHLIB_NAME