diff options
Diffstat (limited to 'homebrew/graphviz')
-rw-r--r-- | homebrew/graphviz/.beer | 68 | ||||
-rw-r--r-- | homebrew/graphviz/.make.sh-auto | 9 | ||||
-rw-r--r-- | homebrew/graphviz/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/graphviz/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/graphviz/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/graphviz/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/graphviz/download.sh | 1 |
7 files changed, 82 insertions, 0 deletions
diff --git a/homebrew/graphviz/.beer b/homebrew/graphviz/.beer new file mode 100644 index 000000000..acb749b55 --- /dev/null +++ b/homebrew/graphviz/.beer @@ -0,0 +1,68 @@ +{ + "name": "Graphviz", + "description": "Graph visualization software from AT&T and Bell Labs", + "url": "https://www.mirrorservice.org/sites/distfiles.macports.org/graphviz/graphviz-2.40.1.tar.gz", + "mirror": "https://fossies.org/linux/misc/graphviz-2.40.1.tar.gz", + "homepage": "https://www.graphviz.org/", + "depends": [ + { + "depend": "autoconf", + "build-depend": true + }, + { + "depend": "automake", + "build-depend": true + }, + { + "depend": "libtool", + "build-depend": true + }, + { + "depend": "pkg-config", + "build-depend": true + }, + { + "depend": "gd", + "build-depend": false + }, + { + "depend": "gts", + "build-depend": false + }, + { + "depend": "libpng", + "build-depend": false + }, + { + "depend": "libtool", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "inreplace \"lib/sfio/features/sfio\", \"lib qfrexp\\nlib qldexp\\n\", \"\" unless build.head?", + "args = %W[", + "--disable-debug", + "--disable-dependency-tracking", + "--prefix=#{prefix}", + "--disable-php", + "--disable-swig", + "--with-quartz", + "--without-freetype2", + "--without-qt", + "--without-x", + "--with-gts", + "]", + "if build.head?", + "system \"./autogen.sh\", *args", + "else", + "system \"./configure\", *args", + "end", + "system \"make\", \"install\"", + "(bin/\"gvmap.sh\").unlink" + ], + "version": "2.40.1", + "file": "graphviz.rb" +}
\ No newline at end of file diff --git a/homebrew/graphviz/.make.sh-auto b/homebrew/graphviz/.make.sh-auto new file mode 100644 index 000000000..3fcdb7e68 --- /dev/null +++ b/homebrew/graphviz/.make.sh-auto @@ -0,0 +1,9 @@ +pkg:setup +inreplace "lib/sfio/features/sfio", "lib qfrexp\nlib qldexp\n", "" unless build.head? +args = %W[--disable-debug --disable-dependency-tracking --prefix=#{prefix} --disable-php --disable-swig --with-quartz --without-freetype2 --without-qt --without-x --with-gts ] +./autogen.sh *args +else +pkg:configure *args +end +make DESTDIR=${PKG_DEST} install +(bin/"gvmap.sh").unlink diff --git a/homebrew/graphviz/_metadata/description b/homebrew/graphviz/_metadata/description new file mode 100644 index 000000000..f81e119da --- /dev/null +++ b/homebrew/graphviz/_metadata/description @@ -0,0 +1 @@ +Graph visualization software from AT&T and Bell Labs diff --git a/homebrew/graphviz/_metadata/homepage b/homebrew/graphviz/_metadata/homepage new file mode 100644 index 000000000..eb638c47e --- /dev/null +++ b/homebrew/graphviz/_metadata/homepage @@ -0,0 +1 @@ +https://www.graphviz.org/ diff --git a/homebrew/graphviz/_metadata/name b/homebrew/graphviz/_metadata/name new file mode 100644 index 000000000..7e7a66c93 --- /dev/null +++ b/homebrew/graphviz/_metadata/name @@ -0,0 +1 @@ +Graphviz diff --git a/homebrew/graphviz/_metadata/version b/homebrew/graphviz/_metadata/version new file mode 100644 index 000000000..0e1a032a4 --- /dev/null +++ b/homebrew/graphviz/_metadata/version @@ -0,0 +1 @@ +2.40.1 diff --git a/homebrew/graphviz/download.sh b/homebrew/graphviz/download.sh new file mode 100755 index 000000000..36fff0b21 --- /dev/null +++ b/homebrew/graphviz/download.sh @@ -0,0 +1 @@ +wget https://www.mirrorservice.org/sites/distfiles.macports.org/graphviz/graphviz-2.40.1.tar.gz || wget https://fossies.org/linux/misc/graphviz-2.40.1.tar.gz
\ No newline at end of file |