summaryrefslogtreecommitdiff
path: root/homebrew/wordplay
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/wordplay')
-rw-r--r--homebrew/wordplay/.beer24
-rw-r--r--homebrew/wordplay/.make.sh-auto5
-rw-r--r--homebrew/wordplay/_metadata/description1
-rw-r--r--homebrew/wordplay/_metadata/homepage1
-rw-r--r--homebrew/wordplay/_metadata/name1
-rw-r--r--homebrew/wordplay/_metadata/version1
-rwxr-xr-xhomebrew/wordplay/download.sh1
-rwxr-xr-xhomebrew/wordplay/patches.sh1
8 files changed, 35 insertions, 0 deletions
diff --git a/homebrew/wordplay/.beer b/homebrew/wordplay/.beer
new file mode 100644
index 000000000..77efca17c
--- /dev/null
+++ b/homebrew/wordplay/.beer
@@ -0,0 +1,24 @@
+{
+ "name": "Wordplay",
+ "description": "Anagram generator",
+ "url": "http://hsvmovies.com/static_subpages/personal_orig/wordplay/wordplay722.tar.Z",
+ "mirror": null,
+ "homepage": "http://hsvmovies.com/static_subpages/personal_orig/wordplay/index.html",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/5de9072/wordplay/patch-wordplay.c",
+ "strip": "0"
+ }
+ ],
+ "install": [
+ "inreplace \"wordplay.c\", \"@PREFIX@\", prefix",
+ "system \"make\", \"CC=#{ENV.cc}\"",
+ "bin.install \"wordplay\"",
+ "pkgshare.install \"words721.txt\""
+ ],
+ "version": "722",
+ "file": "wordplay.rb"
+} \ No newline at end of file
diff --git a/homebrew/wordplay/.make.sh-auto b/homebrew/wordplay/.make.sh-auto
new file mode 100644
index 000000000..15cbb0e1a
--- /dev/null
+++ b/homebrew/wordplay/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+inreplace "wordplay.c", "@PREFIX@", prefix
+make CC=${PKG_TARG}-clang
+bin.install "wordplay"
+pkgshare.install "words721.txt"
diff --git a/homebrew/wordplay/_metadata/description b/homebrew/wordplay/_metadata/description
new file mode 100644
index 000000000..a4a997e9b
--- /dev/null
+++ b/homebrew/wordplay/_metadata/description
@@ -0,0 +1 @@
+Anagram generator
diff --git a/homebrew/wordplay/_metadata/homepage b/homebrew/wordplay/_metadata/homepage
new file mode 100644
index 000000000..05deaafb8
--- /dev/null
+++ b/homebrew/wordplay/_metadata/homepage
@@ -0,0 +1 @@
+http://hsvmovies.com/static_subpages/personal_orig/wordplay/index.html
diff --git a/homebrew/wordplay/_metadata/name b/homebrew/wordplay/_metadata/name
new file mode 100644
index 000000000..8636c1b99
--- /dev/null
+++ b/homebrew/wordplay/_metadata/name
@@ -0,0 +1 @@
+Wordplay
diff --git a/homebrew/wordplay/_metadata/version b/homebrew/wordplay/_metadata/version
new file mode 100644
index 000000000..55a98c62c
--- /dev/null
+++ b/homebrew/wordplay/_metadata/version
@@ -0,0 +1 @@
+722
diff --git a/homebrew/wordplay/download.sh b/homebrew/wordplay/download.sh
new file mode 100755
index 000000000..63113b106
--- /dev/null
+++ b/homebrew/wordplay/download.sh
@@ -0,0 +1 @@
+wget http://hsvmovies.com/static_subpages/personal_orig/wordplay/wordplay722.tar.Z \ No newline at end of file
diff --git a/homebrew/wordplay/patches.sh b/homebrew/wordplay/patches.sh
new file mode 100755
index 000000000..990ca8a92
--- /dev/null
+++ b/homebrew/wordplay/patches.sh
@@ -0,0 +1 @@
+wget https://raw.githubusercontent.com/Homebrew/formula-patches/5de9072/wordplay/patch-wordplay.c