summaryrefslogtreecommitdiff
path: root/homebrew/ploticus/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/ploticus/.beer')
-rw-r--r--homebrew/ploticus/.beer27
1 files changed, 27 insertions, 0 deletions
diff --git a/homebrew/ploticus/.beer b/homebrew/ploticus/.beer
new file mode 100644
index 000000000..4498dccc7
--- /dev/null
+++ b/homebrew/ploticus/.beer
@@ -0,0 +1,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"
+} \ No newline at end of file