pkg:setup make -C src doc.install Dir["doc/*"] libexec.install "data" libexec.install "prince" pkgvar = var/"sdlpop" pkgvar.install "SDLPoP.ini" unless (pkgvar/"SDLPoP.ini").exist? (bin/"prince").write <<~EOS #!/bin/bash cd "#{pkgvar}" && exec "#{libexec}/prince" $@ EOS