source: trunk/dports/security/libpreludedb/Portfile @ 131003

Last change on this file since 131003 was 131003, checked in by larryv@…, 3 years ago

libpreludedb: Replace +python{24,25} with +python27

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.8 KB
Line 
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: Portfile 131003 2015-01-05 00:38:19Z larryv@macports.org $
3
4PortSystem      1.0
5
6name            libpreludedb
7version         0.9.15.1
8revision        1
9categories      security
10license         GPL-2+
11maintainers     googlemail.com:usx303 \
12                openmaintainer
13
14description     Prelude Universal SIM - database wrapper
15
16long_description \
17                Prelude is a Universal "Security Information Management" (SIM) system. \
18                Prelude collects, normalizes, sorts, aggregates, correlates and \
19                reports all security-related events independently of the product brand \
20                or license giving rise to such events.
21
22homepage        http://www.prelude-ids.org/
23master_sites    ${homepage}/download/releases/libpreludedb/
24
25platforms       darwin
26build.type      gnu
27
28checksums       md5 792b6ce058e4b9db44279409dbc662a3\
29                sha1 dce8c3de03c186796e66c965da9be7af91125d3a\
30                rmd160 cecb601fd04fcbbab03bb9d49a15a0f80adcd92d
31
32
33configure.args  --without-mysql \
34                --without-sqlite \
35                --without-pgsql \
36                --without-perl \
37                --without-python
38
39depends_lib     port:libprelude
40
41#destroot.keepdirs \
42#                ${destroot}${prefix}/var/spool/prelude \
43#                ${destroot}${prefix}/etc/prelude/profile
44
45#post-destroot { file delete -force "${destroot}${prefix}/lib/charset.alias" }
46
47default_variants \
48                +sqlite3
49
50# TODO: Remove after 2016-01-04.
51variant python24 requires python27 description {Legacy variant} {}
52variant python25 requires python27 description {Legacy variant} {}
53
54variant python27 description {python2.7 bindings} {
55        configure.args-delete   --without-python
56        configure.args-append   --with-python=${prefix}/bin/python2.7
57        depends_lib-append port:python27
58}
59
60variant perl description {perl bindings} {
61        configure.args-delete   --without-perl
62        configure.args-append   --with-perl=${prefix}/bin/perl5.8
63        depends_lib-append port:perl5.8
64}
65
66variant sqlite3 description {sqlite3 database support} {
67        configure.args-delete   --without-sqlite
68        depends_lib-append port:sqlite3
69}
70
71#variant mysql4 description {mysql4 database support} {
72#        configure.args-delete   --without-mysql
73#        configure.args-append   --with-mysql
74#        depends_lib-append port:mysql4
75#}
76
77#variant mysql5 description {mysql5 database support} {
78#        configure.args-delete   --without-mysql
79#        configure.args-append   --with-mysql
80#        depends_lib-append path:bin/mysql_config5:mysql5
81#}
82
83#variant postgresql84 description {postgresql database support} {
84#        configure.args-delete   --without-pgsql
85#        configure.args-append   --with-pgsql
86#        depends_lib-append port:postgresql84
87#}
Note: See TracBrowser for help on using the repository browser.