pkg:setup ENV.prepend_create_path "PERL5LIB", libexec/"lib/perl5" ENV["PERL_MM_OPT"] = "INSTALL_BASE=#{libexec}" perl Makefile.PL --defaultdeps make DESTDIR=${PKG_DEST} install bin.install Dir["#{libexec}/bin/sqlt*"] man1.install Dir["#{libexec}/man/man1/sqlt*.1"] bin.env_script_all_files libexec/"bin", :PERL5LIB => ENV["PERL5LIB"]