summaryrefslogtreecommitdiff
path: root/homebrew/wordplay
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/wordplay
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
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