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 1 |
---|
9 | |
---|
10 | categories devel |
---|
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 | Builds by default against MySQL 5.5. |
---|
21 | |
---|
22 | homepage http://sysbench.sourceforge.net/ |
---|
23 | master_sites sourceforge |
---|
24 | checksums rmd160 b77c8bf31d84f075ec69ef3972afb8baed02e6bc \ |
---|
25 | sha256 83fa7464193e012c91254e595a89894d8e35b4a38324b52a5974777e3823ea9e |
---|
26 | |
---|
27 | depends_build port:libtool \ |
---|
28 | port:libxslt \ |
---|
29 | port:autoconf \ |
---|
30 | port:automake \ |
---|
31 | port:libtool |
---|
32 | |
---|
33 | depends_lib port:mysql55 \ |
---|
34 | port:zlib \ |
---|
35 | port:openssl |
---|
36 | |
---|
37 | patch.pre_args -p1 |
---|
38 | patchfiles sysbench-0.4.12.patch |
---|
39 | |
---|
40 | autoreconf.pre_args -vfi |
---|
41 | use_autoreconf yes |
---|
42 | |
---|
43 | configure.args --with-mysql-includes=${prefix}/include/mysql55/mysql \ |
---|
44 | --with-mysql-libs=${prefix}/lib/mysql55/mysql |
---|
45 | |
---|
46 | variant mysql4 description {Use MySQL4 libraries} { |
---|
47 | depends_lib-delete port:mysql55 |
---|
48 | depends_lib-append port:mysql4 |
---|
49 | configure.args-delete \ |
---|
50 | --with-mysql-includes=${prefix}/include/mysql55/mysql \ |
---|
51 | --with-mysql-libs=${prefix}/lib/mysql55/mysql |
---|
52 | configure.args-append \ |
---|
53 | --with-mysql-includes=${prefix}/include/mysql4/mysql \ |
---|
54 | --with-mysql-libs=${prefix}/lib/mysql4/mysql |
---|
55 | } |
---|
56 | |
---|
57 | variant mysql5 description {Use MySQL 5.1 libraries} { |
---|
58 | depends_lib-delete port:mysql55 |
---|
59 | depends_lib-append port:mysql5 |
---|
60 | configure.args-delete \ |
---|
61 | --with-mysql-includes=${prefix}/include/mysql55/mysql \ |
---|
62 | --with-mysql-libs=${prefix}/lib/mysql55/mysql |
---|
63 | configure.args-append \ |
---|
64 | --with-mysql-includes=${prefix}/include/mysql5/mysql \ |
---|
65 | --with-mysql-libs=${prefix}/lib/mysql5/mysql |
---|
66 | } |
---|