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 | |
parent | 8f9522902e6945142dcd8bb62446b06ece30bded (diff) | |
download | ports-bb8bd53d532d735daacb00c9e550f6605aa4217a.tar.gz ports-bb8bd53d532d735daacb00c9e550f6605aa4217a.zip |
Notes
Diffstat (limited to 'databases')
-rw-r--r-- | databases/tcl-Mysql/Makefile | 38 | ||||
-rw-r--r-- | databases/tcl-Mysql/distinfo | 1 | ||||
-rw-r--r-- | databases/tcl-Mysql/files/Makefile.bsd | 16 | ||||
-rw-r--r-- | databases/tcl-Mysql/files/patch-aa | 9 | ||||
-rw-r--r-- | databases/tcl-Mysql/pkg-comment | 1 | ||||
-rw-r--r-- | databases/tcl-Mysql/pkg-descr | 7 | ||||
-rw-r--r-- | databases/tcl-Mysql/pkg-plist | 7 |
7 files changed, 79 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> diff --git a/databases/tcl-Mysql/distinfo b/databases/tcl-Mysql/distinfo new file mode 100644 index 000000000000..6550245df5b0 --- /dev/null +++ b/databases/tcl-Mysql/distinfo @@ -0,0 +1 @@ +MD5 (tcl-sql-990813.tgz) = 0307bba44f17b30e8a1204a78ca65181 diff --git a/databases/tcl-Mysql/files/Makefile.bsd b/databases/tcl-Mysql/files/Makefile.bsd new file mode 100644 index 000000000000..18240329f778 --- /dev/null +++ b/databases/tcl-Mysql/files/Makefile.bsd @@ -0,0 +1,16 @@ +LIB = TclMySQL +SHLIB_MAJOR= 1 +SHLIB_MINOR= 0 + +SRCS = sql-mysql.cc sql.cc sql-manager.cc +CFLAGS += -I${PREFIX}/include/tcl8.0/ -I${PREFIX}/include/mysql/ +LDADD += -L${PREFIX}/lib -ltcl80 +LDADD += -L${PREFIX}/lib/mysql -lmysqlclient +LDADD += -lgcc + +all: ${SHLIB_NAME} + +printname: + @echo ${SHLIB_NAME} + +.include <bsd.lib.mk> diff --git a/databases/tcl-Mysql/files/patch-aa b/databases/tcl-Mysql/files/patch-aa new file mode 100644 index 000000000000..7a393f2f30e1 --- /dev/null +++ b/databases/tcl-Mysql/files/patch-aa @@ -0,0 +1,9 @@ +--- sql.cc.orig Fri Aug 13 15:28:56 1999 ++++ sql.cc Tue Aug 24 21:34:01 1999 +@@ -281,4 +281,4 @@ + +- // Provide a package called Sample +- if (Tcl_PkgProvide(interp, "Sql", "1.0") == TCL_ERROR) ++ // Provide a package called ``sql'' ++ if (Tcl_PkgProvide(interp, "sql", "1.0") == TCL_ERROR) + return TCL_ERROR; diff --git a/databases/tcl-Mysql/pkg-comment b/databases/tcl-Mysql/pkg-comment new file mode 100644 index 000000000000..8585492854d5 --- /dev/null +++ b/databases/tcl-Mysql/pkg-comment @@ -0,0 +1 @@ +TCL module for accessing MySQL databases diff --git a/databases/tcl-Mysql/pkg-descr b/databases/tcl-Mysql/pkg-descr new file mode 100644 index 000000000000..ec99916d5bce --- /dev/null +++ b/databases/tcl-Mysql/pkg-descr @@ -0,0 +1,7 @@ +The sql package adds the command sql to tcl. The author's intention is +to build generic database interface for TCL, but currently he only +supports MySQL. + +The author's web-site is: + +WWW: http://www.binaryevolution.com/~tdarugar/ diff --git a/databases/tcl-Mysql/pkg-plist b/databases/tcl-Mysql/pkg-plist new file mode 100644 index 000000000000..726bf45ee05b --- /dev/null +++ b/databases/tcl-Mysql/pkg-plist @@ -0,0 +1,7 @@ +lib/tcl8.0/sql1.0/libTclMySQL.so.1 +lib/tcl8.0/sql1.0/pkgIndex.tcl +@dirrm lib/tcl8.0/sql1.0 +share/doc/tcl-MySQL/api.html +share/doc/tcl-MySQL/sample.full.txt +share/doc/tcl-MySQL/sample.simple.txt +@dirrm share/doc/tcl-MySQL |