1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name sysbench |
---|
7 | version 0.4.12 |
---|
8 | revision 0 |
---|
9 | |
---|
10 | categories benchmarks |
---|
11 | platforms darwin |
---|
12 | license GPL-2 |
---|
13 | |
---|
14 | maintainers gmail.com:alexander.janssen |
---|
15 | description SysBench: a system performance benchmark |
---|
16 | long_description SysBench is a modular, cross-platform and multi-threaded \ |
---|
17 | benchmark tool for evaluating OS parameters that are \ |
---|
18 | important for a system running a database under intensive \ |
---|
19 | load. |
---|
20 | |
---|
21 | homepage http://sysbench.sourceforge.net/ |
---|
22 | master_sites sourceforge:project/sysbench/sysbench/${version} |
---|
23 | checksums rmd160 b77c8bf31d84f075ec69ef3972afb8baed02e6bc \ |
---|
24 | sha256 83fa7464193e012c91254e595a89894d8e35b4a38324b52a5974777e3823ea9e |
---|
25 | |
---|
26 | depends_build port:libxslt |
---|
27 | |
---|
28 | patch.pre_args -p1 |
---|
29 | patchfiles patch-sysbench-0.4.12.diff |
---|
30 | |
---|
31 | autoreconf.pre_args -vfi |
---|
32 | use_autoreconf yes |
---|
33 | |
---|
34 | post-extract { |
---|
35 | file mkdir ${worksrcpath}/m4 |
---|
36 | touch ${worksrcpath}/NEWS |
---|
37 | touch ${worksrcpath}/AUTHORS |
---|
38 | } |
---|
39 | |
---|
40 | default_variants +universal |
---|
41 | |
---|
42 | configure.args --without-mysql |
---|
43 | |
---|
44 | variant mysql5 conflicts mysql55 percona mariadb description {Use MySQL 5.1 libraries} { |
---|
45 | depends_lib-append port:mysql5 |
---|
46 | configure.args-delete --without-mysql |
---|
47 | configure.args-append \ |
---|
48 | --with-mysql-includes=${prefix}/include/mysql5/mysql \ |
---|
49 | --with-mysql-libs=${prefix}/lib/mysql5/mysql |
---|
50 | } |
---|
51 | |
---|
52 | variant mysql55 conflicts mysql5 percona mariadb description {Use MySQL 5.5 libraries} { |
---|
53 | depends_lib-append port:mysql55 |
---|
54 | configure.args-delete --without-mysql |
---|
55 | configure.args-append \ |
---|
56 | --with-mysql-includes=${prefix}/include/mysql55/mysql \ |
---|
57 | --with-mysql-libs=${prefix}/lib/mysql55/mysql |
---|
58 | } |
---|
59 | |
---|
60 | variant percona conflicts mysql5 mysql55 mariadb description {Use Percona MySQL libraries} { |
---|
61 | depends_lib-append port:percona |
---|
62 | configure.args-delete --without-mysql |
---|
63 | configure.args-append \ |
---|
64 | --with-mysql-includes=${prefix}/include/percona/mysql \ |
---|
65 | --with-mysql-libs=${prefix}/lib/percona/mysql |
---|
66 | } |
---|
67 | |
---|
68 | variant mariadb conflicts mysql5 mysql55 percona description {Use MariaDB MySQL libraries} { |
---|
69 | depends_lib-append port:percona |
---|
70 | configure.args-delete --without-mysql |
---|
71 | configure.args-append \ |
---|
72 | --with-mysql-includes=${prefix}/include/percona/mysql \ |
---|
73 | --with-mysql-libs=${prefix}/lib/percona/mysql |
---|
74 | } |
---|
75 | |
---|
76 | variant universal description {Build without database support} {} |
---|
77 | |
---|