summaryrefslogtreecommitdiff
path: root/homebrew/enscript
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/enscript')
-rw-r--r--homebrew/enscript/.beer28
-rw-r--r--homebrew/enscript/.make.sh-auto3
-rw-r--r--homebrew/enscript/_metadata/description1
-rw-r--r--homebrew/enscript/_metadata/homepage1
-rw-r--r--homebrew/enscript/_metadata/name1
-rw-r--r--homebrew/enscript/_metadata/version1
-rwxr-xr-xhomebrew/enscript/download.sh1
7 files changed, 36 insertions, 0 deletions
diff --git a/homebrew/enscript/.beer b/homebrew/enscript/.beer
new file mode 100644
index 000000000..5bdd95b93
--- /dev/null
+++ b/homebrew/enscript/.beer
@@ -0,0 +1,28 @@
+{
+ "name": "Enscript",
+ "description": "Convert text to Postscript, HTML, or RTF, with syntax highlighting",
+ "url": "https://ftp.gnu.org/gnu/enscript/enscript-1.6.6.tar.gz",
+ "mirror": "https://ftpmirror.gnu.org/enscript/enscript-1.6.6.tar.gz",
+ "homepage": "https://www.gnu.org/software/enscript/",
+ "depends": [
+ {
+ "depend": "gettext",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [
+ {
+ "conflict": "cspice",
+ "reason": "both install `states` binaries"
+ }
+ ],
+ "patches": [],
+ "install": [
+ "system \"./configure\", \"--disable-debug\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.6.6",
+ "file": "enscript.rb"
+} \ No newline at end of file
diff --git a/homebrew/enscript/.make.sh-auto b/homebrew/enscript/.make.sh-auto
new file mode 100644
index 000000000..557a9e0d1
--- /dev/null
+++ b/homebrew/enscript/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/enscript/_metadata/description b/homebrew/enscript/_metadata/description
new file mode 100644
index 000000000..7c3a82f9d
--- /dev/null
+++ b/homebrew/enscript/_metadata/description
@@ -0,0 +1 @@
+Convert text to Postscript, HTML, or RTF, with syntax highlighting
diff --git a/homebrew/enscript/_metadata/homepage b/homebrew/enscript/_metadata/homepage
new file mode 100644
index 000000000..d85e63639
--- /dev/null
+++ b/homebrew/enscript/_metadata/homepage
@@ -0,0 +1 @@
+https://www.gnu.org/software/enscript/
diff --git a/homebrew/enscript/_metadata/name b/homebrew/enscript/_metadata/name
new file mode 100644
index 000000000..8d8ddfd55
--- /dev/null
+++ b/homebrew/enscript/_metadata/name
@@ -0,0 +1 @@
+Enscript
diff --git a/homebrew/enscript/_metadata/version b/homebrew/enscript/_metadata/version
new file mode 100644
index 000000000..ec70f7556
--- /dev/null
+++ b/homebrew/enscript/_metadata/version
@@ -0,0 +1 @@
+1.6.6
diff --git a/homebrew/enscript/download.sh b/homebrew/enscript/download.sh
new file mode 100755
index 000000000..ae72ec50a
--- /dev/null
+++ b/homebrew/enscript/download.sh
@@ -0,0 +1 @@
+wget https://ftp.gnu.org/gnu/enscript/enscript-1.6.6.tar.gz || wget https://ftpmirror.gnu.org/enscript/enscript-1.6.6.tar.gz \ No newline at end of file