freebsd-ports/lang/scm/pkg-install
Mikhail Teterin 00f73ebba8 lang/scm: depend on lang/slib instead of bundling own slib.
Also, disable compiler optimization again. Although -O2 works
on FreeBSD-11/i386, it breaks self-testing on FreeBSD-14/amd64.
2024-01-04 18:28:09 -05:00

9 lines
305 B
Bash

#!/bin/sh
if [ "$2" = "POST-INSTALL" ]; then
cd $PKG_PREFIX/lib/scm && $PKG_PREFIX/bin/scm -l mkimpcat.scm
cd $PKG_PREFIX/lib/scm && $PKG_PREFIX/bin/scm -l ${PKG_PREFIX}/share/slib/mklibcat.scm
elif [ "$2" = "DEINSTALL" ] ; then
rm -f $PKG_PREFIX/lib/scm/slibcat
rm -f $PKG_PREFIX/lib/scm/implcat
fi