1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name grok |
---|
6 | version 20090928 |
---|
7 | revision 1 |
---|
8 | categories sysutils |
---|
9 | maintainers org.geekdaily:jim openmaintainer |
---|
10 | platforms darwin |
---|
11 | |
---|
12 | description Easily parse logs and other files. |
---|
13 | |
---|
14 | long_description Grok is simple software that allows you to easily parse logs \ |
---|
15 | and other files. You teach grok how to parse data through the \ |
---|
16 | config file. Grok is a system for reacting to events - those events \ |
---|
17 | being log entries. |
---|
18 | |
---|
19 | homepage http://www.semicomplete.com/projects/grok/ |
---|
20 | |
---|
21 | master_sites http://semicomplete.googlecode.com/files/ |
---|
22 | checksums md5 629465d284de11c37a644cab970be432 \ |
---|
23 | sha1 bfc8db7be17f1bb52f2b930dfe284a0db8595b35 \ |
---|
24 | rmd160 8b9f6f27e85700f7f227bd3a6f5b9925de82e8e9 |
---|
25 | |
---|
26 | patchfiles patch-Makefile.diff \ |
---|
27 | |
---|
28 | depends_build port:bison \ |
---|
29 | port:flex \ |
---|
30 | port:gperf \ |
---|
31 | port:gmake |
---|
32 | |
---|
33 | depends_run port:libevent \ |
---|
34 | port:pcre \ |
---|
35 | port:db46 |
---|
36 | |
---|
37 | use_configure no |
---|
38 | |
---|
39 | build.type gnu |
---|
40 | build.args CFLAGS="`pcre-config --cflags` -I/opt/local/include/db46" LDFLAGS="`pcre-config --libs` -L/opt/local/lib/db46 -levent -ldb -rdynamic" |
---|
41 | |
---|
42 | test.run yes |
---|
43 | |
---|
44 | destroot.args PREFIX=${destroot}${prefix} INSTALL_USER=${install.user} INSTALL_GROUP=${install.group} |
---|
45 | |
---|
46 | ### TODO: pre-build testing for these dependencies |
---|
47 | # Build dependencies: |
---|
48 | # bison >= 2.3 |
---|
49 | # flex >= 2.5.35 |
---|
50 | # gperf >= 3.0 |
---|
51 | # GNU make >= 3.81 |
---|
52 | # |
---|
53 | # Run dependencies: |
---|
54 | # libevent >= 1.3 (older versions may work) |
---|
55 | # libpcre >= 7.6 |
---|
56 | # Berkeley DB >= 4.5 |
---|
57 | # |
---|
58 | # Test suite dependencies: |
---|
59 | # CUnit >= 2.1 |
---|