[39949] trunk/dports/databases/mysql5-devel/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Sep 13 19:24:01 PDT 2008


Revision: 39949
          http://trac.macports.org/changeset/39949
Author:   ryandesign at macports.org
Date:     2008-09-13 19:24:00 -0700 (Sat, 13 Sep 2008)
Log Message:
-----------
mysql5-devel: whitespace changes to make it consistent with the mysql5 port and my stylistic preferences; see #14142

Modified Paths:
--------------
    trunk/dports/databases/mysql5-devel/Portfile

Modified: trunk/dports/databases/mysql5-devel/Portfile
===================================================================
--- trunk/dports/databases/mysql5-devel/Portfile	2008-09-14 02:11:58 UTC (rev 39948)
+++ trunk/dports/databases/mysql5-devel/Portfile	2008-09-14 02:24:00 UTC (rev 39949)
@@ -122,21 +122,21 @@
     # Some directories we must have in all cases
     xinstall -m 755 -d ${destroot}${sysconfdir}
     destroot.keepdirs-append ${destroot}${sysconfdir}
-
+    
     # It has trouble installing in parallel if this doesn't already exist
     # See http://bugs.mysql.com/36560
     xinstall -d ${destroot}${prefix}/mysql-test
     xinstall -d ${destroot}${prefix}/mysql-test/ndb
-
+    
     # 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}
@@ -148,7 +148,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}
@@ -156,7 +156,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/20080913/ba1d35ce/attachment.html 


More information about the macports-changes mailing list