blob: dee7caa6cc91c99e7a37783c30f151807fc32653 (
plain)
1
2
3
4
5
6
7
|
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/*"]
|