diff options
Diffstat (limited to 'homebrew/mandoc/.make.sh-auto')
-rw-r--r-- | homebrew/mandoc/.make.sh-auto | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/homebrew/mandoc/.make.sh-auto b/homebrew/mandoc/.make.sh-auto new file mode 100644 index 000000000..96f3379ea --- /dev/null +++ b/homebrew/mandoc/.make.sh-auto @@ -0,0 +1,15 @@ +pkg:setup +localconfig = [ +"PREFIX=#{prefix}", "INCLUDEDIR=#{include}", "LIBDIR=#{lib}", "MANDIR=#{man}", "WWWPREFIX=#{prefix}/var/www", "EXAMPLEDIR=#{share}/examples", "BINM_MAN=bsdman", "BINM_APROPOS=bsdapropos", "BINM_WHATIS=bsdwhatis", "BINM_MAKEWHATIS=bsdmakewhatis", +"MANM_MAN=man", "MANM_MDOC=mdoc", "MANM_ROFF=mandoc_roff", +"MANM_EQN=eqn", "MANM_TBL=tbl", "OSNAME='Mac OS X +"MANPATH_DEFAULT=#{HOMEBREW_PREFIX}/share/man", "HAVE_MANPATH=0", +"STATIC=", +"HOMEBREWDIR= +"BUILD_CGI=1", ] +File.rename("cgi.h.example", "cgi.h") +(buildpath/"configure.local").write localconfig.join("\n") +pkg:configure +ENV.deparallelize do +make +make DESTDIR=${PKG_DEST} install |