[42637] trunk/dports/databases/mysql5-devel/Portfile
ryandesign at macports.org
ryandesign at macports.org
Thu Nov 27 01:34:14 PST 2008
Revision: 42637
http://trac.macports.org/changeset/42637
Author: ryandesign at macports.org
Date: 2008-11-27 01:34:14 -0800 (Thu, 27 Nov 2008)
Log Message:
-----------
mysql5-devel: whitespace changes only
Modified Paths:
--------------
trunk/dports/databases/mysql5-devel/Portfile
Modified: trunk/dports/databases/mysql5-devel/Portfile
===================================================================
--- trunk/dports/databases/mysql5-devel/Portfile 2008-11-27 09:27:39 UTC (rev 42636)
+++ trunk/dports/databases/mysql5-devel/Portfile 2008-11-27 09:34:14 UTC (rev 42637)
@@ -119,13 +119,13 @@
variant innodb_plugin description {Install the InnoDB plugin Early Adopter release 1.0.1} {
distfiles-append ${plugin_distfile}:plugin
-
+
checksums-append \
${plugin_distfile} \
md5 eb9b1c077687444318aa46296548b419 \
sha1 60a357419d8759c869160bd94b2535bd1ebfd2e5 \
rmd160 9208d5a929f3860031fdf8624739db9c08fb74a0
-
+
post-extract {
delete ${worksrcpath}/${innobase_dir}
move ${plugin_worksrcpath} ${worksrcpath}/${innobase_dir}
@@ -139,21 +139,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}
@@ -165,7 +165,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}
@@ -173,7 +173,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}${bindir} my*] {
ln -sf ${bindir}/${f} ${destroot}${prefix}/bin/${f}${major_version}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081127/0a4318db/attachment.html>
More information about the macports-changes
mailing list