summaryrefslogtreecommitdiff
path: root/homebrew/mutt
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/mutt')
-rw-r--r--homebrew/mutt/.beer68
-rw-r--r--homebrew/mutt/.make.sh-auto8
-rw-r--r--homebrew/mutt/_metadata/description1
-rw-r--r--homebrew/mutt/_metadata/homepage1
-rw-r--r--homebrew/mutt/_metadata/name1
-rw-r--r--homebrew/mutt/_metadata/version1
-rwxr-xr-xhomebrew/mutt/download.sh1
7 files changed, 81 insertions, 0 deletions
diff --git a/homebrew/mutt/.beer b/homebrew/mutt/.beer
new file mode 100644
index 000000000..57924a9f3
--- /dev/null
+++ b/homebrew/mutt/.beer
@@ -0,0 +1,68 @@
+{
+ "name": "Mutt",
+ "description": "Mongrel of mail user agents (part elm, pine, mush, mh, etc.)",
+ "url": "https://bitbucket.org/mutt/mutt/downloads/mutt-1.11.4.tar.gz",
+ "mirror": null,
+ "homepage": "http://www.mutt.org/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "gpgme",
+ "build-depend": false
+ },
+ {
+ "depend": "openssl",
+ "build-depend": false
+ },
+ {
+ "depend": "tokyo-cabinet",
+ "build-depend": false
+ }
+ ],
+ "resource": [
+ {
+ "name": "html",
+ "url": "https://muttmua.gitlab.io/mutt/manual-dev.html"
+ }
+ ],
+ "conflicts": [
+ {
+ "conflict": "tin",
+ "reason": null
+ }
+ ],
+ "patches": [],
+ "install": [
+ "user_in_mail_group = Etc.getgrnam(\"mail\").mem.include?(ENV[\"USER\"])",
+ "effective_group = Etc.getgrgid(Process.egid).name",
+ "args = %W[",
+ "--disable-dependency-tracking",
+ "--disable-warnings",
+ "--prefix=#{prefix}",
+ "--enable-debug",
+ "--enable-hcache",
+ "--enable-imap",
+ "--enable-pop",
+ "--enable-sidebar",
+ "--enable-smtp",
+ "--with-gss",
+ "--with-sasl",
+ "--with-ssl=#{Formula[\"openssl\"].opt_prefix}",
+ "--with-tokyocabinet",
+ "--enable-gpgme",
+ "]",
+ "system \"./prepare\", *args",
+ "system \"make\"",
+ "unless user_in_mail_group",
+ "inreplace \"Makefile\", /^DOTLOCK_GROUP =.*$/, \"DOTLOCK_GROUP = #{effective_group}\""
+ ],
+ "version": "1.11.4",
+ "file": "mutt.rb"
+} \ No newline at end of file
diff --git a/homebrew/mutt/.make.sh-auto b/homebrew/mutt/.make.sh-auto
new file mode 100644
index 000000000..0d60bd9d5
--- /dev/null
+++ b/homebrew/mutt/.make.sh-auto
@@ -0,0 +1,8 @@
+pkg:setup
+user_in_mail_group = Etc.getgrnam("mail").mem.include?(ENV["USER"])
+effective_group = Etc.getgrgid(Process.egid).name
+args = %W[--disable-dependency-tracking --disable-warnings --prefix=#{prefix} --enable-debug --enable-hcache --enable-imap --enable-pop --enable-sidebar --enable-smtp --with-gss --with-sasl --with-ssl=#{Formula["openssl"].opt_prefix} --with-tokyocabinet --enable-gpgme ]
+./prepare *args
+make
+unless user_in_mail_group
+inreplace "Makefile", /^DOTLOCK_GROUP =.*$/, "DOTLOCK_GROUP = #{effective_group}"
diff --git a/homebrew/mutt/_metadata/description b/homebrew/mutt/_metadata/description
new file mode 100644
index 000000000..c09637c4f
--- /dev/null
+++ b/homebrew/mutt/_metadata/description
@@ -0,0 +1 @@
+Mongrel of mail user agents (part elm, pine, mush, mh, etc.)
diff --git a/homebrew/mutt/_metadata/homepage b/homebrew/mutt/_metadata/homepage
new file mode 100644
index 000000000..224d92157
--- /dev/null
+++ b/homebrew/mutt/_metadata/homepage
@@ -0,0 +1 @@
+http://www.mutt.org/
diff --git a/homebrew/mutt/_metadata/name b/homebrew/mutt/_metadata/name
new file mode 100644
index 000000000..2455ee1ed
--- /dev/null
+++ b/homebrew/mutt/_metadata/name
@@ -0,0 +1 @@
+Mutt
diff --git a/homebrew/mutt/_metadata/version b/homebrew/mutt/_metadata/version
new file mode 100644
index 000000000..3d0e62313
--- /dev/null
+++ b/homebrew/mutt/_metadata/version
@@ -0,0 +1 @@
+1.11.4
diff --git a/homebrew/mutt/download.sh b/homebrew/mutt/download.sh
new file mode 100755
index 000000000..1a7a34969
--- /dev/null
+++ b/homebrew/mutt/download.sh
@@ -0,0 +1 @@
+wget https://bitbucket.org/mutt/mutt/downloads/mutt-1.11.4.tar.gz \ No newline at end of file