[21587] trunk/dports/mail/sympa/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Mon Jan 29 18:14:35 PST 2007


Revision: 21587
          http://trac.macosforge.org/projects/macports/changeset/21587
Author:   markd at macports.org
Date:     2007-01-29 18:14:35 -0800 (Mon, 29 Jan 2007)

Log Message:
-----------
Move startupitems out of server variant, ui_msg changes.

Modified Paths:
--------------
    trunk/dports/mail/sympa/Portfile

Modified: trunk/dports/mail/sympa/Portfile
===================================================================
--- trunk/dports/mail/sympa/Portfile	2007-01-30 02:07:34 UTC (rev 21586)
+++ trunk/dports/mail/sympa/Portfile	2007-01-30 02:14:35 UTC (rev 21587)
@@ -94,28 +94,16 @@
 }
 
 variant server  {
+# This variant doesn't do anything in this port, it only exists to trigger the server
+# variant in the mysql5 port.
+}
+
 # Create a startupitem to start/stop the server
     startupitem.create    yes
     startupitem.start    "${prefix}/share/${name}/sympa"
     startupitem.stop     "${prefix}/share/${name}/sympa"
-}
 
-pre-fetch {
-        ui_msg "\n
 
-                   ************************************************
-	           **** It is recommended that you pre-install ****
-	           **** MySQL5 with the +server variant so     ****
-	           **** MySQL will start at system boot.  To   ****
-	           **** do so:				       ****
-
-	              1) Cancel this install now with Cntrl-C.
-	              2) Type \"port install mysql5 +server\"
-	              3) Re-run the Sympa port install
-	           ************************************************
-		\n"
-}
-
 pre-destroot {
 # Use sympa.generic startup script and fix paths
         reinplace "s|PATH=/usr/bin:/bin:/usr/sbin:/sbin|PATH=${prefix}/bin:${prefix}/sbin:/usr/bin:/bin:/usr/sbin:/sbin|g" \
@@ -221,9 +209,6 @@
    Set MySQL to start at system boot (optional)
 	sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist
 
-NOTE: MySQL must have been installed with the +server variant in order to
-      use launchctl to run MySQL at system boot.
-
    Set a MySQL root password:
 	Follow the instructions that were given after you executed 'mysql_install_db' above.
 
@@ -260,6 +245,7 @@
 	ScriptAlias /sympa ${prefix}/share/sympa/cgi-bin/wwsympa.fcgi
 
    Start Apache 2: (Turn off personal web sharing first!)
+	sudo launchctl load -w /Library/LaunchDaemons/org.darwinports.apache2.plist
 	sudo ${prefix}/apache2/bin/apachectl start
 
 

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


More information about the macports-changes mailing list