pkg:setup ENV.prepend_create_path "PERL5LIB", libexec/"lib/perl5/site_perl/" perl Makefile.PL PREFIX=#{libexec} make DESTDIR=${PKG_DEST} install bin.install Dir[libexec/"bin/*"] bin.env_script_all_files libexec/"bin", :PERL5LIB => ENV["PERL5LIB"] man1.install_symlink Dir[libexec/"share/man/man1/*.1"]