[26748] trunk/dports/databases/mysql5/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Jul 5 14:50:41 PDT 2007


Revision: 26748
          http://trac.macosforge.org/projects/macports/changeset/26748
Author:   ryandesign at macports.org
Date:     2007-07-05 14:50:41 -0700 (Thu, 05 Jul 2007)

Log Message:
-----------
mysql5: whitespace/formatting changes only

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

Modified: trunk/dports/databases/mysql5/Portfile
===================================================================
--- trunk/dports/databases/mysql5/Portfile	2007-07-05 21:46:31 UTC (rev 26747)
+++ trunk/dports/databases/mysql5/Portfile	2007-07-05 21:50:41 UTC (rev 26748)
@@ -1,59 +1,67 @@
 # $Id$
 
-PortSystem 1.0
+PortSystem          1.0
 
-name			mysql5
-version			5.0.41
+name                mysql5
+version             5.0.41
+homepage            http://www.mysql.com/
+categories          databases
+platforms           darwin
+maintainers         ryandesign
+distname            mysql-${version}
 
-categories		databases
-platforms		darwin
+description \
+	Multithreaded SQL database server
 
-maintainers		ryandesign
+long_description \
+	MySQL is an open-source, multi-threaded SQL database \
+	with a command syntax very similar to mSQL.
 
-description		Multithreaded SQL database server
-long_description	MySQL is an open-source, multi-threaded SQL database \
-				with a command syntax very similar to mSQL.
+master_sites \
+	http://mysql.mirrors.pair.com/Downloads/MySQL-5.0/ \
+	http://mysql.he.net/Downloads/MySQL-5.0/ \
+	http://mysql.orst.edu/Downloads/MySQL-5.0 \
+	http://mysql.oss.eznetsols.org/Downloads/MySQL-5.0/ \
+	http://mirrors.sunsite.dk/mysql/Downloads/MySQL-5.0/ \
+	http://sunsite.informatik.rwth-aachen.de/mysql/Downloads/MySQL-5.0/ \
+	http://ftp.plusline.de/mysql/Downloads/MySQL-5.0/
 
-homepage		http://www.mysql.com/
-master_sites	http://mysql.mirrors.pair.com/Downloads/MySQL-5.0/ \
-				http://mysql.he.net/Downloads/MySQL-5.0/ \
-				http://mysql.orst.edu/Downloads/MySQL-5.0 \
-				http://mysql.oss.eznetsols.org/Downloads/MySQL-5.0/ \
-				http://mirrors.sunsite.dk/mysql/Downloads/MySQL-5.0/ \
-				http://sunsite.informatik.rwth-aachen.de/mysql/Downloads/MySQL-5.0/ \
-				http://ftp.plusline.de/mysql/Downloads/MySQL-5.0/
-distname		mysql-${version}
-checksums		md5 b45cd6c89e35dfc1cdbe1a1f782aefbf \
-				sha1 cc2a119c9e07173fce6d78fc87d96c6102eeab36
+checksums \
+	md5 b45cd6c89e35dfc1cdbe1a1f782aefbf \
+	sha1 cc2a119c9e07173fce6d78fc87d96c6102eeab36
 
-depends_lib		port:zlib \
-				port:openssl
+depends_lib \
+	port:zlib \
+	port:openssl
 
-patchfiles	patch-mysys-base64.c
-				
-set dbdir       ${prefix}/var/db/${name}
-set mysqluser	mysql
+patchfiles \
+	patch-mysys-base64.c
 
-configure.args	--mandir=${prefix}/share/man \
-				--infodir=${prefix}/share/info \
-				--localstatedir=${dbdir} \
-				--libdir=${prefix}/lib/${name} \
-				--bindir=${prefix}/lib/${name}/bin \
-				--includedir=${prefix}/include/${name} \
-				--datadir=${prefix}/share/${name} \
-				--sysconfdir=${prefix}/etc/${name} \
-				--with-zlib-dir=${prefix} \
-				--with-openssl=${prefix} \
-				--with-extra-charsets=complex \
-				--with-unix-socket-path=${prefix}/var/run/${name}/mysqld.sock \
-				--with-mysqld-user=${mysqluser} \
-				--without-bench \
-				--enable-thread-safe-client
+set dbdir           ${prefix}/var/db/${name}
+set mysqluser       mysql
 
+configure.args \
+	--mandir=${prefix}/share/man \
+	--infodir=${prefix}/share/info \
+	--localstatedir=${dbdir} \
+	--libdir=${prefix}/lib/${name} \
+	--bindir=${prefix}/lib/${name}/bin \
+	--includedir=${prefix}/include/${name} \
+	--datadir=${prefix}/share/${name} \
+	--sysconfdir=${prefix}/etc/${name} \
+	--with-zlib-dir=${prefix} \
+	--with-openssl=${prefix} \
+	--with-extra-charsets=complex \
+	--with-unix-socket-path=${prefix}/var/run/${name}/mysqld.sock \
+	--with-mysqld-user=${mysqluser} \
+	--without-bench \
+	--enable-thread-safe-client
+
 platform darwin 8 {
-	configure.env	CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+	configure.env \
+		CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
 }
-				
+
 variant server {
 	# Create a startupitem to start/stop the server
 	startupitem.create	yes
@@ -71,7 +79,7 @@
 		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
 		
@@ -85,7 +93,7 @@
 }
 
 post-destroot {
-        delete ${destroot}${prefix}/mysql-test
+	delete ${destroot}${prefix}/mysql-test
 	
 	# Symlink mysql binaries into bin directory, with a 5 appended to the name
 	cd ${destroot}${prefix}/bin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070705/d88b7564/attachment.html


More information about the macports-changes mailing list