diff options
Diffstat (limited to 'homebrew/bibclean')
-rw-r--r-- | homebrew/bibclean/.beer | 32 | ||||
-rw-r--r-- | homebrew/bibclean/.make.sh-auto | 11 | ||||
-rw-r--r-- | homebrew/bibclean/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/bibclean/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/bibclean/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/bibclean/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/bibclean/download.sh | 1 |
7 files changed, 48 insertions, 0 deletions
diff --git a/homebrew/bibclean/.beer b/homebrew/bibclean/.beer new file mode 100644 index 000000000..3788bd8ab --- /dev/null +++ b/homebrew/bibclean/.beer @@ -0,0 +1,32 @@ +{ + "name": "Bibclean", + "description": "BibTeX bibliography file pretty printer and syntax checker", + "url": "http://ftp.math.utah.edu/pub/bibclean/bibclean-2.17.tar.gz", + "mirror": "https://dl.bintray.com/homebrew/mirror/bibclean-2.17.tar.gz", + "homepage": "https://www.math.utah.edu/~beebe/software/bibclean/bibclean-03.html#HDR.3", + "depends": [], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "ENV.deparallelize", + "system \"./configure\", \"--prefix=#{prefix}\",", + "\"--mandir=#{man}\"", + "inreplace \"Makefile\" do |s|", + "s.gsub! /[$][(]CP.*BIBCLEAN.*bindir.*BIBCLEAN[)]/,", + "\"mkdir -p $(bindir) && $(CP) $(BIBCLEAN) $(bindir)/$(BIBCLEAN)\"", + "s.gsub! /[$][(]CP.*bibclean.*mandir.*bibclean.*manext[)]/,", + "\"mkdir -p $(mandir) && $(CP) bibclean.man $(mandir)/bibclean.$(manext)\"", + "s.gsub! /mandir.*prefix.*man.*man1/, \"mandir = $(prefix)/share/man/man1\"", + "s.gsub! /install-ini.*uninstall-ini/,", + "\"install-ini: uninstall-ini\\n\\tmkdir -p #{pkgshare}\"", + "s.gsub! /[$][(]bindir[)].*bibcleanrc/,", + "\"#{pkgshare}/.bibcleanrc\"", + "s.gsub! /[$][(]bindir[)].*bibclean.key/,", + "\"#{pkgshare}/.bibclean.key\"", + "s.gsub! /[$][(]bindir[)].*bibclean.isbn/,", + "\"#{pkgshare}/.bibclean.isbn\"" + ], + "version": "2.17", + "file": "bibclean.rb" +}
\ No newline at end of file diff --git a/homebrew/bibclean/.make.sh-auto b/homebrew/bibclean/.make.sh-auto new file mode 100644 index 000000000..3445c478f --- /dev/null +++ b/homebrew/bibclean/.make.sh-auto @@ -0,0 +1,11 @@ +pkg:setup +ENV.deparallelize +pkg:configure +inreplace "Makefile" do |s| +s.gsub! /[$][(]CP.*BIBCLEAN.*bindir.*BIBCLEAN[)]/, "mkdir -p $(bindir) && $(CP) $(BIBCLEAN) $(bindir)/$(BIBCLEAN)" +s.gsub! /[$][(]CP.*bibclean.*mandir.*bibclean.*manext[)]/, "mkdir -p $(mandir) && $(CP) bibclean.man $(mandir)/bibclean.$(manext)" +s.gsub! /mandir.*prefix.*man.*man1/, "mandir = $(prefix)/share/man/man1" +s.gsub! /install-ini.*uninstall-ini/, "install-ini: uninstall-ini\n\tmkdir -p #{pkgshare}" +s.gsub! /[$][(]bindir[)].*bibcleanrc/, "#{pkgshare}/.bibcleanrc" +s.gsub! /[$][(]bindir[)].*bibclean.key/, "#{pkgshare}/.bibclean.key" +s.gsub! /[$][(]bindir[)].*bibclean.isbn/, "#{pkgshare}/.bibclean.isbn" diff --git a/homebrew/bibclean/_metadata/description b/homebrew/bibclean/_metadata/description new file mode 100644 index 000000000..9af084aa4 --- /dev/null +++ b/homebrew/bibclean/_metadata/description @@ -0,0 +1 @@ +BibTeX bibliography file pretty printer and syntax checker diff --git a/homebrew/bibclean/_metadata/homepage b/homebrew/bibclean/_metadata/homepage new file mode 100644 index 000000000..5cf9a96b0 --- /dev/null +++ b/homebrew/bibclean/_metadata/homepage @@ -0,0 +1 @@ +https://www.math.utah.edu/~beebe/software/bibclean/bibclean-03.html#HDR.3 diff --git a/homebrew/bibclean/_metadata/name b/homebrew/bibclean/_metadata/name new file mode 100644 index 000000000..7db91563e --- /dev/null +++ b/homebrew/bibclean/_metadata/name @@ -0,0 +1 @@ +Bibclean diff --git a/homebrew/bibclean/_metadata/version b/homebrew/bibclean/_metadata/version new file mode 100644 index 000000000..5c6fb5489 --- /dev/null +++ b/homebrew/bibclean/_metadata/version @@ -0,0 +1 @@ +2.17 diff --git a/homebrew/bibclean/download.sh b/homebrew/bibclean/download.sh new file mode 100755 index 000000000..45d144619 --- /dev/null +++ b/homebrew/bibclean/download.sh @@ -0,0 +1 @@ +wget http://ftp.math.utah.edu/pub/bibclean/bibclean-2.17.tar.gz || wget https://dl.bintray.com/homebrew/mirror/bibclean-2.17.tar.gz
\ No newline at end of file |