summaryrefslogtreecommitdiff
path: root/databases/mysql50-client/Makefile
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-02-23 02:55:34 +0000
committerSteve Price <steve@FreeBSD.org>1998-02-23 02:55:34 +0000
commit759f03cceb96bd6d8629c7ec35feefd759ca0178 (patch)
treeedf0557e57ff163f6286d9d654bbc1de83fa6411 /databases/mysql50-client/Makefile
parentMaster site changed. (diff)
Create the /var/db/mysql/* files in the package'd version of
this port. Also sort pkg/PLIST and some minor portlint mods. PR: 5014
Notes
Notes: svn path=/head/; revision=9891
Diffstat (limited to 'databases/mysql50-client/Makefile')
-rw-r--r--databases/mysql50-client/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/databases/mysql50-client/Makefile b/databases/mysql50-client/Makefile
index 1b49c8cab250..05680d8383d9 100644
--- a/databases/mysql50-client/Makefile
+++ b/databases/mysql50-client/Makefile
@@ -3,17 +3,20 @@
# Date created: 26 Jan 1998
# Whom: Josh Tiefenbach <josh@ican.net>
#
-# $Id: Makefile,v 1.14 1998/01/13 04:48:26 asami Exp $
+# $Id: Makefile,v 1.15 1998/01/26 18:24:42 jfitz Exp $
#
DISTNAME= mysql-3.21.21a-beta
PKGNAME= mysql-3.21.21b
CATEGORIES= databases
MASTER_SITES= http://www.buoy.com/mysql/Downloads/MySQL-3.21/ \
- http://mysql.polaris.ca/Downloads/MySQL-3.21/ \
- http://www.tcx.se/Downloads/MySQL-3.21/
+ http://mysql.polaris.ca/Downloads/MySQL-3.21/ \
+ http://www.tcx.se/Downloads/MySQL-3.21/
+
MAINTAINER= josh@ican.net
+MAN1= mysql.1
+
USE_GMAKE= YES
USE_PERL5= YES
GNU_CONFIGURE= YES
@@ -31,7 +34,9 @@ pre-install:
@ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version
post-install:
- cd ${WRKSRC} && ${WRKSRC}/scripts/mysql_install_db
+ ${MKDIR} -p ${PREFIX}/share/mysql/mysql
+ ${CP} ${WRKSRC}/data/mysql/*.frm ${PREFIX}/share/mysql/mysql
+ ${PREFIX}/bin/mysql_install_db
@ /usr/bin/killall mysqld
@ ${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh
@ ${ECHO} "#" >> ${PREFIX}/etc/rc.d/mysql.sh