[34202] trunk/dports/databases/mysql5-devel/Portfile
jwa at macports.org
jwa at macports.org
Sun Feb 17 06:24:30 PST 2008
Revision: 34202
http://trac.macosforge.org/projects/macports/changeset/34202
Author: jwa at macports.org
Date: 2008-02-17 06:24:27 -0800 (Sun, 17 Feb 2008)
Log Message:
-----------
lint clean trailing whitespace
Modified Paths:
--------------
trunk/dports/databases/mysql5-devel/Portfile
Modified: trunk/dports/databases/mysql5-devel/Portfile
===================================================================
--- trunk/dports/databases/mysql5-devel/Portfile 2008-02-17 12:19:45 UTC (rev 34201)
+++ trunk/dports/databases/mysql5-devel/Portfile 2008-02-17 14:24:27 UTC (rev 34202)
@@ -97,16 +97,16 @@
# Some directories we must have in all cases
xinstall -m 755 -d ${destroot}${sysconfdir}
destroot.keepdirs-append ${destroot}${sysconfdir}
-
+
# Setup only for server
if { [variant_isset server] } {
addgroup ${mysqluser}
set gid [existsgroup ${mysqluser}]
adduser ${mysqluser} gid=${gid} realname=MySQL\ Server
-
+
# Some directories we must have only if we're running as a server
xinstall -m 755 -o root -d ${destroot}${prefix}/var/run
-
+
xinstall -m 755 -o ${mysqluser} -g ${mysqluser} -d \
${destroot}${dbdir} \
${destroot}${prefix}/var/run/${mysql}
@@ -118,7 +118,7 @@
post-destroot {
delete ${destroot}${prefix}/mysql-test
-
+
# Fix paths in manpages and sample configuration files
foreach manpage [glob -type f ${destroot}${prefix}/share/man/man\[1-9\]/*] {
reinplace "s|/etc/my.cnf|${sysconfdir}/my.cnf|g" ${manpage}
@@ -126,7 +126,7 @@
foreach samp_conffile [glob -type f ${destroot}${prefix}/share/${mysql}/mysql/my-*.cnf] {
reinplace "s|/etc/my.cnf|${sysconfdir}/my.cnf|g" ${samp_conffile}
}
-
+
# Symlink mysql binaries into bin directory, with ${major_version} appended to the name
foreach f [glob -tails -directory ${destroot}${prefix}/lib/${mysql}/bin my*] {
ln -sf ../lib/${mysql}/bin/${f} ${destroot}${prefix}/bin/${f}${major_version}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080217/06ad9a87/attachment.html
More information about the macports-changes
mailing list