aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorjfitz <jfitz@FreeBSD.org>1997-06-19 03:35:30 +0800
committerjfitz <jfitz@FreeBSD.org>1997-06-19 03:35:30 +0800
commit491b070f4fc1b0c207e48ac0edfa4cd78f10660f (patch)
tree3383e081b6124478d14bba3518e63a448b1f48ca /databases
parent3fc6fb16e5c4bd9808b77cb4864b8d621d0e6b1f (diff)
downloadfreebsd-ports-graphics-491b070f4fc1b0c207e48ac0edfa4cd78f10660f.tar.gz
freebsd-ports-graphics-491b070f4fc1b0c207e48ac0edfa4cd78f10660f.tar.zst
freebsd-ports-graphics-491b070f4fc1b0c207e48ac0edfa4cd78f10660f.zip
Import of MySQL, a mutlithreaded SQL database server
Submitted by: Josh Tiefenbach <josh@ican.net>
Diffstat (limited to 'databases')
-rw-r--r--databases/mysql322-client/Makefile49
-rw-r--r--databases/mysql322-server/Makefile49
-rw-r--r--databases/mysql322-server/distinfo1
-rw-r--r--databases/mysql322-server/pkg-comment1
-rw-r--r--databases/mysql322-server/pkg-descr8
-rw-r--r--databases/mysql322-server/pkg-plist53
-rw-r--r--databases/mysql323-client/Makefile49
-rw-r--r--databases/mysql323-server/Makefile49
-rw-r--r--databases/mysql323-server/distinfo1
-rw-r--r--databases/mysql323-server/pkg-comment1
-rw-r--r--databases/mysql323-server/pkg-descr8
-rw-r--r--databases/mysql323-server/pkg-plist53
-rw-r--r--databases/mysql40-client/Makefile49
-rw-r--r--databases/mysql40-server/Makefile49
-rw-r--r--databases/mysql40-server/distinfo1
-rw-r--r--databases/mysql40-server/pkg-comment1
-rw-r--r--databases/mysql40-server/pkg-descr8
-rw-r--r--databases/mysql40-server/pkg-plist53
-rw-r--r--databases/mysql41-client/Makefile49
-rw-r--r--databases/mysql41-server/Makefile49
-rw-r--r--databases/mysql41-server/distinfo1
-rw-r--r--databases/mysql41-server/pkg-comment1
-rw-r--r--databases/mysql41-server/pkg-descr8
-rw-r--r--databases/mysql41-server/pkg-plist53
-rw-r--r--databases/mysql50-client/Makefile49
-rw-r--r--databases/mysql50-server/Makefile49
-rw-r--r--databases/mysql50-server/distinfo1
-rw-r--r--databases/mysql50-server/pkg-comment1
-rw-r--r--databases/mysql50-server/pkg-descr8
-rw-r--r--databases/mysql50-server/pkg-plist53
-rw-r--r--databases/mysql51-client/Makefile49
-rw-r--r--databases/mysql51-server/Makefile49
-rw-r--r--databases/mysql51-server/distinfo1
-rw-r--r--databases/mysql51-server/pkg-comment1
-rw-r--r--databases/mysql51-server/pkg-descr8
-rw-r--r--databases/mysql51-server/pkg-plist53
-rw-r--r--databases/mysql54-client/Makefile49
-rw-r--r--databases/mysql54-server/Makefile49
-rw-r--r--databases/mysql54-server/distinfo1
-rw-r--r--databases/mysql54-server/pkg-comment1
-rw-r--r--databases/mysql54-server/pkg-descr8
-rw-r--r--databases/mysql54-server/pkg-plist53
-rw-r--r--databases/mysql55-client/Makefile49
-rw-r--r--databases/mysql55-server/Makefile49
-rw-r--r--databases/mysql55-server/distinfo1
-rw-r--r--databases/mysql55-server/pkg-comment1
-rw-r--r--databases/mysql55-server/pkg-descr8
-rw-r--r--databases/mysql55-server/pkg-plist53
-rw-r--r--databases/mysql60-client/Makefile49
-rw-r--r--databases/mysql60-server/Makefile49
-rw-r--r--databases/mysql60-server/distinfo1
-rw-r--r--databases/mysql60-server/pkg-comment1
-rw-r--r--databases/mysql60-server/pkg-descr8
-rw-r--r--databases/mysql60-server/pkg-plist53
-rw-r--r--databases/percona55-client/Makefile49
-rw-r--r--databases/percona55-server/Makefile49
-rw-r--r--databases/percona55-server/distinfo1
-rw-r--r--databases/percona55-server/pkg-comment1
-rw-r--r--databases/percona55-server/pkg-descr8
-rw-r--r--databases/percona55-server/pkg-plist53
60 files changed, 1610 insertions, 0 deletions
diff --git a/databases/mysql322-client/Makefile b/databases/mysql322-client/Makefile
new file mode 100644
index 00000000000..5d337f53239
--- /dev/null
+++ b/databases/mysql322-client/Makefile
@@ -0,0 +1,49 @@
+# ports collection makefile for: mySQL
+# Version required: v3.20.22
+# Date created: 16 Jun 1997
+# Whom: Josh Tiefenbach <josh@ican.net>
+#
+# $Id:$
+#
+
+DISTNAME= mysql-3.20.22
+CATEGORIES= databases
+MASTER_SITES= http://www.tcx.se/ \
+ http://www.buoy.com/mysql/ \
+ http://web.tryc.on.ca/mysql/ \
+ http://mysql.staufen.de/ \
+ http://mysql.acer.net/
+
+MAINTAINER= josh@ican.net
+
+RUN_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
+ --with-MAKE=gmake \
+ --without-perl \
+ --without-debug \
+ --without-readline
+CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl
+
+pre-install:
+ @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version
+
+post-install:
+ cd ${WRKSRC} && ${WRKSRC}/scripts/mysql_install_db
+ @ /usr/bin/killall mysqld
+ @ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "#" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "if [ -x /usr/local/bin/safe_mysqld ]" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "then" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo " /usr/local/bin/safe_mysqld & && echo -n ' mysql'" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "fi" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ /bin/chmod 750 ${PREFIX}/etc/rc.d/mysql.sh
+ ${MKDIR} ${PREFIX}/share/doc/mysql
+.for doc in mysql-faq.html mysql-faq.ps mysql-faq_toc.html mysql-faq.txt mysql-faq.texi
+ ${INSTALL_DATA} ${WRKSRC}/FAQs/${doc} ${PREFIX}/share/doc/mysql
+.endfor
+
+.include <bsd.port.mk>
diff --git a/databases/mysql322-server/Makefile b/databases/mysql322-server/Makefile
new file mode 100644
index 00000000000..5d337f53239
--- /dev/null
+++ b/databases/mysql322-server/Makefile
@@ -0,0 +1,49 @@
+# ports collection makefile for: mySQL
+# Version required: v3.20.22
+# Date created: 16 Jun 1997
+# Whom: Josh Tiefenbach <josh@ican.net>
+#
+# $Id:$
+#
+
+DISTNAME= mysql-3.20.22
+CATEGORIES= databases
+MASTER_SITES= http://www.tcx.se/ \
+ http://www.buoy.com/mysql/ \
+ http://web.tryc.on.ca/mysql/ \
+ http://mysql.staufen.de/ \
+ http://mysql.acer.net/
+
+MAINTAINER= josh@ican.net
+
+RUN_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
+ --with-MAKE=gmake \
+ --without-perl \
+ --without-debug \
+ --without-readline
+CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl
+
+pre-install:
+ @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version
+
+post-install:
+ cd ${WRKSRC} && ${WRKSRC}/scripts/mysql_install_db
+ @ /usr/bin/killall mysqld
+ @ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "#" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "if [ -x /usr/local/bin/safe_mysqld ]" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "then" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo " /usr/local/bin/safe_mysqld & && echo -n ' mysql'" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "fi" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ /bin/chmod 750 ${PREFIX}/etc/rc.d/mysql.sh
+ ${MKDIR} ${PREFIX}/share/doc/mysql
+.for doc in mysql-faq.html mysql-faq.ps mysql-faq_toc.html mysql-faq.txt mysql-faq.texi
+ ${INSTALL_DATA} ${WRKSRC}/FAQs/${doc} ${PREFIX}/share/doc/mysql
+.endfor
+
+.include <bsd.port.mk>
diff --git a/databases/mysql322-server/distinfo b/databases/mysql322-server/distinfo
new file mode 100644
index 00000000000..56ef0405a1b
--- /dev/null
+++ b/databases/mysql322-server/distinfo
@@ -0,0 +1 @@
+MD5 (mysql-3.20.22.tar.gz) = ba4ea86089203a5599105cf2ecf392ff
diff --git a/databases/mysql322-server/pkg-comment b/databases/mysql322-server/pkg-comment
new file mode 100644
index 00000000000..4fe439ba185
--- /dev/null
+++ b/databases/mysql322-server/pkg-comment
@@ -0,0 +1 @@
+a multithreaded SQL database.
diff --git a/databases/mysql322-server/pkg-descr b/databases/mysql322-server/pkg-descr
new file mode 100644
index 00000000000..e852b93a106
--- /dev/null
+++ b/databases/mysql322-server/pkg-descr
@@ -0,0 +1,8 @@
+mySQL is a multithreaded (using MIT pthreads) SQL database with a command
+syntax very similar to mSQL. For more information see http://www.tcx.se
+
+Note: This port does *not* build the perl5 module. To do so, refer to the
+file ${WRKSRC}/INSTALL-SOURCE, in particular, the notes on FreeBSD systems.
+
+josh
+josh@ican.net
diff --git a/databases/mysql322-server/pkg-plist b/databases/mysql322-server/pkg-plist
new file mode 100644
index 00000000000..bbf378e1f13
--- /dev/null
+++ b/databases/mysql322-server/pkg-plist
@@ -0,0 +1,53 @@
+bin/comp_err
+bin/isamchk
+bin/isamlog
+bin/msql2mysql
+bin/mysql
+bin/mysql.server
+bin/mysql_install_db
+bin/mysqlaccess
+bin/mysqladmin
+bin/mysqlbug
+bin/mysqldump
+bin/mysqlshow
+bin/perror
+bin/replace
+bin/safe_mysqld
+bin/which1
+bin/zap
+etc/rc.d/mysql.sh
+include/mysql/m_ctype.h.in
+include/mysql/m_string.h
+include/mysql/my_sys.h
+include/mysql/mysql.h
+include/mysql/mysql_com.h
+include/mysql/dbug.h
+lib/mysql/libheap.a
+lib/mysql/libmerge.a
+lib/mysql/libmysqlclient.a
+lib/mysql/libmystrings.a
+lib/mysql/libmysys.a
+lib/mysql/libnisam.a
+lib/mysql/libdbug.a
+libexec/mysqld
+share/doc/mysql/mysql-faq.html
+share/doc/mysql/mysql-faq.ps
+share/doc/mysql/mysql-faq.texi
+share/doc/mysql/mysql-faq.txt
+share/doc/mysql/mysql-faq_toc.html
+share/mysql/english/errmsg.sys
+share/mysql/english/errmsg.txt
+share/mysql/french/errmsg.sys
+share/mysql/french/errmsg.txt
+share/mysql/germany/errmsg.sys
+share/mysql/germany/errmsg.txt
+share/mysql/swedish/errmsg.sys
+share/mysql/swedish/errmsg.txt
+@dirrm include/mysql
+@dirrm lib/mysql
+@dirrm share/doc/mysql
+@dirrm share/mysql/english
+@dirrm share/mysql/french
+@dirrm share/mysql/germany
+@dirrm share/mysql/swedish
+@dirrm share/mysql
diff --git a/databases/mysql323-client/Makefile b/databases/mysql323-client/Makefile
new file mode 100644
index 00000000000..5d337f53239
--- /dev/null
+++ b/databases/mysql323-client/Makefile
@@ -0,0 +1,49 @@
+# ports collection makefile for: mySQL
+# Version required: v3.20.22
+# Date created: 16 Jun 1997
+# Whom: Josh Tiefenbach <josh@ican.net>
+#
+# $Id:$
+#
+
+DISTNAME= mysql-3.20.22
+CATEGORIES= databases
+MASTER_SITES= http://www.tcx.se/ \
+ http://www.buoy.com/mysql/ \
+ http://web.tryc.on.ca/mysql/ \
+ http://mysql.staufen.de/ \
+ http://mysql.acer.net/
+
+MAINTAINER= josh@ican.net
+
+RUN_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
+ --with-MAKE=gmake \
+ --without-perl \
+ --without-debug \
+ --without-readline
+CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl
+
+pre-install:
+ @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version
+
+post-install:
+ cd ${WRKSRC} && ${WRKSRC}/scripts/mysql_install_db
+ @ /usr/bin/killall mysqld
+ @ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "#" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "if [ -x /usr/local/bin/safe_mysqld ]" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "then" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo " /usr/local/bin/safe_mysqld & && echo -n ' mysql'" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "fi" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ /bin/chmod 750 ${PREFIX}/etc/rc.d/mysql.sh
+ ${MKDIR} ${PREFIX}/share/doc/mysql
+.for doc in mysql-faq.html mysql-faq.ps mysql-faq_toc.html mysql-faq.txt mysql-faq.texi
+ ${INSTALL_DATA} ${WRKSRC}/FAQs/${doc} ${PREFIX}/share/doc/mysql
+.endfor
+
+.include <bsd.port.mk>
diff --git a/databases/mysql323-server/Makefile b/databases/mysql323-server/Makefile
new file mode 100644
index 00000000000..5d337f53239
--- /dev/null
+++ b/databases/mysql323-server/Makefile
@@ -0,0 +1,49 @@
+# ports collection makefile for: mySQL
+# Version required: v3.20.22
+# Date created: 16 Jun 1997
+# Whom: Josh Tiefenbach <josh@ican.net>
+#
+# $Id:$
+#
+
+DISTNAME= mysql-3.20.22
+CATEGORIES= databases
+MASTER_SITES= http://www.tcx.se/ \
+ http://www.buoy.com/mysql/ \
+ http://web.tryc.on.ca/mysql/ \
+ http://mysql.staufen.de/ \
+ http://mysql.acer.net/
+
+MAINTAINER= josh@ican.net
+
+RUN_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
+ --with-MAKE=gmake \
+ --without-perl \
+ --without-debug \
+ --without-readline
+CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl
+
+pre-install:
+ @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version
+
+post-install:
+ cd ${WRKSRC} && ${WRKSRC}/scripts/mysql_install_db
+ @ /usr/bin/killall mysqld
+ @ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "#" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "if [ -x /usr/local/bin/safe_mysqld ]" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "then" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo " /usr/local/bin/safe_mysqld & && echo -n ' mysql'" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "fi" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ /bin/chmod 750 ${PREFIX}/etc/rc.d/mysql.sh
+ ${MKDIR} ${PREFIX}/share/doc/mysql
+.for doc in mysql-faq.html mysql-faq.ps mysql-faq_toc.html mysql-faq.txt mysql-faq.texi
+ ${INSTALL_DATA} ${WRKSRC}/FAQs/${doc} ${PREFIX}/share/doc/mysql
+.endfor
+
+.include <bsd.port.mk>
diff --git a/databases/mysql323-server/distinfo b/databases/mysql323-server/distinfo
new file mode 100644
index 00000000000..56ef0405a1b
--- /dev/null
+++ b/databases/mysql323-server/distinfo
@@ -0,0 +1 @@
+MD5 (mysql-3.20.22.tar.gz) = ba4ea86089203a5599105cf2ecf392ff
diff --git a/databases/mysql323-server/pkg-comment b/databases/mysql323-server/pkg-comment
new file mode 100644
index 00000000000..4fe439ba185
--- /dev/null
+++ b/databases/mysql323-server/pkg-comment
@@ -0,0 +1 @@
+a multithreaded SQL database.
diff --git a/databases/mysql323-server/pkg-descr b/databases/mysql323-server/pkg-descr
new file mode 100644
index 00000000000..e852b93a106
--- /dev/null
+++ b/databases/mysql323-server/pkg-descr
@@ -0,0 +1,8 @@
+mySQL is a multithreaded (using MIT pthreads) SQL database with a command
+syntax very similar to mSQL. For more information see http://www.tcx.se
+
+Note: This port does *not* build the perl5 module. To do so, refer to the
+file ${WRKSRC}/INSTALL-SOURCE, in particular, the notes on FreeBSD systems.
+
+josh
+josh@ican.net
diff --git a/databases/mysql323-server/pkg-plist b/databases/mysql323-server/pkg-plist
new file mode 100644
index 00000000000..bbf378e1f13
--- /dev/null
+++ b/databases/mysql323-server/pkg-plist
@@ -0,0 +1,53 @@
+bin/comp_err
+bin/isamchk
+bin/isamlog
+bin/msql2mysql
+bin/mysql
+bin/mysql.server
+bin/mysql_install_db
+bin/mysqlaccess
+bin/mysqladmin
+bin/mysqlbug
+bin/mysqldump
+bin/mysqlshow
+bin/perror
+bin/replace
+bin/safe_mysqld
+bin/which1
+bin/zap
+etc/rc.d/mysql.sh
+include/mysql/m_ctype.h.in
+include/mysql/m_string.h
+include/mysql/my_sys.h
+include/mysql/mysql.h
+include/mysql/mysql_com.h
+include/mysql/dbug.h
+lib/mysql/libheap.a
+lib/mysql/libmerge.a
+lib/mysql/libmysqlclient.a
+lib/mysql/libmystrings.a
+lib/mysql/libmysys.a
+lib/mysql/libnisam.a
+lib/mysql/libdbug.a
+libexec/mysqld
+share/doc/mysql/mysql-faq.html
+share/doc/mysql/mysql-faq.ps
+share/doc/mysql/mysql-faq.texi
+share/doc/mysql/mysql-faq.txt
+share/doc/mysql/mysql-faq_toc.html
+share/mysql/english/errmsg.sys
+share/mysql/english/errmsg.txt
+share/mysql/french/errmsg.sys
+share/mysql/french/errmsg.txt
+share/mysql/germany/errmsg.sys
+share/mysql/germany/errmsg.txt
+share/mysql/swedish/errmsg.sys
+share/mysql/swedish/errmsg.txt
+@dirrm include/mysql
+@dirrm lib/mysql
+@dirrm share/doc/mysql
+@dirrm share/mysql/english
+@dirrm share/mysql/french
+@dirrm share/mysql/germany
+@dirrm share/mysql/swedish
+@dirrm share/mysql
diff --git a/databases/mysql40-client/Makefile b/databases/mysql40-client/Makefile
new file mode 100644
index 00000000000..5d337f53239
--- /dev/null
+++ b/databases/mysql40-client/Makefile
@@ -0,0 +1,49 @@
+# ports collection makefile for: mySQL
+# Version required: v3.20.22
+# Date created: 16 Jun 1997
+# Whom: Josh Tiefenbach <josh@ican.net>
+#
+# $Id:$
+#
+
+DISTNAME= mysql-3.20.22
+CATEGORIES= databases
+MASTER_SITES= http://www.tcx.se/ \
+ http://www.buoy.com/mysql/ \
+ http://web.tryc.on.ca/mysql/ \
+ http://mysql.staufen.de/ \
+ http://mysql.acer.net/
+
+MAINTAINER= josh@ican.net
+
+RUN_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
+ --with-MAKE=gmake \
+ --without-perl \
+ --without-debug \
+ --without-readline
+CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl
+
+pre-install:
+ @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version
+
+post-install:
+ cd ${WRKSRC} && ${WRKSRC}/scripts/mysql_install_db
+ @ /usr/bin/killall mysqld
+ @ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "#" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "if [ -x /usr/local/bin/safe_mysqld ]" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "then" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo " /usr/local/bin/safe_mysqld & && echo -n ' mysql'" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "fi" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ /bin/chmod 750 ${PREFIX}/etc/rc.d/mysql.sh
+ ${MKDIR} ${PREFIX}/share/doc/mysql
+.for doc in mysql-faq.html mysql-faq.ps mysql-faq_toc.html mysql-faq.txt mysql-faq.texi
+ ${INSTALL_DATA} ${WRKSRC}/FAQs/${doc} ${PREFIX}/share/doc/mysql
+.endfor
+
+.include <bsd.port.mk>
diff --git a/databases/mysql40-server/Makefile b/databases/mysql40-server/Makefile
new file mode 100644
index 00000000000..5d337f53239
--- /dev/null
+++ b/databases/mysql40-server/Makefile
@@ -0,0 +1,49 @@
+# ports collection makefile for: mySQL
+# Version required: v3.20.22
+# Date created: 16 Jun 1997
+# Whom: Josh Tiefenbach <josh@ican.net>
+#
+# $Id:$
+#
+
+DISTNAME= mysql-3.20.22
+CATEGORIES= databases
+MASTER_SITES= http://www.tcx.se/ \
+ http://www.buoy.com/mysql/ \
+ http://web.tryc.on.ca/mysql/ \
+ http://mysql.staufen.de/ \
+ http://mysql.acer.net/
+
+MAINTAINER= josh@ican.net
+
+RUN_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
+ --with-MAKE=gmake \
+ --without-perl \
+ --without-debug \
+ --without-readline
+CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl
+
+pre-install:
+ @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version
+
+post-install:
+ cd ${WRKSRC} && ${WRKSRC}/scripts/mysql_install_db
+ @ /usr/bin/killall mysqld
+ @ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "#" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "if [ -x /usr/local/bin/safe_mysqld ]" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "then" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo " /usr/local/bin/safe_mysqld & && echo -n ' mysql'" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "fi" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ /bin/chmod 750 ${PREFIX}/etc/rc.d/mysql.sh
+ ${MKDIR} ${PREFIX}/share/doc/mysql
+.for doc in mysql-faq.html mysql-faq.ps mysql-faq_toc.html mysql-faq.txt mysql-faq.texi
+ ${INSTALL_DATA} ${WRKSRC}/FAQs/${doc} ${PREFIX}/share/doc/mysql
+.endfor
+
+.include <bsd.port.mk>
diff --git a/databases/mysql40-server/distinfo b/databases/mysql40-server/distinfo
new file mode 100644
index 00000000000..56ef0405a1b
--- /dev/null
+++ b/databases/mysql40-server/distinfo
@@ -0,0 +1 @@
+MD5 (mysql-3.20.22.tar.gz) = ba4ea86089203a5599105cf2ecf392ff
diff --git a/databases/mysql40-server/pkg-comment b/databases/mysql40-server/pkg-comment
new file mode 100644
index 00000000000..4fe439ba185
--- /dev/null
+++ b/databases/mysql40-server/pkg-comment
@@ -0,0 +1 @@
+a multithreaded SQL database.
diff --git a/databases/mysql40-server/pkg-descr b/databases/mysql40-server/pkg-descr
new file mode 100644
index 00000000000..e852b93a106
--- /dev/null
+++ b/databases/mysql40-server/pkg-descr
@@ -0,0 +1,8 @@
+mySQL is a multithreaded (using MIT pthreads) SQL database with a command
+syntax very similar to mSQL. For more information see http://www.tcx.se
+
+Note: This port does *not* build the perl5 module. To do so, refer to the
+file ${WRKSRC}/INSTALL-SOURCE, in particular, the notes on FreeBSD systems.
+
+josh
+josh@ican.net
diff --git a/databases/mysql40-server/pkg-plist b/databases/mysql40-server/pkg-plist
new file mode 100644
index 00000000000..bbf378e1f13
--- /dev/null
+++ b/databases/mysql40-server/pkg-plist
@@ -0,0 +1,53 @@
+bin/comp_err
+bin/isamchk
+bin/isamlog
+bin/msql2mysql
+bin/mysql
+bin/mysql.server
+bin/mysql_install_db
+bin/mysqlaccess
+bin/mysqladmin
+bin/mysqlbug
+bin/mysqldump
+bin/mysqlshow
+bin/perror
+bin/replace
+bin/safe_mysqld
+bin/which1
+bin/zap
+etc/rc.d/mysql.sh
+include/mysql/m_ctype.h.in
+include/mysql/m_string.h
+include/mysql/my_sys.h
+include/mysql/mysql.h
+include/mysql/mysql_com.h
+include/mysql/dbug.h
+lib/mysql/libheap.a
+lib/mysql/libmerge.a
+lib/mysql/libmysqlclient.a
+lib/mysql/libmystrings.a
+lib/mysql/libmysys.a
+lib/mysql/libnisam.a
+lib/mysql/libdbug.a
+libexec/mysqld
+share/doc/mysql/mysql-faq.html
+share/doc/mysql/mysql-faq.ps
+share/doc/mysql/mysql-faq.texi
+share/doc/mysql/mysql-faq.txt
+share/doc/mysql/mysql-faq_toc.html
+share/mysql/english/errmsg.sys
+share/mysql/english/errmsg.txt
+share/mysql/french/errmsg.sys
+share/mysql/french/errmsg.txt
+share/mysql/germany/errmsg.sys
+share/mysql/germany/errmsg.txt
+share/mysql/swedish/errmsg.sys
+share/mysql/swedish/errmsg.txt
+@dirrm include/mysql
+@dirrm lib/mysql
+@dirrm share/doc/mysql
+@dirrm share/mysql/english
+@dirrm share/mysql/french
+@dirrm share/mysql/germany
+@dirrm share/mysql/swedish
+@dirrm share/mysql
diff --git a/databases/mysql41-client/Makefile b/databases/mysql41-client/Makefile
new file mode 100644
index 00000000000..5d337f53239
--- /dev/null
+++ b/databases/mysql41-client/Makefile
@@ -0,0 +1,49 @@
+# ports collection makefile for: mySQL
+# Version required: v3.20.22
+# Date created: 16 Jun 1997
+# Whom: Josh Tiefenbach <josh@ican.net>
+#
+# $Id:$
+#
+
+DISTNAME= mysql-3.20.22
+CATEGORIES= databases
+MASTER_SITES= http://www.tcx.se/ \
+ http://www.buoy.com/mysql/ \
+ http://web.tryc.on.ca/mysql/ \
+ http://mysql.staufen.de/ \
+ http://mysql.acer.net/
+
+MAINTAINER= josh@ican.net
+
+RUN_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
+ --with-MAKE=gmake \
+ --without-perl \
+ --without-debug \
+ --without-readline
+CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl
+
+pre-install:
+ @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version
+
+post-install:
+ cd ${WRKSRC} && ${WRKSRC}/scripts/mysql_install_db
+ @ /usr/bin/killall mysqld
+ @ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "#" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "if [ -x /usr/local/bin/safe_mysqld ]" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "then" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo " /usr/local/bin/safe_mysqld & && echo -n ' mysql'" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "fi" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ /bin/chmod 750 ${PREFIX}/etc/rc.d/mysql.sh
+ ${MKDIR} ${PREFIX}/share/doc/mysql
+.for doc in mysql-faq.html mysql-faq.ps mysql-faq_toc.html mysql-faq.txt mysql-faq.texi
+ ${INSTALL_DATA} ${WRKSRC}/FAQs/${doc} ${PREFIX}/share/doc/mysql
+.endfor
+
+.include <bsd.port.mk>
diff --git a/databases/mysql41-server/Makefile b/databases/mysql41-server/Makefile
new file mode 100644
index 00000000000..5d337f53239
--- /dev/null
+++ b/databases/mysql41-server/Makefile
@@ -0,0 +1,49 @@
+# ports collection makefile for: mySQL
+# Version required: v3.20.22
+# Date created: 16 Jun 1997
+# Whom: Josh Tiefenbach <josh@ican.net>
+#
+# $Id:$
+#
+
+DISTNAME= mysql-3.20.22
+CATEGORIES= databases
+MASTER_SITES= http://www.tcx.se/ \
+ http://www.buoy.com/mysql/ \
+ http://web.tryc.on.ca/mysql/ \
+ http://mysql.staufen.de/ \
+ http://mysql.acer.net/
+
+MAINTAINER= josh@ican.net
+
+RUN_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
+ --with-MAKE=gmake \
+ --without-perl \
+ --without-debug \
+ --without-readline
+CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl
+
+pre-install:
+ @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version
+
+post-install:
+ cd ${WRKSRC} && ${WRKSRC}/scripts/mysql_install_db
+ @ /usr/bin/killall mysqld
+ @ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "#" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "if [ -x /usr/local/bin/safe_mysqld ]" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "then" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo " /usr/local/bin/safe_mysqld & && echo -n ' mysql'" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "fi" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ /bin/chmod 750 ${PREFIX}/etc/rc.d/mysql.sh
+ ${MKDIR} ${PREFIX}/share/doc/mysql
+.for doc in mysql-faq.html mysql-faq.ps mysql-faq_toc.html mysql-faq.txt mysql-faq.texi
+ ${INSTALL_DATA} ${WRKSRC}/FAQs/${doc} ${PREFIX}/share/doc/mysql
+.endfor
+
+.include <bsd.port.mk>
diff --git a/databases/mysql41-server/distinfo b/databases/mysql41-server/distinfo
new file mode 100644
index 00000000000..56ef0405a1b
--- /dev/null
+++ b/databases/mysql41-server/distinfo
@@ -0,0 +1 @@
+MD5 (mysql-3.20.22.tar.gz) = ba4ea86089203a5599105cf2ecf392ff
diff --git a/databases/mysql41-server/pkg-comment b/databases/mysql41-server/pkg-comment
new file mode 100644
index 00000000000..4fe439ba185
--- /dev/null
+++ b/databases/mysql41-server/pkg-comment
@@ -0,0 +1 @@
+a multithreaded SQL database.
diff --git a/databases/mysql41-server/pkg-descr b/databases/mysql41-server/pkg-descr
new file mode 100644
index 00000000000..e852b93a106
--- /dev/null
+++ b/databases/mysql41-server/pkg-descr
@@ -0,0 +1,8 @@
+mySQL is a multithreaded (using MIT pthreads) SQL database with a command
+syntax very similar to mSQL. For more information see http://www.tcx.se
+
+Note: This port does *not* build the perl5 module. To do so, refer to the
+file ${WRKSRC}/INSTALL-SOURCE, in particular, the notes on FreeBSD systems.
+
+josh
+josh@ican.net
diff --git a/databases/mysql41-server/pkg-plist b/databases/mysql41-server/pkg-plist
new file mode 100644
index 00000000000..bbf378e1f13
--- /dev/null
+++ b/databases/mysql41-server/pkg-plist
@@ -0,0 +1,53 @@
+bin/comp_err
+bin/isamchk
+bin/isamlog
+bin/msql2mysql
+bin/mysql
+bin/mysql.server
+bin/mysql_install_db
+bin/mysqlaccess
+bin/mysqladmin
+bin/mysqlbug
+bin/mysqldump
+bin/mysqlshow
+bin/perror
+bin/replace
+bin/safe_mysqld
+bin/which1
+bin/zap
+etc/rc.d/mysql.sh
+include/mysql/m_ctype.h.in
+include/mysql/m_string.h
+include/mysql/my_sys.h
+include/mysql/mysql.h
+include/mysql/mysql_com.h
+include/mysql/dbug.h
+lib/mysql/libheap.a
+lib/mysql/libmerge.a
+lib/mysql/libmysqlclient.a
+lib/mysql/libmystrings.a
+lib/mysql/libmysys.a
+lib/mysql/libnisam.a
+lib/mysql/libdbug.a
+libexec/mysqld
+share/doc/mysql/mysql-faq.html
+share/doc/mysql/mysql-faq.ps
+share/doc/mysql/mysql-faq.texi
+share/doc/mysql/mysql-faq.txt
+share/doc/mysql/mysql-faq_toc.html
+share/mysql/english/errmsg.sys
+share/mysql/english/errmsg.txt
+share/mysql/french/errmsg.sys
+share/mysql/french/errmsg.txt
+share/mysql/germany/errmsg.sys
+share/mysql/germany/errmsg.txt
+share/mysql/swedish/errmsg.sys
+share/mysql/swedish/errmsg.txt
+@dirrm include/mysql
+@dirrm lib/mysql
+@dirrm share/doc/mysql
+@dirrm share/mysql/english
+@dirrm share/mysql/french
+@dirrm share/mysql/germany
+@dirrm share/mysql/swedish
+@dirrm share/mysql
diff --git a/databases/mysql50-client/Makefile b/databases/mysql50-client/Makefile
new file mode 100644
index 00000000000..5d337f53239
--- /dev/null
+++ b/databases/mysql50-client/Makefile
@@ -0,0 +1,49 @@
+# ports collection makefile for: mySQL
+# Version required: v3.20.22
+# Date created: 16 Jun 1997
+# Whom: Josh Tiefenbach <josh@ican.net>
+#
+# $Id:$
+#
+
+DISTNAME= mysql-3.20.22
+CATEGORIES= databases
+MASTER_SITES= http://www.tcx.se/ \
+ http://www.buoy.com/mysql/ \
+ http://web.tryc.on.ca/mysql/ \
+ http://mysql.staufen.de/ \
+ http://mysql.acer.net/
+
+MAINTAINER= josh@ican.net
+
+RUN_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
+ --with-MAKE=gmake \
+ --without-perl \
+ --without-debug \
+ --without-readline
+CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl
+
+pre-install:
+ @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version
+
+post-install:
+ cd ${WRKSRC} && ${WRKSRC}/scripts/mysql_install_db
+ @ /usr/bin/killall mysqld
+ @ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "#" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "if [ -x /usr/local/bin/safe_mysqld ]" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "then" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo " /usr/local/bin/safe_mysqld & && echo -n ' mysql'" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "fi" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ /bin/chmod 750 ${PREFIX}/etc/rc.d/mysql.sh
+ ${MKDIR} ${PREFIX}/share/doc/mysql
+.for doc in mysql-faq.html mysql-faq.ps mysql-faq_toc.html mysql-faq.txt mysql-faq.texi
+ ${INSTALL_DATA} ${WRKSRC}/FAQs/${doc} ${PREFIX}/share/doc/mysql
+.endfor
+
+.include <bsd.port.mk>
diff --git a/databases/mysql50-server/Makefile b/databases/mysql50-server/Makefile
new file mode 100644
index 00000000000..5d337f53239
--- /dev/null
+++ b/databases/mysql50-server/Makefile
@@ -0,0 +1,49 @@
+# ports collection makefile for: mySQL
+# Version required: v3.20.22
+# Date created: 16 Jun 1997
+# Whom: Josh Tiefenbach <josh@ican.net>
+#
+# $Id:$
+#
+
+DISTNAME= mysql-3.20.22
+CATEGORIES= databases
+MASTER_SITES= http://www.tcx.se/ \
+ http://www.buoy.com/mysql/ \
+ http://web.tryc.on.ca/mysql/ \
+ http://mysql.staufen.de/ \
+ http://mysql.acer.net/
+
+MAINTAINER= josh@ican.net
+
+RUN_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
+ --with-MAKE=gmake \
+ --without-perl \
+ --without-debug \
+ --without-readline
+CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl
+
+pre-install:
+ @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version
+
+post-install:
+ cd ${WRKSRC} && ${WRKSRC}/scripts/mysql_install_db
+ @ /usr/bin/killall mysqld
+ @ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "#" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "if [ -x /usr/local/bin/safe_mysqld ]" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "then" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo " /usr/local/bin/safe_mysqld & && echo -n ' mysql'" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "fi" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ /bin/chmod 750 ${PREFIX}/etc/rc.d/mysql.sh
+ ${MKDIR} ${PREFIX}/share/doc/mysql
+.for doc in mysql-faq.html mysql-faq.ps mysql-faq_toc.html mysql-faq.txt mysql-faq.texi
+ ${INSTALL_DATA} ${WRKSRC}/FAQs/${doc} ${PREFIX}/share/doc/mysql
+.endfor
+
+.include <bsd.port.mk>
diff --git a/databases/mysql50-server/distinfo b/databases/mysql50-server/distinfo
new file mode 100644
index 00000000000..56ef0405a1b
--- /dev/null
+++ b/databases/mysql50-server/distinfo
@@ -0,0 +1 @@
+MD5 (mysql-3.20.22.tar.gz) = ba4ea86089203a5599105cf2ecf392ff
diff --git a/databases/mysql50-server/pkg-comment b/databases/mysql50-server/pkg-comment
new file mode 100644
index 00000000000..4fe439ba185
--- /dev/null
+++ b/databases/mysql50-server/pkg-comment
@@ -0,0 +1 @@
+a multithreaded SQL database.
diff --git a/databases/mysql50-server/pkg-descr b/databases/mysql50-server/pkg-descr
new file mode 100644
index 00000000000..e852b93a106
--- /dev/null
+++ b/databases/mysql50-server/pkg-descr
@@ -0,0 +1,8 @@
+mySQL is a multithreaded (using MIT pthreads) SQL database with a command
+syntax very similar to mSQL. For more information see http://www.tcx.se
+
+Note: This port does *not* build the perl5 module. To do so, refer to the
+file ${WRKSRC}/INSTALL-SOURCE, in particular, the notes on FreeBSD systems.
+
+josh
+josh@ican.net
diff --git a/databases/mysql50-server/pkg-plist b/databases/mysql50-server/pkg-plist
new file mode 100644
index 00000000000..bbf378e1f13
--- /dev/null
+++ b/databases/mysql50-server/pkg-plist
@@ -0,0 +1,53 @@
+bin/comp_err
+bin/isamchk
+bin/isamlog
+bin/msql2mysql
+bin/mysql
+bin/mysql.server
+bin/mysql_install_db
+bin/mysqlaccess
+bin/mysqladmin
+bin/mysqlbug
+bin/mysqldump
+bin/mysqlshow
+bin/perror
+bin/replace
+bin/safe_mysqld
+bin/which1
+bin/zap
+etc/rc.d/mysql.sh
+include/mysql/m_ctype.h.in
+include/mysql/m_string.h
+include/mysql/my_sys.h
+include/mysql/mysql.h
+include/mysql/mysql_com.h
+include/mysql/dbug.h
+lib/mysql/libheap.a
+lib/mysql/libmerge.a
+lib/mysql/libmysqlclient.a
+lib/mysql/libmystrings.a
+lib/mysql/libmysys.a
+lib/mysql/libnisam.a
+lib/mysql/libdbug.a
+libexec/mysqld
+share/doc/mysql/mysql-faq.html
+share/doc/mysql/mysql-faq.ps
+share/doc/mysql/mysql-faq.texi
+share/doc/mysql/mysql-faq.txt
+share/doc/mysql/mysql-faq_toc.html
+share/mysql/english/errmsg.sys
+share/mysql/english/errmsg.txt
+share/mysql/french/errmsg.sys
+share/mysql/french/errmsg.txt
+share/mysql/germany/errmsg.sys
+share/mysql/germany/errmsg.txt
+share/mysql/swedish/errmsg.sys
+share/mysql/swedish/errmsg.txt
+@dirrm include/mysql
+@dirrm lib/mysql
+@dirrm share/doc/mysql
+@dirrm share/mysql/english
+@dirrm share/mysql/french
+@dirrm share/mysql/germany
+@dirrm share/mysql/swedish
+@dirrm share/mysql
diff --git a/databases/mysql51-client/Makefile b/databases/mysql51-client/Makefile
new file mode 100644
index 00000000000..5d337f53239
--- /dev/null
+++ b/databases/mysql51-client/Makefile
@@ -0,0 +1,49 @@
+# ports collection makefile for: mySQL
+# Version required: v3.20.22
+# Date created: 16 Jun 1997
+# Whom: Josh Tiefenbach <josh@ican.net>
+#
+# $Id:$
+#
+
+DISTNAME= mysql-3.20.22
+CATEGORIES= databases
+MASTER_SITES= http://www.tcx.se/ \
+ http://www.buoy.com/mysql/ \
+ http://web.tryc.on.ca/mysql/ \
+ http://mysql.staufen.de/ \
+ http://mysql.acer.net/
+
+MAINTAINER= josh@ican.net
+
+RUN_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
+ --with-MAKE=gmake \
+ --without-perl \
+ --without-debug \
+ --without-readline
+CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl
+
+pre-install:
+ @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version
+
+post-install:
+ cd ${WRKSRC} && ${WRKSRC}/scripts/mysql_install_db
+ @ /usr/bin/killall mysqld
+ @ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "#" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "if [ -x /usr/local/bin/safe_mysqld ]" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "then" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo " /usr/local/bin/safe_mysqld & && echo -n ' mysql'" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "fi" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ /bin/chmod 750 ${PREFIX}/etc/rc.d/mysql.sh
+ ${MKDIR} ${PREFIX}/share/doc/mysql
+.for doc in mysql-faq.html mysql-faq.ps mysql-faq_toc.html mysql-faq.txt mysql-faq.texi
+ ${INSTALL_DATA} ${WRKSRC}/FAQs/${doc} ${PREFIX}/share/doc/mysql
+.endfor
+
+.include <bsd.port.mk>
diff --git a/databases/mysql51-server/Makefile b/databases/mysql51-server/Makefile
new file mode 100644
index 00000000000..5d337f53239
--- /dev/null
+++ b/databases/mysql51-server/Makefile
@@ -0,0 +1,49 @@
+# ports collection makefile for: mySQL
+# Version required: v3.20.22
+# Date created: 16 Jun 1997
+# Whom: Josh Tiefenbach <josh@ican.net>
+#
+# $Id:$
+#
+
+DISTNAME= mysql-3.20.22
+CATEGORIES= databases
+MASTER_SITES= http://www.tcx.se/ \
+ http://www.buoy.com/mysql/ \
+ http://web.tryc.on.ca/mysql/ \
+ http://mysql.staufen.de/ \
+ http://mysql.acer.net/
+
+MAINTAINER= josh@ican.net
+
+RUN_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
+ --with-MAKE=gmake \
+ --without-perl \
+ --without-debug \
+ --without-readline
+CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl
+
+pre-install:
+ @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version
+
+post-install:
+ cd ${WRKSRC} && ${WRKSRC}/scripts/mysql_install_db
+ @ /usr/bin/killall mysqld
+ @ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "#" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "if [ -x /usr/local/bin/safe_mysqld ]" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "then" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo " /usr/local/bin/safe_mysqld & && echo -n ' mysql'" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "fi" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ /bin/chmod 750 ${PREFIX}/etc/rc.d/mysql.sh
+ ${MKDIR} ${PREFIX}/share/doc/mysql
+.for doc in mysql-faq.html mysql-faq.ps mysql-faq_toc.html mysql-faq.txt mysql-faq.texi
+ ${INSTALL_DATA} ${WRKSRC}/FAQs/${doc} ${PREFIX}/share/doc/mysql
+.endfor
+
+.include <bsd.port.mk>
diff --git a/databases/mysql51-server/distinfo b/databases/mysql51-server/distinfo
new file mode 100644
index 00000000000..56ef0405a1b
--- /dev/null
+++ b/databases/mysql51-server/distinfo
@@ -0,0 +1 @@
+MD5 (mysql-3.20.22.tar.gz) = ba4ea86089203a5599105cf2ecf392ff
diff --git a/databases/mysql51-server/pkg-comment b/databases/mysql51-server/pkg-comment
new file mode 100644
index 00000000000..4fe439ba185
--- /dev/null
+++ b/databases/mysql51-server/pkg-comment
@@ -0,0 +1 @@
+a multithreaded SQL database.
diff --git a/databases/mysql51-server/pkg-descr b/databases/mysql51-server/pkg-descr
new file mode 100644
index 00000000000..e852b93a106
--- /dev/null
+++ b/databases/mysql51-server/pkg-descr
@@ -0,0 +1,8 @@
+mySQL is a multithreaded (using MIT pthreads) SQL database with a command
+syntax very similar to mSQL. For more information see http://www.tcx.se
+
+Note: This port does *not* build the perl5 module. To do so, refer to the
+file ${WRKSRC}/INSTALL-SOURCE, in particular, the notes on FreeBSD systems.
+
+josh
+josh@ican.net
diff --git a/databases/mysql51-server/pkg-plist b/databases/mysql51-server/pkg-plist
new file mode 100644
index 00000000000..bbf378e1f13
--- /dev/null
+++ b/databases/mysql51-server/pkg-plist
@@ -0,0 +1,53 @@
+bin/comp_err
+bin/isamchk
+bin/isamlog
+bin/msql2mysql
+bin/mysql
+bin/mysql.server
+bin/mysql_install_db
+bin/mysqlaccess
+bin/mysqladmin
+bin/mysqlbug
+bin/mysqldump
+bin/mysqlshow
+bin/perror
+bin/replace
+bin/safe_mysqld
+bin/which1
+bin/zap
+etc/rc.d/mysql.sh
+include/mysql/m_ctype.h.in
+include/mysql/m_string.h
+include/mysql/my_sys.h
+include/mysql/mysql.h
+include/mysql/mysql_com.h
+include/mysql/dbug.h
+lib/mysql/libheap.a
+lib/mysql/libmerge.a
+lib/mysql/libmysqlclient.a
+lib/mysql/libmystrings.a
+lib/mysql/libmysys.a
+lib/mysql/libnisam.a
+lib/mysql/libdbug.a
+libexec/mysqld
+share/doc/mysql/mysql-faq.html
+share/doc/mysql/mysql-faq.ps
+share/doc/mysql/mysql-faq.texi
+share/doc/mysql/mysql-faq.txt
+share/doc/mysql/mysql-faq_toc.html
+share/mysql/english/errmsg.sys
+share/mysql/english/errmsg.txt
+share/mysql/french/errmsg.sys
+share/mysql/french/errmsg.txt
+share/mysql/germany/errmsg.sys
+share/mysql/germany/errmsg.txt
+share/mysql/swedish/errmsg.sys
+share/mysql/swedish/errmsg.txt
+@dirrm include/mysql
+@dirrm lib/mysql
+@dirrm share/doc/mysql
+@dirrm share/mysql/english
+@dirrm share/mysql/french
+@dirrm share/mysql/germany
+@dirrm share/mysql/swedish
+@dirrm share/mysql
diff --git a/databases/mysql54-client/Makefile b/databases/mysql54-client/Makefile
new file mode 100644
index 00000000000..5d337f53239
--- /dev/null
+++ b/databases/mysql54-client/Makefile
@@ -0,0 +1,49 @@
+# ports collection makefile for: mySQL
+# Version required: v3.20.22
+# Date created: 16 Jun 1997
+# Whom: Josh Tiefenbach <josh@ican.net>
+#
+# $Id:$
+#
+
+DISTNAME= mysql-3.20.22
+CATEGORIES= databases
+MASTER_SITES= http://www.tcx.se/ \
+ http://www.buoy.com/mysql/ \
+ http://web.tryc.on.ca/mysql/ \
+ http://mysql.staufen.de/ \
+ http://mysql.acer.net/
+
+MAINTAINER= josh@ican.net
+
+RUN_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
+ --with-MAKE=gmake \
+ --without-perl \
+ --without-debug \
+ --without-readline
+CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl
+
+pre-install:
+ @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version
+
+post-install:
+ cd ${WRKSRC} && ${WRKSRC}/scripts/mysql_install_db
+ @ /usr/bin/killall mysqld
+ @ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "#" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "if [ -x /usr/local/bin/safe_mysqld ]" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "then" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo " /usr/local/bin/safe_mysqld & && echo -n ' mysql'" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "fi" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ /bin/chmod 750 ${PREFIX}/etc/rc.d/mysql.sh
+ ${MKDIR} ${PREFIX}/share/doc/mysql
+.for doc in mysql-faq.html mysql-faq.ps mysql-faq_toc.html mysql-faq.txt mysql-faq.texi
+ ${INSTALL_DATA} ${WRKSRC}/FAQs/${doc} ${PREFIX}/share/doc/mysql
+.endfor
+
+.include <bsd.port.mk>
diff --git a/databases/mysql54-server/Makefile b/databases/mysql54-server/Makefile
new file mode 100644
index 00000000000..5d337f53239
--- /dev/null
+++ b/databases/mysql54-server/Makefile
@@ -0,0 +1,49 @@
+# ports collection makefile for: mySQL
+# Version required: v3.20.22
+# Date created: 16 Jun 1997
+# Whom: Josh Tiefenbach <josh@ican.net>
+#
+# $Id:$
+#
+
+DISTNAME= mysql-3.20.22
+CATEGORIES= databases
+MASTER_SITES= http://www.tcx.se/ \
+ http://www.buoy.com/mysql/ \
+ http://web.tryc.on.ca/mysql/ \
+ http://mysql.staufen.de/ \
+ http://mysql.acer.net/
+
+MAINTAINER= josh@ican.net
+
+RUN_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
+ --with-MAKE=gmake \
+ --without-perl \
+ --without-debug \
+ --without-readline
+CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl
+
+pre-install:
+ @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version
+
+post-install:
+ cd ${WRKSRC} && ${WRKSRC}/scripts/mysql_install_db
+ @ /usr/bin/killall mysqld
+ @ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "#" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "if [ -x /usr/local/bin/safe_mysqld ]" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "then" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo " /usr/local/bin/safe_mysqld & && echo -n ' mysql'" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "fi" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ /bin/chmod 750 ${PREFIX}/etc/rc.d/mysql.sh
+ ${MKDIR} ${PREFIX}/share/doc/mysql
+.for doc in mysql-faq.html mysql-faq.ps mysql-faq_toc.html mysql-faq.txt mysql-faq.texi
+ ${INSTALL_DATA} ${WRKSRC}/FAQs/${doc} ${PREFIX}/share/doc/mysql
+.endfor
+
+.include <bsd.port.mk>
diff --git a/databases/mysql54-server/distinfo b/databases/mysql54-server/distinfo
new file mode 100644
index 00000000000..56ef0405a1b
--- /dev/null
+++ b/databases/mysql54-server/distinfo
@@ -0,0 +1 @@
+MD5 (mysql-3.20.22.tar.gz) = ba4ea86089203a5599105cf2ecf392ff
diff --git a/databases/mysql54-server/pkg-comment b/databases/mysql54-server/pkg-comment
new file mode 100644
index 00000000000..4fe439ba185
--- /dev/null
+++ b/databases/mysql54-server/pkg-comment
@@ -0,0 +1 @@
+a multithreaded SQL database.
diff --git a/databases/mysql54-server/pkg-descr b/databases/mysql54-server/pkg-descr
new file mode 100644
index 00000000000..e852b93a106
--- /dev/null
+++ b/databases/mysql54-server/pkg-descr
@@ -0,0 +1,8 @@
+mySQL is a multithreaded (using MIT pthreads) SQL database with a command
+syntax very similar to mSQL. For more information see http://www.tcx.se
+
+Note: This port does *not* build the perl5 module. To do so, refer to the
+file ${WRKSRC}/INSTALL-SOURCE, in particular, the notes on FreeBSD systems.
+
+josh
+josh@ican.net
diff --git a/databases/mysql54-server/pkg-plist b/databases/mysql54-server/pkg-plist
new file mode 100644
index 00000000000..bbf378e1f13
--- /dev/null
+++ b/databases/mysql54-server/pkg-plist
@@ -0,0 +1,53 @@
+bin/comp_err
+bin/isamchk
+bin/isamlog
+bin/msql2mysql
+bin/mysql
+bin/mysql.server
+bin/mysql_install_db
+bin/mysqlaccess
+bin/mysqladmin
+bin/mysqlbug
+bin/mysqldump
+bin/mysqlshow
+bin/perror
+bin/replace
+bin/safe_mysqld
+bin/which1
+bin/zap
+etc/rc.d/mysql.sh
+include/mysql/m_ctype.h.in
+include/mysql/m_string.h
+include/mysql/my_sys.h
+include/mysql/mysql.h
+include/mysql/mysql_com.h
+include/mysql/dbug.h
+lib/mysql/libheap.a
+lib/mysql/libmerge.a
+lib/mysql/libmysqlclient.a
+lib/mysql/libmystrings.a
+lib/mysql/libmysys.a
+lib/mysql/libnisam.a
+lib/mysql/libdbug.a
+libexec/mysqld
+share/doc/mysql/mysql-faq.html
+share/doc/mysql/mysql-faq.ps
+share/doc/mysql/mysql-faq.texi
+share/doc/mysql/mysql-faq.txt
+share/doc/mysql/mysql-faq_toc.html
+share/mysql/english/errmsg.sys
+share/mysql/english/errmsg.txt
+share/mysql/french/errmsg.sys
+share/mysql/french/errmsg.txt
+share/mysql/germany/errmsg.sys
+share/mysql/germany/errmsg.txt
+share/mysql/swedish/errmsg.sys
+share/mysql/swedish/errmsg.txt
+@dirrm include/mysql
+@dirrm lib/mysql
+@dirrm share/doc/mysql
+@dirrm share/mysql/english
+@dirrm share/mysql/french
+@dirrm share/mysql/germany
+@dirrm share/mysql/swedish
+@dirrm share/mysql
diff --git a/databases/mysql55-client/Makefile b/databases/mysql55-client/Makefile
new file mode 100644
index 00000000000..5d337f53239
--- /dev/null
+++ b/databases/mysql55-client/Makefile
@@ -0,0 +1,49 @@
+# ports collection makefile for: mySQL
+# Version required: v3.20.22
+# Date created: 16 Jun 1997
+# Whom: Josh Tiefenbach <josh@ican.net>
+#
+# $Id:$
+#
+
+DISTNAME= mysql-3.20.22
+CATEGORIES= databases
+MASTER_SITES= http://www.tcx.se/ \
+ http://www.buoy.com/mysql/ \
+ http://web.tryc.on.ca/mysql/ \
+ http://mysql.staufen.de/ \
+ http://mysql.acer.net/
+
+MAINTAINER= josh@ican.net
+
+RUN_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
+ --with-MAKE=gmake \
+ --without-perl \
+ --without-debug \
+ --without-readline
+CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl
+
+pre-install:
+ @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version
+
+post-install:
+ cd ${WRKSRC} && ${WRKSRC}/scripts/mysql_install_db
+ @ /usr/bin/killall mysqld
+ @ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "#" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "if [ -x /usr/local/bin/safe_mysqld ]" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "then" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo " /usr/local/bin/safe_mysqld & && echo -n ' mysql'" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "fi" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ /bin/chmod 750 ${PREFIX}/etc/rc.d/mysql.sh
+ ${MKDIR} ${PREFIX}/share/doc/mysql
+.for doc in mysql-faq.html mysql-faq.ps mysql-faq_toc.html mysql-faq.txt mysql-faq.texi
+ ${INSTALL_DATA} ${WRKSRC}/FAQs/${doc} ${PREFIX}/share/doc/mysql
+.endfor
+
+.include <bsd.port.mk>
diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile
new file mode 100644
index 00000000000..5d337f53239
--- /dev/null
+++ b/databases/mysql55-server/Makefile
@@ -0,0 +1,49 @@
+# ports collection makefile for: mySQL
+# Version required: v3.20.22
+# Date created: 16 Jun 1997
+# Whom: Josh Tiefenbach <josh@ican.net>
+#
+# $Id:$
+#
+
+DISTNAME= mysql-3.20.22
+CATEGORIES= databases
+MASTER_SITES= http://www.tcx.se/ \
+ http://www.buoy.com/mysql/ \
+ http://web.tryc.on.ca/mysql/ \
+ http://mysql.staufen.de/ \
+ http://mysql.acer.net/
+
+MAINTAINER= josh@ican.net
+
+RUN_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
+ --with-MAKE=gmake \
+ --without-perl \
+ --without-debug \
+ --without-readline
+CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl
+
+pre-install:
+ @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version
+
+post-install:
+ cd ${WRKSRC} && ${WRKSRC}/scripts/mysql_install_db
+ @ /usr/bin/killall mysqld
+ @ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "#" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "if [ -x /usr/local/bin/safe_mysqld ]" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "then" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo " /usr/local/bin/safe_mysqld & && echo -n ' mysql'" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "fi" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ /bin/chmod 750 ${PREFIX}/etc/rc.d/mysql.sh
+ ${MKDIR} ${PREFIX}/share/doc/mysql
+.for doc in mysql-faq.html mysql-faq.ps mysql-faq_toc.html mysql-faq.txt mysql-faq.texi
+ ${INSTALL_DATA} ${WRKSRC}/FAQs/${doc} ${PREFIX}/share/doc/mysql
+.endfor
+
+.include <bsd.port.mk>
diff --git a/databases/mysql55-server/distinfo b/databases/mysql55-server/distinfo
new file mode 100644
index 00000000000..56ef0405a1b
--- /dev/null
+++ b/databases/mysql55-server/distinfo
@@ -0,0 +1 @@
+MD5 (mysql-3.20.22.tar.gz) = ba4ea86089203a5599105cf2ecf392ff
diff --git a/databases/mysql55-server/pkg-comment b/databases/mysql55-server/pkg-comment
new file mode 100644
index 00000000000..4fe439ba185
--- /dev/null
+++ b/databases/mysql55-server/pkg-comment
@@ -0,0 +1 @@
+a multithreaded SQL database.
diff --git a/databases/mysql55-server/pkg-descr b/databases/mysql55-server/pkg-descr
new file mode 100644
index 00000000000..e852b93a106
--- /dev/null
+++ b/databases/mysql55-server/pkg-descr
@@ -0,0 +1,8 @@
+mySQL is a multithreaded (using MIT pthreads) SQL database with a command
+syntax very similar to mSQL. For more information see http://www.tcx.se
+
+Note: This port does *not* build the perl5 module. To do so, refer to the
+file ${WRKSRC}/INSTALL-SOURCE, in particular, the notes on FreeBSD systems.
+
+josh
+josh@ican.net
diff --git a/databases/mysql55-server/pkg-plist b/databases/mysql55-server/pkg-plist
new file mode 100644
index 00000000000..bbf378e1f13
--- /dev/null
+++ b/databases/mysql55-server/pkg-plist
@@ -0,0 +1,53 @@
+bin/comp_err
+bin/isamchk
+bin/isamlog
+bin/msql2mysql
+bin/mysql
+bin/mysql.server
+bin/mysql_install_db
+bin/mysqlaccess
+bin/mysqladmin
+bin/mysqlbug
+bin/mysqldump
+bin/mysqlshow
+bin/perror
+bin/replace
+bin/safe_mysqld
+bin/which1
+bin/zap
+etc/rc.d/mysql.sh
+include/mysql/m_ctype.h.in
+include/mysql/m_string.h
+include/mysql/my_sys.h
+include/mysql/mysql.h
+include/mysql/mysql_com.h
+include/mysql/dbug.h
+lib/mysql/libheap.a
+lib/mysql/libmerge.a
+lib/mysql/libmysqlclient.a
+lib/mysql/libmystrings.a
+lib/mysql/libmysys.a
+lib/mysql/libnisam.a
+lib/mysql/libdbug.a
+libexec/mysqld
+share/doc/mysql/mysql-faq.html
+share/doc/mysql/mysql-faq.ps
+share/doc/mysql/mysql-faq.texi
+share/doc/mysql/mysql-faq.txt
+share/doc/mysql/mysql-faq_toc.html
+share/mysql/english/errmsg.sys
+share/mysql/english/errmsg.txt
+share/mysql/french/errmsg.sys
+share/mysql/french/errmsg.txt
+share/mysql/germany/errmsg.sys
+share/mysql/germany/errmsg.txt
+share/mysql/swedish/errmsg.sys
+share/mysql/swedish/errmsg.txt
+@dirrm include/mysql
+@dirrm lib/mysql
+@dirrm share/doc/mysql
+@dirrm share/mysql/english
+@dirrm share/mysql/french
+@dirrm share/mysql/germany
+@dirrm share/mysql/swedish
+@dirrm share/mysql
diff --git a/databases/mysql60-client/Makefile b/databases/mysql60-client/Makefile
new file mode 100644
index 00000000000..5d337f53239
--- /dev/null
+++ b/databases/mysql60-client/Makefile
@@ -0,0 +1,49 @@
+# ports collection makefile for: mySQL
+# Version required: v3.20.22
+# Date created: 16 Jun 1997
+# Whom: Josh Tiefenbach <josh@ican.net>
+#
+# $Id:$
+#
+
+DISTNAME= mysql-3.20.22
+CATEGORIES= databases
+MASTER_SITES= http://www.tcx.se/ \
+ http://www.buoy.com/mysql/ \
+ http://web.tryc.on.ca/mysql/ \
+ http://mysql.staufen.de/ \
+ http://mysql.acer.net/
+
+MAINTAINER= josh@ican.net
+
+RUN_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
+ --with-MAKE=gmake \
+ --without-perl \
+ --without-debug \
+ --without-readline
+CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl
+
+pre-install:
+ @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version
+
+post-install:
+ cd ${WRKSRC} && ${WRKSRC}/scripts/mysql_install_db
+ @ /usr/bin/killall mysqld
+ @ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "#" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "if [ -x /usr/local/bin/safe_mysqld ]" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "then" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo " /usr/local/bin/safe_mysqld & && echo -n ' mysql'" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "fi" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ /bin/chmod 750 ${PREFIX}/etc/rc.d/mysql.sh
+ ${MKDIR} ${PREFIX}/share/doc/mysql
+.for doc in mysql-faq.html mysql-faq.ps mysql-faq_toc.html mysql-faq.txt mysql-faq.texi
+ ${INSTALL_DATA} ${WRKSRC}/FAQs/${doc} ${PREFIX}/share/doc/mysql
+.endfor
+
+.include <bsd.port.mk>
diff --git a/databases/mysql60-server/Makefile b/databases/mysql60-server/Makefile
new file mode 100644
index 00000000000..5d337f53239
--- /dev/null
+++ b/databases/mysql60-server/Makefile
@@ -0,0 +1,49 @@
+# ports collection makefile for: mySQL
+# Version required: v3.20.22
+# Date created: 16 Jun 1997
+# Whom: Josh Tiefenbach <josh@ican.net>
+#
+# $Id:$
+#
+
+DISTNAME= mysql-3.20.22
+CATEGORIES= databases
+MASTER_SITES= http://www.tcx.se/ \
+ http://www.buoy.com/mysql/ \
+ http://web.tryc.on.ca/mysql/ \
+ http://mysql.staufen.de/ \
+ http://mysql.acer.net/
+
+MAINTAINER= josh@ican.net
+
+RUN_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
+ --with-MAKE=gmake \
+ --without-perl \
+ --without-debug \
+ --without-readline
+CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl
+
+pre-install:
+ @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version
+
+post-install:
+ cd ${WRKSRC} && ${WRKSRC}/scripts/mysql_install_db
+ @ /usr/bin/killall mysqld
+ @ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "#" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "if [ -x /usr/local/bin/safe_mysqld ]" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "then" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo " /usr/local/bin/safe_mysqld & && echo -n ' mysql'" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "fi" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ /bin/chmod 750 ${PREFIX}/etc/rc.d/mysql.sh
+ ${MKDIR} ${PREFIX}/share/doc/mysql
+.for doc in mysql-faq.html mysql-faq.ps mysql-faq_toc.html mysql-faq.txt mysql-faq.texi
+ ${INSTALL_DATA} ${WRKSRC}/FAQs/${doc} ${PREFIX}/share/doc/mysql
+.endfor
+
+.include <bsd.port.mk>
diff --git a/databases/mysql60-server/distinfo b/databases/mysql60-server/distinfo
new file mode 100644
index 00000000000..56ef0405a1b
--- /dev/null
+++ b/databases/mysql60-server/distinfo
@@ -0,0 +1 @@
+MD5 (mysql-3.20.22.tar.gz) = ba4ea86089203a5599105cf2ecf392ff
diff --git a/databases/mysql60-server/pkg-comment b/databases/mysql60-server/pkg-comment
new file mode 100644
index 00000000000..4fe439ba185
--- /dev/null
+++ b/databases/mysql60-server/pkg-comment
@@ -0,0 +1 @@
+a multithreaded SQL database.
diff --git a/databases/mysql60-server/pkg-descr b/databases/mysql60-server/pkg-descr
new file mode 100644
index 00000000000..e852b93a106
--- /dev/null
+++ b/databases/mysql60-server/pkg-descr
@@ -0,0 +1,8 @@
+mySQL is a multithreaded (using MIT pthreads) SQL database with a command
+syntax very similar to mSQL. For more information see http://www.tcx.se
+
+Note: This port does *not* build the perl5 module. To do so, refer to the
+file ${WRKSRC}/INSTALL-SOURCE, in particular, the notes on FreeBSD systems.
+
+josh
+josh@ican.net
diff --git a/databases/mysql60-server/pkg-plist b/databases/mysql60-server/pkg-plist
new file mode 100644
index 00000000000..bbf378e1f13
--- /dev/null
+++ b/databases/mysql60-server/pkg-plist
@@ -0,0 +1,53 @@
+bin/comp_err
+bin/isamchk
+bin/isamlog
+bin/msql2mysql
+bin/mysql
+bin/mysql.server
+bin/mysql_install_db
+bin/mysqlaccess
+bin/mysqladmin
+bin/mysqlbug
+bin/mysqldump
+bin/mysqlshow
+bin/perror
+bin/replace
+bin/safe_mysqld
+bin/which1
+bin/zap
+etc/rc.d/mysql.sh
+include/mysql/m_ctype.h.in
+include/mysql/m_string.h
+include/mysql/my_sys.h
+include/mysql/mysql.h
+include/mysql/mysql_com.h
+include/mysql/dbug.h
+lib/mysql/libheap.a
+lib/mysql/libmerge.a
+lib/mysql/libmysqlclient.a
+lib/mysql/libmystrings.a
+lib/mysql/libmysys.a
+lib/mysql/libnisam.a
+lib/mysql/libdbug.a
+libexec/mysqld
+share/doc/mysql/mysql-faq.html
+share/doc/mysql/mysql-faq.ps
+share/doc/mysql/mysql-faq.texi
+share/doc/mysql/mysql-faq.txt
+share/doc/mysql/mysql-faq_toc.html
+share/mysql/english/errmsg.sys
+share/mysql/english/errmsg.txt
+share/mysql/french/errmsg.sys
+share/mysql/french/errmsg.txt
+share/mysql/germany/errmsg.sys
+share/mysql/germany/errmsg.txt
+share/mysql/swedish/errmsg.sys
+share/mysql/swedish/errmsg.txt
+@dirrm include/mysql
+@dirrm lib/mysql
+@dirrm share/doc/mysql
+@dirrm share/mysql/english
+@dirrm share/mysql/french
+@dirrm share/mysql/germany
+@dirrm share/mysql/swedish
+@dirrm share/mysql
diff --git a/databases/percona55-client/Makefile b/databases/percona55-client/Makefile
new file mode 100644
index 00000000000..5d337f53239
--- /dev/null
+++ b/databases/percona55-client/Makefile
@@ -0,0 +1,49 @@
+# ports collection makefile for: mySQL
+# Version required: v3.20.22
+# Date created: 16 Jun 1997
+# Whom: Josh Tiefenbach <josh@ican.net>
+#
+# $Id:$
+#
+
+DISTNAME= mysql-3.20.22
+CATEGORIES= databases
+MASTER_SITES= http://www.tcx.se/ \
+ http://www.buoy.com/mysql/ \
+ http://web.tryc.on.ca/mysql/ \
+ http://mysql.staufen.de/ \
+ http://mysql.acer.net/
+
+MAINTAINER= josh@ican.net
+
+RUN_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
+ --with-MAKE=gmake \
+ --without-perl \
+ --without-debug \
+ --without-readline
+CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl
+
+pre-install:
+ @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version
+
+post-install:
+ cd ${WRKSRC} && ${WRKSRC}/scripts/mysql_install_db
+ @ /usr/bin/killall mysqld
+ @ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "#" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "if [ -x /usr/local/bin/safe_mysqld ]" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "then" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo " /usr/local/bin/safe_mysqld & && echo -n ' mysql'" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "fi" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ /bin/chmod 750 ${PREFIX}/etc/rc.d/mysql.sh
+ ${MKDIR} ${PREFIX}/share/doc/mysql
+.for doc in mysql-faq.html mysql-faq.ps mysql-faq_toc.html mysql-faq.txt mysql-faq.texi
+ ${INSTALL_DATA} ${WRKSRC}/FAQs/${doc} ${PREFIX}/share/doc/mysql
+.endfor
+
+.include <bsd.port.mk>
diff --git a/databases/percona55-server/Makefile b/databases/percona55-server/Makefile
new file mode 100644
index 00000000000..5d337f53239
--- /dev/null
+++ b/databases/percona55-server/Makefile
@@ -0,0 +1,49 @@
+# ports collection makefile for: mySQL
+# Version required: v3.20.22
+# Date created: 16 Jun 1997
+# Whom: Josh Tiefenbach <josh@ican.net>
+#
+# $Id:$
+#
+
+DISTNAME= mysql-3.20.22
+CATEGORIES= databases
+MASTER_SITES= http://www.tcx.se/ \
+ http://www.buoy.com/mysql/ \
+ http://web.tryc.on.ca/mysql/ \
+ http://mysql.staufen.de/ \
+ http://mysql.acer.net/
+
+MAINTAINER= josh@ican.net
+
+RUN_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
+ --with-MAKE=gmake \
+ --without-perl \
+ --without-debug \
+ --without-readline
+CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl
+
+pre-install:
+ @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version
+
+post-install:
+ cd ${WRKSRC} && ${WRKSRC}/scripts/mysql_install_db
+ @ /usr/bin/killall mysqld
+ @ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "#" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "if [ -x /usr/local/bin/safe_mysqld ]" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "then" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo " /usr/local/bin/safe_mysqld & && echo -n ' mysql'" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "fi" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ /bin/chmod 750 ${PREFIX}/etc/rc.d/mysql.sh
+ ${MKDIR} ${PREFIX}/share/doc/mysql
+.for doc in mysql-faq.html mysql-faq.ps mysql-faq_toc.html mysql-faq.txt mysql-faq.texi
+ ${INSTALL_DATA} ${WRKSRC}/FAQs/${doc} ${PREFIX}/share/doc/mysql
+.endfor
+
+.include <bsd.port.mk>
diff --git a/databases/percona55-server/distinfo b/databases/percona55-server/distinfo
new file mode 100644
index 00000000000..56ef0405a1b
--- /dev/null
+++ b/databases/percona55-server/distinfo
@@ -0,0 +1 @@
+MD5 (mysql-3.20.22.tar.gz) = ba4ea86089203a5599105cf2ecf392ff
diff --git a/databases/percona55-server/pkg-comment b/databases/percona55-server/pkg-comment
new file mode 100644
index 00000000000..4fe439ba185
--- /dev/null
+++ b/databases/percona55-server/pkg-comment
@@ -0,0 +1 @@
+a multithreaded SQL database.
diff --git a/databases/percona55-server/pkg-descr b/databases/percona55-server/pkg-descr
new file mode 100644
index 00000000000..e852b93a106
--- /dev/null
+++ b/databases/percona55-server/pkg-descr
@@ -0,0 +1,8 @@
+mySQL is a multithreaded (using MIT pthreads) SQL database with a command
+syntax very similar to mSQL. For more information see http://www.tcx.se
+
+Note: This port does *not* build the perl5 module. To do so, refer to the
+file ${WRKSRC}/INSTALL-SOURCE, in particular, the notes on FreeBSD systems.
+
+josh
+josh@ican.net
diff --git a/databases/percona55-server/pkg-plist b/databases/percona55-server/pkg-plist
new file mode 100644
index 00000000000..bbf378e1f13
--- /dev/null
+++ b/databases/percona55-server/pkg-plist
@@ -0,0 +1,53 @@
+bin/comp_err
+bin/isamchk
+bin/isamlog
+bin/msql2mysql
+bin/mysql
+bin/mysql.server
+bin/mysql_install_db
+bin/mysqlaccess
+bin/mysqladmin
+bin/mysqlbug
+bin/mysqldump
+bin/mysqlshow
+bin/perror
+bin/replace
+bin/safe_mysqld
+bin/which1
+bin/zap
+etc/rc.d/mysql.sh
+include/mysql/m_ctype.h.in
+include/mysql/m_string.h
+include/mysql/my_sys.h
+include/mysql/mysql.h
+include/mysql/mysql_com.h
+include/mysql/dbug.h
+lib/mysql/libheap.a
+lib/mysql/libmerge.a
+lib/mysql/libmysqlclient.a
+lib/mysql/libmystrings.a
+lib/mysql/libmysys.a
+lib/mysql/libnisam.a
+lib/mysql/libdbug.a
+libexec/mysqld
+share/doc/mysql/mysql-faq.html
+share/doc/mysql/mysql-faq.ps
+share/doc/mysql/mysql-faq.texi
+share/doc/mysql/mysql-faq.txt
+share/doc/mysql/mysql-faq_toc.html
+share/mysql/english/errmsg.sys
+share/mysql/english/errmsg.txt
+share/mysql/french/errmsg.sys
+share/mysql/french/errmsg.txt
+share/mysql/germany/errmsg.sys
+share/mysql/germany/errmsg.txt
+share/mysql/swedish/errmsg.sys
+share/mysql/swedish/errmsg.txt
+@dirrm include/mysql
+@dirrm lib/mysql
+@dirrm share/doc/mysql
+@dirrm share/mysql/english
+@dirrm share/mysql/french
+@dirrm share/mysql/germany
+@dirrm share/mysql/swedish
+@dirrm share/mysql