freebsd-ports/lang/slib-guile2/files/pkg-install.in
Guido Falsi cc5c75bd95 - Update slib and slib-guile to 3b4
- Fix build for lang/slib with new texinfo [1]
- Convert slib-guile @exec/@unexec directives to post install/deinstall scripts
- Add new port slib-guile2 based on slib-guile
- Remove dirrms

MFH:	2014Q4
2014-10-05 13:29:40 +00:00

8 lines
301 B
Bash

#!/bin/sh
case "$2" in
"POST-INSTALL")
ln -shf %%LOCALBASE%%/share/slib %%LOCALBASE%%/share/guile/2.0/slib
env GUILE_IMPLEMENTATION_PATH=%%LOCALBASE%%/share/guile/2.0 %%LOCALBASE%%/bin/guile -q -l %%LOCALBASE%%/share/slib/guile-2.init -c "(use-modules (ice-9 slib))(require 'new-catalog)"
;;
esac