[89686] users/pixilla/dports/databases/mysql55
pixilla at macports.org
pixilla at macports.org
Mon Feb 6 12:00:34 PST 2012
Revision: 89686
http://trac.macports.org/changeset/89686
Author: pixilla at macports.org
Date: 2012-02-06 12:00:34 -0800 (Mon, 06 Feb 2012)
Log Message:
-----------
pixilla/dports/databases/mysql55:
- Add PortGroup select 1.0.
- Add mysql_select file.
- Convert ui_msg to notes.
- Remove unused mysqluser var.
Modified Paths:
--------------
users/pixilla/dports/databases/mysql55/Portfile
Added Paths:
-----------
users/pixilla/dports/databases/mysql55/files/mysql55
Modified: users/pixilla/dports/databases/mysql55/Portfile
===================================================================
--- users/pixilla/dports/databases/mysql55/Portfile 2012-02-06 19:34:48 UTC (rev 89685)
+++ users/pixilla/dports/databases/mysql55/Portfile 2012-02-06 20:00:34 UTC (rev 89686)
@@ -4,6 +4,7 @@
PortSystem 1.0
PortGroup archcheck 1.0
PortGroup cmake 1.0
+PortGroup select 1.0
name mysql55
version 5.5.19
@@ -27,7 +28,7 @@
http://ftp.plusline.de/mysql/Downloads/MySQL-${branch}/
distname mysql-${version}
-dist_subdir mysql5
+dist_subdir ${name}
use_parallel_build yes
patch.pre_args -p1
@@ -40,20 +41,18 @@
port:openssl \
port:readline \
port:cmake
+depends_run port:mysql_select
+select.group mysql
+select.file ${filespath}/${name}
+
set mysql mysql${branch_name}
set libdir ${prefix}/lib/${mysql}
set bindir ${libdir}/bin
set dbdir ${prefix}/var/db/${mysql}
set sysconfdir ${prefix}/etc/${mysql}
-set sockfile ${prefix}/var/run/mysql5/mysqld.sock
+set sockfile ${prefix}/var/run/${mysql}/mysqld.sock
-if {"darwin" == ${os.platform} && ${os.major} > 8} {
- set mysqluser _mysql
-} else {
- set mysqluser mysql
-}
-
configure.args-delete -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib
configure.args-append -DCMAKE_INSTALL_NAME_DIR:STRING=${libdir}/mysql \
-DINSTALL_MANDIR:STRING=share/man \
@@ -117,13 +116,14 @@
}
}
-post-install {
- if {![file exists ${prefix}/etc/LaunchDaemons/org.macports.${mysql}/org.macports.${mysql}.plist]} {
- ui_msg "The MySQL client has been installed."
- ui_msg "If you also want a MySQL server, install the mysql5-server-devel port."
- }
-}
+notes "
+ If you want to run the ${name} server install the ${name}-server port; which will create
+ the system user and group accounts and install the launchd plists to load and unload
+ the service.
+
+"
+
livecheck.type regex
livecheck.version [lindex [split ${version} -] 0]
livecheck.url http://dev.mysql.com/
Added: users/pixilla/dports/databases/mysql55/files/mysql55
===================================================================
--- users/pixilla/dports/databases/mysql55/files/mysql55 (rev 0)
+++ users/pixilla/dports/databases/mysql55/files/mysql55 2012-02-06 20:00:34 UTC (rev 89686)
@@ -0,0 +1,49 @@
+-
+-
+-
+-
+-
+lib/mysql55/bin/innochecksum
+lib/mysql55/bin/msql2mysql
+lib/mysql55/bin/my_print_defaults
+lib/mysql55/bin/myisam_ftdump
+lib/mysql55/bin/myisamchk
+lib/mysql55/bin/myisamlog
+lib/mysql55/bin/myisampack
+lib/mysql55/bin/mysql
+lib/mysql55/bin/mysql_client_test
+-
+lib/mysql55/bin/mysql_config
+lib/mysql55/bin/mysql_convert_table_format
+lib/mysql55/bin/mysql_find_rows
+lib/mysql55/bin/mysql_fix_extensions
+-
+lib/mysql55/bin/mysql_install_db
+lib/mysql55/bin/mysql_plugin
+lib/mysql55/bin/mysql_secure_installation
+lib/mysql55/bin/mysql_setpermission
+lib/mysql55/bin/mysql_tzinfo_to_sql
+lib/mysql55/bin/mysql_upgrade
+lib/mysql55/bin/mysql_waitpid
+lib/mysql55/bin/mysql_zap
+lib/mysql55/bin/mysqlaccess
+lib/mysql55/bin/mysqlaccess.conf
+lib/mysql55/bin/mysqladmin
+lib/mysql55/bin/mysqlbinlog
+lib/mysql55/bin/mysqlbug
+lib/mysql55/bin/mysqlcheck
+lib/mysql55/bin/mysqld_multi
+lib/mysql55/bin/mysqld_safe
+lib/mysql55/bin/mysqldump
+lib/mysql55/bin/mysqldumpslow
+lib/mysql55/bin/mysqlhotcopy
+lib/mysql55/bin/mysqlimport
+lib/mysql55/bin/mysqlshow
+lib/mysql55/bin/mysqlslap
+lib/mysql55/bin/mysqltest
+-
+lib/mysql55/bin/perror
+lib/mysql55/bin/replace
+lib/mysql55/bin/resolve_stack_dump
+lib/mysql55/bin/resolveip
+-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120206/d4af4e62/attachment.html>
More information about the macports-changes
mailing list