Ticket #21691: Portfile

File Portfile, 1.8 KB (added by jim@…, 15 years ago)

Portfile for grok

Line 
1# $Id: $
2
3PortSystem        1.0
4
5name              grok
6version           20090928
7revision          1
8categories        sysutils
9maintainers       org.geekdaily:jim openmaintainer
10platforms         darwin
11
12description       Easily parse logs and other files.
13
14long_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
19homepage          http://www.semicomplete.com/projects/grok/
20
21master_sites      http://semicomplete.googlecode.com/files/
22checksums         md5 629465d284de11c37a644cab970be432 \
23                  sha1 bfc8db7be17f1bb52f2b930dfe284a0db8595b35 \
24                  rmd160 8b9f6f27e85700f7f227bd3a6f5b9925de82e8e9
25
26patchfiles        patch-Makefile.diff \
27
28depends_build     port:bison \
29                  port:flex \
30                  port:gperf \
31                  port:gmake
32
33depends_run       port:libevent \
34                  port:pcre \
35                  port:db46
36
37use_configure     no
38
39build.type        gnu
40build.args        CFLAGS="`pcre-config --cflags` -I/opt/local/include/db46" LDFLAGS="`pcre-config --libs` -L/opt/local/lib/db46 -levent -ldb -rdynamic"
41
42test.run          yes
43
44destroot.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