summaryrefslogtreecommitdiff
path: root/homebrew/aspell
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/aspell
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/aspell')
-rw-r--r--homebrew/aspell/.beer405
-rw-r--r--homebrew/aspell/.make.sh-auto8
-rw-r--r--homebrew/aspell/_metadata/description1
-rw-r--r--homebrew/aspell/_metadata/homepage1
-rw-r--r--homebrew/aspell/_metadata/name1
-rw-r--r--homebrew/aspell/_metadata/version1
-rwxr-xr-xhomebrew/aspell/download.sh1
-rwxr-xr-xhomebrew/aspell/patches.sh23
8 files changed, 441 insertions, 0 deletions
diff --git a/homebrew/aspell/.beer b/homebrew/aspell/.beer
new file mode 100644
index 000000000..46218056e
--- /dev/null
+++ b/homebrew/aspell/.beer
@@ -0,0 +1,405 @@
+{
+ "name": "Aspell",
+ "description": "Spell checker with better logic than ispell",
+ "url": "https://ftp.gnu.org/gnu/aspell/aspell-0.60.6.1.tar.gz",
+ "mirror": "https://ftpmirror.gnu.org/aspell/aspell-0.60.6.1.tar.gz",
+ "homepage": "http://aspell.net/",
+ "depends": [],
+ "resource": [
+ {
+ "name": "en",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-2017.01.22-0.tar.bz2"
+ },
+ {
+ "name": "de",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/de/aspell6-de-20030222-1.tar.bz2"
+ },
+ {
+ "name": "es",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/es/aspell6-es-1.11-2.tar.bz2"
+ },
+ {
+ "name": "fr",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/fr/aspell-fr-0.50-3.tar.bz2"
+ },
+ {
+ "name": "af",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/af/aspell-af-0.50-0.tar.bz2"
+ },
+ {
+ "name": "am",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/am/aspell6-am-0.03-1.tar.bz2"
+ },
+ {
+ "name": "ar",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/ar/aspell6-ar-1.2-0.tar.bz2"
+ },
+ {
+ "name": "ast",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/ast/aspell6-ast-0.01.tar.bz2"
+ },
+ {
+ "name": "az",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/az/aspell6-az-0.02-0.tar.bz2"
+ },
+ {
+ "name": "be",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/be/aspell5-be-0.01.tar.bz2"
+ },
+ {
+ "name": "bg",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/bg/aspell6-bg-4.1-0.tar.bz2"
+ },
+ {
+ "name": "bn",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/bn/aspell6-bn-0.01.1-1.tar.bz2"
+ },
+ {
+ "name": "br",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/br/aspell-br-0.50-2.tar.bz2"
+ },
+ {
+ "name": "ca",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/ca/aspell6-ca-2.1.5-1.tar.bz2"
+ },
+ {
+ "name": "cs",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/cs/aspell6-cs-20040614-1.tar.bz2"
+ },
+ {
+ "name": "csb",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/csb/aspell6-csb-0.02-0.tar.bz2"
+ },
+ {
+ "name": "cy",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/cy/aspell-cy-0.50-3.tar.bz2"
+ },
+ {
+ "name": "da",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/da/aspell5-da-1.4.42-1.tar.bz2"
+ },
+ {
+ "name": "de_alt",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/de-alt/aspell6-de-alt-2.1-1.tar.bz2"
+ },
+ {
+ "name": "el",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/el/aspell-el-0.50-3.tar.bz2"
+ },
+ {
+ "name": "eo",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/eo/aspell6-eo-2.1.20000225a-2.tar.bz2"
+ },
+ {
+ "name": "et",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/et/aspell6-et-0.1.21-1.tar.bz2"
+ },
+ {
+ "name": "fa",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-0.11-0.tar.bz2"
+ },
+ {
+ "name": "fi",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/fi/aspell6-fi-0.7-0.tar.bz2"
+ },
+ {
+ "name": "fo",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/fo/aspell5-fo-0.2.16-1.tar.bz2"
+ },
+ {
+ "name": "fy",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/fy/aspell6-fy-0.12-0.tar.bz2"
+ },
+ {
+ "name": "ga",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/ga/aspell5-ga-4.5-0.tar.bz2"
+ },
+ {
+ "name": "gd",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/gd/aspell5-gd-0.1.1-1.tar.bz2"
+ },
+ {
+ "name": "gl",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/gl/aspell6-gl-0.5a-2.tar.bz2"
+ },
+ {
+ "name": "grc",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/grc/aspell6-grc-0.02-0.tar.bz2"
+ },
+ {
+ "name": "gu",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/gu/aspell6-gu-0.03-0.tar.bz2"
+ },
+ {
+ "name": "gv",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/gv/aspell-gv-0.50-0.tar.bz2"
+ },
+ {
+ "name": "he",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/he/aspell6-he-1.0-0.tar.bz2"
+ },
+ {
+ "name": "hi",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/hi/aspell6-hi-0.02-0.tar.bz2"
+ },
+ {
+ "name": "hil",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/hil/aspell5-hil-0.11-0.tar.bz2"
+ },
+ {
+ "name": "hr",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/hr/aspell-hr-0.51-0.tar.bz2"
+ },
+ {
+ "name": "hsb",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/hsb/aspell6-hsb-0.02-0.tar.bz2"
+ },
+ {
+ "name": "hu",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/hu/aspell6-hu-0.99.4.2-0.tar.bz2"
+ },
+ {
+ "name": "hus",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/hus/aspell6-hus-0.03-1.tar.bz2"
+ },
+ {
+ "name": "hy",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/hy/aspell6-hy-0.10.0-0.tar.bz2"
+ },
+ {
+ "name": "ia",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/ia/aspell-ia-0.50-1.tar.bz2"
+ },
+ {
+ "name": "id",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/id/aspell5-id-1.2-0.tar.bz2"
+ },
+ {
+ "name": "it",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/it/aspell6-it-2.2_20050523-0.tar.bz2"
+ },
+ {
+ "name": "kn",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/kn/aspell6-kn-0.01-1.tar.bz2"
+ },
+ {
+ "name": "ku",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/ku/aspell5-ku-0.20-1.tar.bz2"
+ },
+ {
+ "name": "ky",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/ky/aspell6-ky-0.01-0.tar.bz2"
+ },
+ {
+ "name": "la",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/la/aspell6-la-20020503-0.tar.bz2"
+ },
+ {
+ "name": "lt",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/lt/aspell6-lt-1.2.1-0.tar.bz2"
+ },
+ {
+ "name": "lv",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/lv/aspell6-lv-0.5.5-1.tar.bz2"
+ },
+ {
+ "name": "mg",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/mg/aspell5-mg-0.03-0.tar.bz2"
+ },
+ {
+ "name": "mi",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/mi/aspell-mi-0.50-0.tar.bz2"
+ },
+ {
+ "name": "mk",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/mk/aspell-mk-0.50-0.tar.bz2"
+ },
+ {
+ "name": "ml",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/ml/aspell6-ml-0.03-1.tar.bz2"
+ },
+ {
+ "name": "mn",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/mn/aspell6-mn-0.06-2.tar.bz2"
+ },
+ {
+ "name": "mr",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/mr/aspell6-mr-0.10-0.tar.bz2"
+ },
+ {
+ "name": "ms",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/ms/aspell-ms-0.50-0.tar.bz2"
+ },
+ {
+ "name": "mt",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/mt/aspell-mt-0.50-0.tar.bz2"
+ },
+ {
+ "name": "nds",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/nds/aspell6-nds-0.01-0.tar.bz2"
+ },
+ {
+ "name": "nl",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/nl/aspell-nl-0.50-2.tar.bz2"
+ },
+ {
+ "name": "nn",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/nn/aspell-nn-0.50.1-1.tar.bz2"
+ },
+ {
+ "name": "ny",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/ny/aspell5-ny-0.01-0.tar.bz2"
+ },
+ {
+ "name": "or",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/or/aspell6-or-0.03-1.tar.bz2"
+ },
+ {
+ "name": "pa",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/pa/aspell6-pa-0.01-1.tar.bz2"
+ },
+ {
+ "name": "pl",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/pl/aspell6-pl-6.0_20061121-0.tar.bz2"
+ },
+ {
+ "name": "pt_BR",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/pt_BR/aspell6-pt_BR-20090702-0.tar.bz2"
+ },
+ {
+ "name": "pt_PT",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/pt_PT/aspell6-pt_PT-20070510-0.tar.bz2"
+ },
+ {
+ "name": "qu",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/qu/aspell6-qu-0.02-0.tar.bz2"
+ },
+ {
+ "name": "ro",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/ro/aspell5-ro-3.3-2.tar.bz2"
+ },
+ {
+ "name": "ru",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/ru/aspell6-ru-0.99f7-1.tar.bz2"
+ },
+ {
+ "name": "rw",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/rw/aspell-rw-0.50-0.tar.bz2"
+ },
+ {
+ "name": "sc",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/sc/aspell5-sc-1.0.tar.bz2"
+ },
+ {
+ "name": "sk",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/sk/aspell6-sk-2.01-2.tar.bz2"
+ },
+ {
+ "name": "sl",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/sl/aspell-sl-0.50-0.tar.bz2"
+ },
+ {
+ "name": "sr",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/sr/aspell6-sr-0.02.tar.bz2"
+ },
+ {
+ "name": "sv",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/sv/aspell-sv-0.51-0.tar.bz2"
+ },
+ {
+ "name": "sw",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/sw/aspell-sw-0.50-0.tar.bz2"
+ },
+ {
+ "name": "ta",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/ta/aspell6-ta-20040424-1.tar.bz2"
+ },
+ {
+ "name": "te",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/te/aspell6-te-0.01-2.tar.bz2"
+ },
+ {
+ "name": "tet",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/tet/aspell5-tet-0.1.1.tar.bz2"
+ },
+ {
+ "name": "tk",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/tk/aspell5-tk-0.01-0.tar.bz2"
+ },
+ {
+ "name": "tl",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/tl/aspell5-tl-0.02-1.tar.bz2"
+ },
+ {
+ "name": "tn",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/tn/aspell5-tn-1.0.1-0.tar.bz2"
+ },
+ {
+ "name": "tr",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/tr/aspell-tr-0.50-0.tar.bz2"
+ },
+ {
+ "name": "uk",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/uk/aspell6-uk-1.4.0-0.tar.bz2"
+ },
+ {
+ "name": "uz",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/uz/aspell6-uz-0.6-0.tar.bz2"
+ },
+ {
+ "name": "vi",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/vi/aspell6-vi-0.01.1-1.tar.bz2"
+ },
+ {
+ "name": "wa",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/wa/aspell-wa-0.50-0.tar.bz2"
+ },
+ {
+ "name": "yi",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/yi/aspell6-yi-0.01.1-1.tar.bz2"
+ },
+ {
+ "name": "zu",
+ "url": "https://ftp.gnu.org/gnu/aspell/dict/zu/aspell-zu-0.50-0.tar.bz2"
+ }
+ ],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": null,
+ "data": [
+ "diff --git a/interfaces/cc/aspell.h b/interfaces/cc/aspell.h\n",
+ "index 9c8e81b..2cd00d4 100644\n",
+ "--- a/interfaces/cc/aspell.h\n",
+ "+++ b/interfaces/cc/aspell.h\n",
+ "@@ -237,6 +237,7 @@ void delete_aspell_can_have_error(struct AspellCanHaveError * ths);\n",
+ " /******************************** errors ********************************/\n",
+ "\n",
+ "\n",
+ "+#ifndef __cplusplus\n",
+ " extern const struct AspellErrorInfo * const aerror_other;\n",
+ " extern const struct AspellErrorInfo * const aerror_operation_not_supported;\n",
+ " extern const struct AspellErrorInfo * const aerror_cant_copy;\n",
+ "@@ -322,6 +323,7 @@ extern const struct AspellErrorInfo * const aerror_missing_magic;\n",
+ " extern const struct AspellErrorInfo * const aerror_bad_magic;\n",
+ " extern const struct AspellErrorInfo * const aerror_expression;\n",
+ " extern const struct AspellErrorInfo * const aerror_invalid_expression;\n",
+ "+#endif\n",
+ "\n",
+ "\n",
+ " /******************************* speller *******************************/\n"
+ ]
+ }
+ ],
+ "install": [
+ "system \"./configure\", \"--prefix=#{prefix}\"",
+ "system \"make\", \"install\"",
+ "ENV.prepend_path \"PATH\", bin",
+ "resources.each do |r|",
+ "r.stage do",
+ "system \"./configure\", \"--vars\", \"ASPELL=#{bin}/aspell\", \"PREZIP=#{bin}/prezip\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.60.6.1",
+ "file": "aspell.rb"
+} \ No newline at end of file
diff --git a/homebrew/aspell/.make.sh-auto b/homebrew/aspell/.make.sh-auto
new file mode 100644
index 000000000..ef8eeecf6
--- /dev/null
+++ b/homebrew/aspell/.make.sh-auto
@@ -0,0 +1,8 @@
+pkg:setup
+pkg:configure
+make DESTDIR=${PKG_DEST} install
+ENV.prepend_path "PATH", bin
+resources.each do |r|
+r.stage do
+pkg:configure --vars ASPELL=#{bin}/aspell PREZIP=#{bin}/prezip
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/aspell/_metadata/description b/homebrew/aspell/_metadata/description
new file mode 100644
index 000000000..cac0984d5
--- /dev/null
+++ b/homebrew/aspell/_metadata/description
@@ -0,0 +1 @@
+Spell checker with better logic than ispell
diff --git a/homebrew/aspell/_metadata/homepage b/homebrew/aspell/_metadata/homepage
new file mode 100644
index 000000000..d01593e19
--- /dev/null
+++ b/homebrew/aspell/_metadata/homepage
@@ -0,0 +1 @@
+http://aspell.net/
diff --git a/homebrew/aspell/_metadata/name b/homebrew/aspell/_metadata/name
new file mode 100644
index 000000000..df6247021
--- /dev/null
+++ b/homebrew/aspell/_metadata/name
@@ -0,0 +1 @@
+Aspell
diff --git a/homebrew/aspell/_metadata/version b/homebrew/aspell/_metadata/version
new file mode 100644
index 000000000..9bd3cd768
--- /dev/null
+++ b/homebrew/aspell/_metadata/version
@@ -0,0 +1 @@
+0.60.6.1
diff --git a/homebrew/aspell/download.sh b/homebrew/aspell/download.sh
new file mode 100755
index 000000000..f94e937a5
--- /dev/null
+++ b/homebrew/aspell/download.sh
@@ -0,0 +1 @@
+wget https://ftp.gnu.org/gnu/aspell/aspell-0.60.6.1.tar.gz || wget https://ftpmirror.gnu.org/aspell/aspell-0.60.6.1.tar.gz \ No newline at end of file
diff --git a/homebrew/aspell/patches.sh b/homebrew/aspell/patches.sh
new file mode 100755
index 000000000..62b565456
--- /dev/null
+++ b/homebrew/aspell/patches.sh
@@ -0,0 +1,23 @@
+echo 'Creating brew-patch.diff'
+cat << EOF >> brew-patch.diff
+diff --git a/interfaces/cc/aspell.h b/interfaces/cc/aspell.h
+index 9c8e81b..2cd00d4 100644
+--- a/interfaces/cc/aspell.h
++++ b/interfaces/cc/aspell.h
+@@ -237,6 +237,7 @@ void delete_aspell_can_have_error(struct AspellCanHaveError * ths);
+ /******************************** errors ********************************/
+
+
++#ifndef __cplusplus
+ extern const struct AspellErrorInfo * const aerror_other;
+ extern const struct AspellErrorInfo * const aerror_operation_not_supported;
+ extern const struct AspellErrorInfo * const aerror_cant_copy;
+@@ -322,6 +323,7 @@ extern const struct AspellErrorInfo * const aerror_missing_magic;
+ extern const struct AspellErrorInfo * const aerror_bad_magic;
+ extern const struct AspellErrorInfo * const aerror_expression;
+ extern const struct AspellErrorInfo * const aerror_invalid_expression;
++#endif
+
+
+ /******************************* speller *******************************/
+EOF