source: trunk/dports/security/libprelude/Portfile

Last change on this file was 145004, checked in by khindenburg@…, 18 months ago

libprelude: remove legacy variants

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 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 145004 2016-01-23 19:51:26Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            libprelude
7version         1.0.1
8set download_id 241
9revision        2
10categories      security
11license         GPL-2+
12maintainers     googlemail.com:usx303 \
13                openmaintainer
14
15description     Prelude Universal SIM - framework library
16
17long_description \
18        Prelude is a Universal "Security Information Management" (SIM) system. \
19        Prelude collects, normalizes, sorts, aggregates, correlates and \
20        reports all security-related events independently of the product brand \
21        or license giving rise to such events. \
22        Libprelude is a library that guarantees secure connections between \
23        all sensors and the Prelude Manager.
24
25homepage        https://www.prelude-ids.org/
26master_sites    ${homepage}attachments/download/${download_id}/
27platforms       darwin
28build.type      gnu
29
30checksums       rmd160  13f8be3e22f3495847d7f9a125d0b2e07b93df4c \
31                sha256  852d981e7d23e49ec25a96a7f54c19a7ee72cd786a0d02c43a27e3e770d5cb6b
32 
33depends_build   port:pkgconfig
34depends_lib     port:gettext port:gnutls port:libgcrypt port:libgpg-error \
35                port:libiconv port:libtasn1 port:libtool port:zlib
36
37# error: conflicting types for ‘lt__PROGRAM__LTX_preloaded_symbols’
38patchfiles      patch-src-include-prelude-plugin.h.diff
39
40patchfiles-append patch-gnutls-extra.diff
41
42configure.args  --mandir=${prefix}/share/man \
43                --with-html-dir=${prefix}/share/doc \
44                --localstatedir=${prefix}/var \
45                --without-swig \
46                --without-lua \
47                --without-perl \
48                --without-python \
49                RUBY=no \
50                HAVE_CXX=yes
51
52# checking size of long... configure: error: cannot determine a size for long
53universal_variant   no
54
55destroot.keepdirs \
56        ${destroot}${prefix}/var/spool/prelude \
57        ${destroot}${prefix}/etc/prelude/profile
58
59post-destroot {
60    delete ${destroot}${prefix}/lib/charset.alias
61}
62
63variant python27 description {python2.7 bindings} {
64        configure.args-delete   --without-python
65        configure.args-append   --with-python=${prefix}/bin/python2.7
66        depends_lib-append port:python27
67}
68
69variant perl description {perl bindings} {
70        configure.args-delete   --without-perl
71        configure.args-append   --with-perl=${prefix}/bin/perl
72        depends_lib-append path:bin/perl:perl5
73}
74
75livecheck.type  regex
76livecheck.url   ${homepage}projects/prelude/files
77livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.