diff options
author | jfitz <jfitz@FreeBSD.org> | 1997-06-19 03:35:30 +0800 |
---|---|---|
committer | jfitz <jfitz@FreeBSD.org> | 1997-06-19 03:35:30 +0800 |
commit | 491b070f4fc1b0c207e48ac0edfa4cd78f10660f (patch) | |
tree | 3383e081b6124478d14bba3518e63a448b1f48ca /databases/mysql54-client | |
parent | 3fc6fb16e5c4bd9808b77cb4864b8d621d0e6b1f (diff) | |
download | freebsd-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/mysql54-client')
-rw-r--r-- | databases/mysql54-client/Makefile | 49 |
1 files changed, 49 insertions, 0 deletions
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> |