pkg:setup args=["INSTALLBIN=#{bin}", "EXE=ploticus"] inreplace "src/pl.h", /#define\s+PREFABS_DIR\s+""/, "#define PREFABS_DIR \"#{pkgshare}\"" make -C src *args bin.mkdir make -C src DESTDIR=${PKG_DEST} install *args pkgshare.install Dir["prefabs/*"]