Changeset 14683 for trunk/dports


Ignore:
Timestamp:
Oct 18, 2005, 4:36:09 AM (14 years ago)
Author:
jberry
Message:

Cleanup names in some of the mysql startup scripts to account for our
mangling of the executable names.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/mysql5/Portfile

    r14493 r14683  
    1 # $Id: Portfile,v 1.11 2005/10/09 01:42:38 jberry Exp $
     1# $Id: Portfile,v 1.12 2005/10/18 04:36:09 jberry Exp $
    22
    33PortSystem 1.0
     
    55name                    mysql5
    66version                 5.0.13-rc
    7 revision                2
     7revision                3
    88categories              databases
    99platforms               darwin
     
    5555        xinstall -m 755 -d ${destroot}${prefix}/etc/${name}
    5656        destroot.keepdirs-append ${destroot}${prefix}/etc/${name}
    57 
     57       
    5858        # Setup only for server
    5959        if { [variant_isset server] } {
     
    7777        system "rm -rf ${destroot}${prefix}/mysql-test/"
    7878        system "cd ${destroot}${prefix}/bin && ln -sf ../lib/${name}/bin/mysql5 ."
     79
     80        # Cleanup names in some of the scripts to account for our name mangling
     81        reinplace s|mysqlmanager|mysql5manager|         ${destroot}${prefix}/share/mysql5/mysql/mysql5.server
     82        reinplace s|mysqld_safe|mysql5d_safe|           ${destroot}${prefix}/share/mysql5/mysql/mysql5.server
     83        reinplace s|MYSQLD=mysqld|MYSQLD=mysql5d|       ${destroot}${prefix}/lib/mysql5/bin/mysql5d_safe
    7984}
    8085
Note: See TracChangeset for help on using the changeset viewer.