pkg:setup args = %W[--prefix=#{prefix} --disable-dependency-tracking --disable-openmp --disable-static --enable-shared --with-modules --with-quantum-depth=16 --without-lzma --without-x --without-gslib --with-gs-font-dir=#{HOMEBREW_PREFIX}/share/ghostscript/fonts --without-wmf ] inreplace "configure", "${PACKAGE_NAME}-${PACKAGE_VERSION}", "${PACKAGE_NAME}" pkg:configure *args make DESTDIR=${PKG_DEST} install