summaryrefslogtreecommitdiffstats
path: root/databases/mysql40-server/Makefile
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>1999-07-04 14:55:14 +0000
committerdirk <dirk@FreeBSD.org>1999-07-04 14:55:14 +0000
commit0e949fa5caa53593b35e01662a11860e8783b78d (patch)
tree7725b2905d9a7c363dd0cd794bab6186b44a06f7 /databases/mysql40-server/Makefile
parent839673c1221ee7ae0e367474f6ad61d2e85ed355 (diff)
downloadFreeBSD-ports-0e949fa5caa53593b35e01662a11860e8783b78d.zip
FreeBSD-ports-0e949fa5caa53593b35e01662a11860e8783b78d.tar.gz
- install gifs for HTML documentation
- put mysqld in a sandbox: - create user and group 'mysql' (uid and gid 88) - start mysqld with user 'mysql'
Diffstat (limited to 'databases/mysql40-server/Makefile')
-rw-r--r--databases/mysql40-server/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/databases/mysql40-server/Makefile b/databases/mysql40-server/Makefile
index 8e7bbe5..b937849 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.56 1999/06/23 21:29:27 billf Exp $
+# $Id: Makefile,v 1.57 1999/07/01 08:44:48 dirk Exp $
#
DISTNAME= mysql-3.22.23b
@@ -78,21 +78,23 @@ pre-install:
post-install:
.if !defined(PACKAGE_BUILDING)
${PREFIX}/bin/mysql_install_db
+ @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif
@${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql-server.sh
@${ECHO} "#" >> ${PREFIX}/etc/rc.d/mysql-server.sh
@${ECHO} "" >> ${PREFIX}/etc/rc.d/mysql-server.sh
@${ECHO} "if [ -x ${PREFIX}/bin/safe_mysqld ]" >> ${PREFIX}/etc/rc.d/mysql-server.sh
@${ECHO} "then" >> ${PREFIX}/etc/rc.d/mysql-server.sh
- @${ECHO} " ${PREFIX}/bin/safe_mysqld > /dev/null & && ${ECHO} -n ' mysql'" >> ${PREFIX}/etc/rc.d/mysql-server.sh
+ @${ECHO} " ${PREFIX}/bin/safe_mysqld --user=mysql > /dev/null & && ${ECHO} -n ' mysql'" >> ${PREFIX}/etc/rc.d/mysql-server.sh
@${ECHO} "fi" >> ${PREFIX}/etc/rc.d/mysql-server.sh
@/bin/chmod 750 ${PREFIX}/etc/rc.d/mysql-server.sh
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/mysql
+ ${MKDIR} ${PREFIX}/share/doc/mysql/Img
.for doc in manual.html manual.ps manual_toc.html manual.txt manual.texi include.texi
${INSTALL_DATA} ${WRKSRC}/Docs/${doc} ${PREFIX}/share/doc/mysql
.endfor
+ ${INSTALL_DATA} ${WRKSRC}/Docs/Img/*.gif ${PREFIX}/share/doc/mysql/Img
${INSTALL_DATA} ${WRKSRC}/Docs/mysql.info ${PREFIX}/info
@install-info ${PREFIX}/info/mysql.info ${PREFIX}/info/dir
.endif
OpenPOWER on IntegriCloud