Permalink
Browse files

mdocml: 1.13.2

mdocml is a suite of tools compiling mdoc, the roff macro language of
choice for BSD manual pages, and man, the predominant historical
language for UNIX manuals.
  • Loading branch information...
afh committed Jan 12, 2015
1 parent 2e2c9d5 commit 67b32d8d953a05bb0f8de61b5eacbaa82db23211
Showing with 24 additions and 0 deletions.
  1. +1 −0 Library/Aliases/mandoc
  2. +23 −0 Library/Formula/mdocml.rb
View
View
@@ -0,0 +1,23 @@
class Mdocml < Formula
homepage "http://mdocml.bsd.lv/"
url "http://mdocml.bsd.lv/snapshots/mdocml-1.13.2.tar.gz"
sha1 "0d3c4e72214f73ee81c02e9b8863db0bc8f85aaf"
keg_only :provided_by_osx, <<-EOS.undent
In addition it may conflict with the groff formula from the homebrew-dupes tap.
EOS
def install
ENV.deparallelize
inreplace "configure" do |s|
s.change_make_var! "PREFIX", prefix
s.change_make_var! "MANDIR", man
end
system "./configure"
system "make", "install"
end
test do
assert_match /^MANDOC\(1\)\s+General Commands Manual\s+MANDOC\(1\)/, shell_output("#{bin}/mandoc #{man1}/mandoc.1")
end
end

0 comments on commit 67b32d8

Please sign in to comment.