Ticket #15134: Portfile.diff
File Portfile.diff, 2.4 KB (added by akira@…, 17 years ago) |
---|
-
mysql5-devel/Portfile
5 5 name mysql5-devel 6 6 set vers 5.1.24 7 7 version ${vers}-rc 8 revision 1 8 9 set branch [join [lrange [split ${version} .] 0 1] .] 9 10 homepage http://www.mysql.com/ 10 11 categories databases … … 27 28 http://mysql.oss.eznetsols.org/Downloads/MySQL-${branch}/ \ 28 29 http://mirrors.sunsite.dk/mysql/Downloads/MySQL-${branch}/ \ 29 30 http://sunsite.informatik.rwth-aachen.de/mysql/Downloads/MySQL-${branch}/ \ 30 http://ftp.plusline.de/mysql/Downloads/MySQL-${branch}/ 31 http://ftp.plusline.de/mysql/Downloads/MySQL-${branch}/ \ 32 http://www.innodb.com/download/innodb_plugin/:plugin 31 33 34 set plugin_distname innodb_plugin-1.0.0-5.1 35 set plugin_distfile ${plugin_distname}.tar.gz 36 set plugin_worksrcdir ${plugin_distname} 37 set plugin_worksrcpath ${workpath}/${plugin_worksrcdir} 38 set innobase_dir storage/innobase 39 32 40 checksums \ 33 md5 5f75d7593af35be125fa3fc21509337a \ 34 sha1 5ce208da7832549a99ab07a1377ce2329fc74602 \ 35 rmd160 4ec3c8623e13c9b79635f64cf088ca8a16b50ea8 41 [suffix ${distname}] \ 42 md5 5f75d7593af35be125fa3fc21509337a \ 43 sha1 5ce208da7832549a99ab07a1377ce2329fc74602 \ 44 rmd160 4ec3c8623e13c9b79635f64cf088ca8a16b50ea8 \ 45 [suffix ${plugin_distname}] \ 46 md5 1082a4a0e5a10943922f8e371caf6808 \ 47 sha1 055db3501de4e687370947cdcb431b1659a7cec0 \ 48 rmd160 33cd6c724b24ab63204ccbec29c2e69b1b3ed028 36 49 37 50 depends_lib \ 38 51 port:zlib \ … … 89 102 startupitem.stop "${prefix}/share/${mysql}/mysql/mysql.server stop" 90 103 } 91 104 105 variant innodb_plugin description {Install the innodb plugin} { 106 distfiles-append ${plugin_distfile}:plugin 107 108 post-extract { 109 delete ${worksrcpath}/${innobase_dir} 110 xinstall -m 755 -d ${worksrcpath}/[file dirname ${innobase_dir}] 111 move ${plugin_worksrcpath} ${worksrcpath}/${innobase_dir} 112 # Bug #36222 (http://bugs.mysql.com/bug.php?id=36222) 113 reinplace "s;@MKDIR_P@;@mkdir_p@;" ${worksrcpath}/${innobase_dir}/Makefile.in 114 } 115 } 116 92 117 # the directories ${prefix}/sql-bench ${prefix}/mysql-test 93 118 destroot.violate_mtree yes 94 119