diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1998-12-01 02:56:08 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1998-12-01 02:56:08 +0000 |
commit | e3f53a8e898741db0dd534aa227c677c3fd559a1 (patch) | |
tree | 80c31cbc5cdc2188df4823251e22b9243c0570a4 /databases/mysql40-server/Makefile | |
parent | 31742ce7029295b6b07dea8ef865818c28070510 (diff) | |
download | ports-e3f53a8e898741db0dd534aa227c677c3fd559a1.tar.gz ports-e3f53a8e898741db0dd534aa227c677c3fd559a1.zip |
Notes
Diffstat (limited to 'databases/mysql40-server/Makefile')
-rw-r--r-- | databases/mysql40-server/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/databases/mysql40-server/Makefile b/databases/mysql40-server/Makefile index 5ed911d49de9..e3108ed7486b 100644 --- a/databases/mysql40-server/Makefile +++ b/databases/mysql40-server/Makefile @@ -3,7 +3,7 @@ # Date created: 26 Jan 1998 # Whom: Josh Tiefenbach <josh@ican.net> # -# $Id: Makefile,v 1.31 1998/11/11 05:37:08 asami Exp $ +# $Id: Makefile,v 1.32 1998/11/21 20:13:46 steve Exp $ # DISTNAME= mysql-3.22.10-beta @@ -61,14 +61,15 @@ pre-fetch: .endif pre-install: -.if defined(PACKAGE_BUILDING) - @ ${RM} -rf /var/db/mysql -.endif +.if !defined(PACKAGE_BUILDING) @ ${SETENV} ${MAKE_ENV} ${PERL5} ${SCRIPTDIR}/check_old_version +.endif post-install: ${MKDIR} ${PREFIX}/share/mysql/mysql +.if !defined(PACKAGE_BUILDING) ${PREFIX}/bin/mysql_install_db +.endif @ ${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh @ ${ECHO} "#" >> ${PREFIX}/etc/rc.d/mysql.sh @ ${ECHO} "" >> ${PREFIX}/etc/rc.d/mysql.sh |