pkg:setup args = %W[--disable-dependency-tracking --disable-silent-rules --enable-locallisppath=#{HOMEBREW_PREFIX}/share/emacs/site-lisp --infodir=#{info}/emacs --prefix=#{prefix} --with-gnutls --without-x --with-xml2 --without-dbus --with-modules --without-ns --without-imagemagick ] ENV.prepend_path "PATH", Formula["gnu-sed"].opt_libexec/"gnubin" ./autogen.sh end pkg:configure *args make make DESTDIR=${PKG_DEST} install (bin/"ctags").unlink (man1/"ctags.1.gz").unlink