pkg:setup ENV.prepend_path "PKG_CONFIG_PATH", Formula["lua@5.1"].opt_libexec/"lib/pkgconfig" inreplace "configure", "-laquaterm", "" pdflib = Formula["pdflib-lite"].opt_prefix args = %W[--disable-dependency-tracking --disable-silent-rules --prefix=#{prefix} --disable-wxwidgets --with-aquaterm --with-gd=#{Formula["gd"].opt_prefix} --with-lispdir=#{elisp} --with-pdf=#{pdflib} --with-readline=#{Formula["readline"].opt_prefix} --without-cairo --without-latex --without-tutorial --without-x ] pkg:configure *args ENV.deparallelize make make DESTDIR=${PKG_DEST} install