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

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

libpreludedb: Add Python 2.7 variant

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