[52013] trunk/dports/databases

ryandesign at macports.org ryandesign at macports.org
Mon Jun 8 00:06:21 PDT 2009


Revision: 52013
          http://trac.macports.org/changeset/52013
Author:   ryandesign at macports.org
Date:     2009-06-08 00:06:20 -0700 (Mon, 08 Jun 2009)
Log Message:
-----------
mysql5-server-devel: new port, based on mysql5-server; see #12313

Added Paths:
-----------
    trunk/dports/databases/mysql5-server-devel/
    trunk/dports/databases/mysql5-server-devel/Portfile

Removed Paths:
-------------
    trunk/dports/databases/mysql5-server-devel/Portfile

Deleted: trunk/dports/databases/mysql5-server-devel/Portfile
===================================================================
--- trunk/dports/databases/mysql5-server/Portfile	2009-06-08 03:54:03 UTC (rev 51992)
+++ trunk/dports/databases/mysql5-server-devel/Portfile	2009-06-08 07:06:20 UTC (rev 52013)
@@ -1,67 +0,0 @@
-# $Id$
-
-PortSystem              1.0
-
-name                    mysql5-server
-version                 5.0.82
-set branch              [join [lrange [split ${version} .] 0 1] .]
-homepage                http://www.mysql.com/
-categories              databases
-platforms               darwin
-maintainers             ryandesign
-distfiles
-
-description \
-    Multithreaded SQL database server
-
-long_description \
-    MySQL is an open-source, multi-threaded SQL database \
-    with a command syntax very similar to mSQL.
-
-depends_run \
-    path:bin/mysql_config5:mysql5
-
-set major_version       [strsed ${version} {s/\..*$//}]
-set mysql               mysql${major_version}
-set libdir              ${prefix}/lib/${mysql}
-set bindir              ${libdir}/bin
-set dbdir               ${prefix}/var/db/${mysql}
-set sysconfdir          ${prefix}/etc/${mysql}
-set mysqluser           mysql
-
-startupitem.create      yes
-startupitem.start       "${prefix}/share/${mysql}/mysql/mysql.server start"
-startupitem.stop        "${prefix}/share/${mysql}/mysql/mysql.server stop"
-
-use_configure           no
-
-build {}
-
-destroot {
-    addgroup ${mysqluser}
-    set gid [existsgroup ${mysqluser}]
-    adduser ${mysqluser} gid=${gid} realname=MySQL\ Server
-    
-    xinstall -m 755 -o root -d ${destroot}${prefix}/var/run
-    
-    xinstall -m 755 -o ${mysqluser} -g ${mysqluser} -d \
-        ${destroot}${dbdir} \
-        ${destroot}${prefix}/var/log/${mysql} \
-        ${destroot}${prefix}/var/run/${mysql}
-    destroot.keepdirs-append  \
-        ${destroot}${dbdir} \
-        ${destroot}${prefix}/var/log/${mysql} \
-        ${destroot}${prefix}/var/run/${mysql}
-}
-
-post-install {
-    ui_msg "******************************************************"
-    ui_msg "* In order to setup the database, you might want to run"
-    ui_msg "* sudo -u ${mysqluser} mysql_install_db5"
-    ui_msg "* if this is a new install"
-    ui_msg "******************************************************"
-}
-
-livecheck.check         regex
-livecheck.url           http://dev.mysql.com/doc/refman/${branch}/en/releasenotes-cs-[strsed ${branch} {s/\./-/}].html
-livecheck.regex         {Changes in MySQL ([0-9.]+)}

Copied: trunk/dports/databases/mysql5-server-devel/Portfile (from rev 52010, trunk/dports/databases/mysql5-server/Portfile)
===================================================================
--- trunk/dports/databases/mysql5-server-devel/Portfile	                        (rev 0)
+++ trunk/dports/databases/mysql5-server-devel/Portfile	2009-06-08 07:06:20 UTC (rev 52013)
@@ -0,0 +1,67 @@
+# $Id$
+
+PortSystem              1.0
+
+name                    mysql5-server-devel
+version                 5.1.35
+set branch              [join [lrange [split ${version} .] 0 1] .]
+homepage                http://www.mysql.com/
+categories              databases
+platforms               darwin
+maintainers             ryandesign
+distfiles
+
+description \
+    Multithreaded SQL database server
+
+long_description \
+    MySQL is an open-source, multi-threaded SQL database \
+    with a command syntax very similar to mSQL.
+
+depends_run \
+    port:mysql5-devel
+
+set major_version       [strsed ${version} {s/\..*$//}]
+set mysql               mysql${major_version}
+set libdir              ${prefix}/lib/${mysql}
+set bindir              ${libdir}/bin
+set dbdir               ${prefix}/var/db/${mysql}
+set sysconfdir          ${prefix}/etc/${mysql}
+set mysqluser           mysql
+
+startupitem.create      yes
+startupitem.start       "${prefix}/share/${mysql}/mysql/mysql.server start"
+startupitem.stop        "${prefix}/share/${mysql}/mysql/mysql.server stop"
+
+use_configure           no
+
+build {}
+
+destroot {
+    addgroup ${mysqluser}
+    set gid [existsgroup ${mysqluser}]
+    adduser ${mysqluser} gid=${gid} realname=MySQL\ Server
+    
+    xinstall -m 755 -o root -d ${destroot}${prefix}/var/run
+    
+    xinstall -m 755 -o ${mysqluser} -g ${mysqluser} -d \
+        ${destroot}${dbdir} \
+        ${destroot}${prefix}/var/log/${mysql} \
+        ${destroot}${prefix}/var/run/${mysql}
+    destroot.keepdirs-append  \
+        ${destroot}${dbdir} \
+        ${destroot}${prefix}/var/log/${mysql} \
+        ${destroot}${prefix}/var/run/${mysql}
+}
+
+post-install {
+    ui_msg "******************************************************"
+    ui_msg "* In order to setup the database, you might want to run"
+    ui_msg "* sudo -u ${mysqluser} mysql_install_db5"
+    ui_msg "* if this is a new install"
+    ui_msg "******************************************************"
+}
+
+livecheck.check         regex
+livecheck.url           http://dev.mysql.com/
+livecheck.regex         "(5\\.1\\.\[0-9\.\]+)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090608/90e0b2c9/attachment.html>


More information about the macports-changes mailing list