summaryrefslogtreecommitdiff
path: root/homebrew/exim/.beer
blob: 107f6adc6c0c498b25736df74ad473e6455f02b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
    "name": "Exim",
    "description": "Complete replacement for sendmail",
    "url": "https://ftp.exim.org/pub/exim/exim4/exim-4.92.tar.xz",
    "mirror": null,
    "homepage": "https://exim.org",
    "depends": [
        {
            "depend": "berkeley-db@4",
            "build-depend": false
        },
        {
            "depend": "openssl",
            "build-depend": false
        },
        {
            "depend": "pcre",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "cp \"src/EDITME\", \"Local/Makefile\"",
        "inreplace \"Local/Makefile\" do |s|",
        "s.remove_make_var! \"EXIM_MONITOR\"",
        "s.change_make_var! \"EXIM_USER\", ENV[\"USER\"]",
        "s.change_make_var! \"SYSTEM_ALIASES_FILE\", etc/\"aliases\"",
        "s.gsub! \"/usr/exim/configure\", etc/\"exim.conf\"",
        "s.gsub! \"/usr/exim\", prefix",
        "s.gsub! \"/var/spool/exim\", var/\"spool/exim\"",
        "s.gsub! 'TMPDIR=\"/tmp\"', \"TMPDIR=/tmp\"",
        "s << \"AUTH_PLAINTEXT=yes\\n\"",
        "s << \"SUPPORT_TLS=yes\\n\"",
        "s << \"TLS_LIBS=-lssl -lcrypto\\n\"",
        "s << \"TRANSPORT_LMTP=yes\\n\"",
        "s << \"LOOKUP_INCLUDE=-I#{HOMEBREW_PREFIX}/include\\n\"",
        "s << \"LOOKUP_LIBS=-L#{HOMEBREW_PREFIX}/lib\\n\""
    ],
    "version": "4.92",
    "file": "exim.rb"
}