summaryrefslogtreecommitdiff
path: root/homebrew/dwdiff/.beer
blob: 740df2fd2c1769672d7131a9fc084586eb872988 (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
{
    "name": "Dwdiff",
    "description": "Diff that operates at the word level",
    "url": "https://os.ghalkes.nl/dist/dwdiff-2.1.2.tar.bz2",
    "mirror": null,
    "homepage": "https://os.ghalkes.nl/dwdiff.html",
    "depends": [
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "gettext",
            "build-depend": false
        },
        {
            "depend": "icu4c",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "gettext = Formula[\"gettext\"]",
        "icu4c = Formula[\"icu4c\"]",
        "ENV.append \"CFLAGS\", \"-I#{gettext.include} -I#{icu4c.include}\"",
        "ENV.append \"LDFLAGS\", \"-L#{gettext.lib} -L#{icu4c.lib} -lintl\"",
        "system \"./configure\", \"--prefix=#{prefix}\"",
        "system \"make\", \"install\"",
        "(man/\"nl\").rmtree",
        "(man/\"nl.UTF-8\").rmtree",
        "(share/\"locale/nl\").rmtree"
    ],
    "version": "2.1.2",
    "file": "dwdiff.rb"
}