summaryrefslogtreecommitdiff
path: root/homebrew/ploticus/.beer
blob: 4498dccc74efcec22b41eb99d49faa96b8331e0d (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
{
    "name": "Ploticus",
    "description": "Scriptable plotting and graphing utility",
    "url": "https://downloads.sourceforge.net/project/ploticus/ploticus/2.42/ploticus242_src.tar.gz",
    "mirror": null,
    "homepage": "https://ploticus.sourceforge.io/",
    "depends": [
        {
            "depend": "libpng",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "args=[\"INSTALLBIN=#{bin}\",",
        "\"EXE=ploticus\"]",
        "inreplace \"src/pl.h\", /#define\\s+PREFABS_DIR\\s+\"\"/, \"#define PREFABS_DIR \\\"#{pkgshare}\\\"\"",
        "system \"make\", \"-C\", \"src\", *args",
        "bin.mkdir",
        "system \"make\", \"-C\", \"src\", \"install\", *args",
        "pkgshare.install Dir[\"prefabs/*\"]"
    ],
    "version": "242",
    "file": "ploticus.rb"
}