aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql41-client
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-02-23 10:55:34 +0800
committersteve <steve@FreeBSD.org>1998-02-23 10:55:34 +0800
commit24f932c25ac029dc9f222c6af9c96a1a39d61560 (patch)
tree882053b2946438034bad7217a405b9d15362e632 /databases/mysql41-client
parentc7597d7f663fc9d7b96d43c7c7337dafcbf38119 (diff)
downloadfreebsd-ports-gnome-24f932c25ac029dc9f222c6af9c96a1a39d61560.tar.gz
freebsd-ports-gnome-24f932c25ac029dc9f222c6af9c96a1a39d61560.tar.zst
freebsd-ports-gnome-24f932c25ac029dc9f222c6af9c96a1a39d61560.zip
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
Diffstat (limited to 'databases/mysql41-client')
-rw-r--r--databases/mysql41-client/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/databases/mysql41-client/Makefile b/databases/mysql41-client/Makefile
index 1b49c8cab250..05680d8383d9 100644
--- a/databases/mysql41-client/Makefile
+++ b/databases/mysql41-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