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 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name yara |
---|
6 | version 1.7 |
---|
7 | revision 1 |
---|
8 | categories security |
---|
9 | license GPL-2+ |
---|
10 | platforms darwin |
---|
11 | maintainers yendor.net:a.schuster \ |
---|
12 | openmaintainer |
---|
13 | |
---|
14 | description Malware identification and classification tool |
---|
15 | long_description \ |
---|
16 | YARA is a tool aimed at helping malware researchers to identify and \ |
---|
17 | classify malware samples. |
---|
18 | |
---|
19 | homepage http://code.google.com/p/yara-project/ |
---|
20 | master_sites googlecode:yara-project |
---|
21 | |
---|
22 | checksums rmd160 12ca8b2eb7a8b7de3fae8d97e728d4847299d99a \ |
---|
23 | sha256 fcee06a2f43ab65c88597de54d630a3beee925e7e84c890a8303f08a3fc85c91 |
---|
24 | |
---|
25 | post-patch { |
---|
26 | # fix use of inline for clang compatibility |
---|
27 | reinplace "s|inline|static inline|g" ${worksrcpath}/libyara/scan.c |
---|
28 | } |
---|
29 | |
---|
30 | |
---|
31 | variant pcre conflicts re2 description "uses pcre library for regular expression parsing" { |
---|
32 | depends_lib-append port:pcre |
---|
33 | } |
---|
34 | |
---|
35 | variant re2 conflicts pcre description "uses re2 library for regular expression parsing" { |
---|
36 | configure.args-append --with-re2 |
---|
37 | depends_lib-append port:re2 |
---|
38 | } |
---|
39 | |
---|
40 | default_variants +pcre |
---|
41 | universal_variant yes |
---|