Stuart Henderson <s...@spacehopper.org> writes: > On 2018/09/24 15:22, Timo Myyrä wrote: > >> Hi, >> >> Here is an port for Gerbil Scheme. Its an scheme implementation focusing on >> systems programming. Think minimal version of Racket in pure Scheme. It >> builds >> on top of Gambit scheme. >> >> The installation is bit odd that it expects everything to be in single >> destination directory. I copied the lang/go method to installing it to >> /usr/local/gerbil. I've added README into the port to notify users about >> setting >> GERBIL_HOME and PATH so Gerbil will work. > > README should follow the layout in > /usr/ports/infrastructure/templates/README.template, > and has hardcoded /usr/local that should be replaced with ${PREFIX}. > >> I tried to add symlinks under /usr/local/bin but that didn't work as rest of >> the >> code seems to assume libraries are found relative to the bin directory. > > That's a bit unfriendly :( Are there any other packagers on other OS that > have already fixed that whose work could be borrowed? > >> I've enabled some optional parts in Gerbil with patching, should these be >> made >> into flavors and keep smaller 'core' version or this fine as it is? > > I'd skip that initially. It could be added later if there's demand. > > This .. > > VERSION = 0.13 > DISTNAME = gerbil-${VERSION} > > GH_ACCOUNT = vyzo > GH_PROJECT = gerbil > GH_TAGNAME = v${VERSION} > > Can just be replaced with > > GH_ACCOUNT = vyzo > GH_PROJECT = gerbil > GH_TAGNAME = v0.13
Ok, a bit tuned up version. - Fixed the README - Used the GERBIL_ROOT in Makefile - fixed GH_* tags in Makefile - Removed non-default dependencies except libxml, I intent to use Gerbil to parse XML data so I need it. I looked a bit but couldn't find other packages for Gerbil than one in Arch: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=gerbil-scheme-git It uses same method except install it int /opt/gerbil-git. Timo
gerbil.tar.gz
Description: Binary data