bibclean 2.16 (new formula)

* Build failed with superenv, hence included `env :std`.
* `ENV.deparallelize` was also necessary.
* Two `inreplace` statements insert `mkdir` statements needed on MacOS.
* One `inreplace` statement fixes the `mandir` variable in `Makefile`,
since it is not properly defined by autoconfig despite the `--mandir`
parameter passed to `./configure`.
On 11 Jul 2014, at 1:15, Mike McQuaid wrote:

>> +      # requires that the full path to the target already exist.
>> +      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)"
>> +
>> +      # Correct `mandir` (man file path) in the Makefile.
>> +      s.gsub! /mandir.*prefix.*man.*man1/, "mandir = 
>> $(prefix)/share/man/man1"
>> +
>> +      # Place all initialization files in $(prefix)/bibclean/share/ 
>> instead of ./bin/ to comply with standard Unix practice.
>> +      s.gsub! /install-ini.*uninstall-ini/, "install-ini:  
>> uninstall-ini\n\tmkdir -p #{share}/bibclean"
>> +      s.gsub! /[$][(]bindir[)].*bibcleanrc/, 
>> "#{share}/bibclean/.bibcleanrc"
>> +      s.gsub! /[$][(]bindir[)].*bibclean.key/, 
>> "#{share}/bibclean/.bibclean.key"
>> +      s.gsub! /[$][(]bindir[)].*bibclean.isbn/, 
>> "#{share}/bibclean/.bibclean.isbn"
>> +    end
>> +
>> +    # Build the binary.
>> +    system "make", "all", "check", "install"
>
> Can you run these three jobs as separate steps? Thanks.

Sorry, what do you mean?

>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/Homebrew/homebrew/pull/30772/files#r14793942