diff options
author | Steve Price <steve@FreeBSD.org> | 1999-11-01 04:15:01 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-11-01 04:15:01 +0000 |
commit | bb8bd53d532d735daacb00c9e550f6605aa4217a (patch) | |
tree | cc7c477c3889c5bc519caca8d1a3802ecc36286d /databases/tcl-Mysql/Makefile | |
parent | 8f9522902e6945142dcd8bb62446b06ece30bded (diff) | |
download | ports-bb8bd53d532d735daacb00c9e550f6605aa4217a.tar.gz ports-bb8bd53d532d735daacb00c9e550f6605aa4217a.zip |
Initial import of tcl-Mysql version 990813.
A Tcl modules for accessing MySQL databases.
PR: 13361
Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
Notes
Notes:
svn path=/head/; revision=22829
Diffstat (limited to 'databases/tcl-Mysql/Makefile')
-rw-r--r-- | databases/tcl-Mysql/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/databases/tcl-Mysql/Makefile b/databases/tcl-Mysql/Makefile new file mode 100644 index 000000000000..11a9dc0cc611 --- /dev/null +++ b/databases/tcl-Mysql/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: p5-Mysql-modules +# Version required: 990813 +# Date created: 24 August 1999 +# Whom: Mikhail Teterin <mi@aldan.algebra.com> +# +# $FreeBSD$ +# + +DISTNAME= tcl-sql-990813 +CATEGORIES= databases tcl80 +MASTER_SITES= http://www.binevolve.com/~tdarugar/tcl-sql/download/ +EXTRACT_SUFX= .tgz + +MAINTAINER= mi@aldan.algebra.com + +LIB_DEPENDS= mysqlclient.6:${PORTSDIR}/databases/mysql322-client +RUN_DEPENDS= tclsh8.0:${PORTSDIR}/lang/tcl80 + +WRKSRC= ${WRKDIR}/tcl-sql/ + +do-build: + cd ${WRKSRC} && ${MAKE} PREFIX="${PREFIX}" -f ${FILESDIR}/Makefile.bsd + +SQL_DIR= ${PREFIX}/lib/tcl8.0/sql1.0 + +do-install: + ${MKDIR} ${SQL_DIR} + ${INSTALL_DATA} ${WRKSRC}/obj/libTclMySQL.so.* ${SQL_DIR} + ${ECHO} "package ifneeded sql 1.0 \ + {load \$$tcl_library/sql1.0/`${MAKE} -f \ + ${FILESDIR}/Makefile.bsd printname` sql}" \ + > ${SQL_DIR}/pkgIndex.tcl +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/tcl-MySQL/ + ${INSTALL_DATA} ${WRKSRC}/docs/*.* ${PREFIX}/share/doc/tcl-MySQL/ +.endif + +.include <bsd.port.mk> |