diff options
Diffstat (limited to 'homebrew/nvi')
-rw-r--r-- | homebrew/nvi/.beer | 48 | ||||
-rw-r--r-- | homebrew/nvi/.make.sh-auto | 6 | ||||
-rw-r--r-- | homebrew/nvi/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/nvi/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/nvi/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/nvi/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/nvi/download.sh | 1 | ||||
-rwxr-xr-x | homebrew/nvi/patches.sh | 4 |
8 files changed, 63 insertions, 0 deletions
diff --git a/homebrew/nvi/.beer b/homebrew/nvi/.beer new file mode 100644 index 000000000..4aad1cd04 --- /dev/null +++ b/homebrew/nvi/.beer @@ -0,0 +1,48 @@ +{ + "name": "Nvi", + "description": "44BSD re-implementation of vi", + "url": "https://deb.debian.org/debian/pool/main/n/nvi/nvi_1.81.6.orig.tar.gz", + "mirror": null, + "homepage": "https://sites.google.com/a/bostic.com/keithbostic/vi/", + "depends": [ + { + "depend": "xz", + "build-depend": false + }, + { + "depend": "berkeley-db", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [ + { + "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/8ef45e8b/nvi/patch-common__db.h", + "strip": "0" + }, + { + "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/8ef45e8b/nvi/patch-dist__port.h.in", + "strip": "0" + }, + { + "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/8ef45e8b/nvi/patch-ex_script.c.diff", + "strip": "0" + }, + { + "url": "https://deb.debian.org/debian/pool/main/n/nvi/nvi_1.81.6-13.debian.tar.xz", + "strip": "1" + } + ], + "install": [ + "cd \"dist\" do", + "system \"./configure\", \"--prefix=#{prefix}\",", + "\"--program-prefix=n\",", + "\"--disable-dependency-tracking\"", + "system \"make\"", + "ENV.deparallelize", + "system \"make\", \"install\"" + ], + "version": "1.81.6", + "file": "nvi.rb" +}
\ No newline at end of file diff --git a/homebrew/nvi/.make.sh-auto b/homebrew/nvi/.make.sh-auto new file mode 100644 index 000000000..2878a480a --- /dev/null +++ b/homebrew/nvi/.make.sh-auto @@ -0,0 +1,6 @@ +pkg:setup +cd "dist" +pkg:configure --program-prefix=n --disable-dependency-tracking +make +ENV.deparallelize +make DESTDIR=${PKG_DEST} install diff --git a/homebrew/nvi/_metadata/description b/homebrew/nvi/_metadata/description new file mode 100644 index 000000000..ce7c1324c --- /dev/null +++ b/homebrew/nvi/_metadata/description @@ -0,0 +1 @@ +44BSD re-implementation of vi diff --git a/homebrew/nvi/_metadata/homepage b/homebrew/nvi/_metadata/homepage new file mode 100644 index 000000000..8e0bacbfd --- /dev/null +++ b/homebrew/nvi/_metadata/homepage @@ -0,0 +1 @@ +https://sites.google.com/a/bostic.com/keithbostic/vi/ diff --git a/homebrew/nvi/_metadata/name b/homebrew/nvi/_metadata/name new file mode 100644 index 000000000..2980ad6f6 --- /dev/null +++ b/homebrew/nvi/_metadata/name @@ -0,0 +1 @@ +Nvi diff --git a/homebrew/nvi/_metadata/version b/homebrew/nvi/_metadata/version new file mode 100644 index 000000000..32b8efa4b --- /dev/null +++ b/homebrew/nvi/_metadata/version @@ -0,0 +1 @@ +1.81.6 diff --git a/homebrew/nvi/download.sh b/homebrew/nvi/download.sh new file mode 100755 index 000000000..4814fb6b1 --- /dev/null +++ b/homebrew/nvi/download.sh @@ -0,0 +1 @@ +wget https://deb.debian.org/debian/pool/main/n/nvi/nvi_1.81.6.orig.tar.gz
\ No newline at end of file diff --git a/homebrew/nvi/patches.sh b/homebrew/nvi/patches.sh new file mode 100755 index 000000000..e449ff719 --- /dev/null +++ b/homebrew/nvi/patches.sh @@ -0,0 +1,4 @@ +wget https://raw.githubusercontent.com/Homebrew/formula-patches/8ef45e8b/nvi/patch-common__db.h +wget https://raw.githubusercontent.com/Homebrew/formula-patches/8ef45e8b/nvi/patch-dist__port.h.in +wget https://raw.githubusercontent.com/Homebrew/formula-patches/8ef45e8b/nvi/patch-ex_script.c.diff +wget https://deb.debian.org/debian/pool/main/n/nvi/nvi_1.81.6-13.debian.tar.xz |