mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
10 lines
369 B
Plaintext
10 lines
369 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
if [ "$2" = "POST-INSTALL" ]; then
|
||
|
echo "${PKG_PREFIX}/lib/ocaml/site-lib/expat" >> ${PKG_PREFIX}/lib/ocaml/ld.conf
|
||
|
elif [ "$2" = "DEINSTALL" ]; then
|
||
|
mv ${PKG_PREFIX}/lib/ocaml/ld.conf ${PKG_PREFIX}/lib/ocaml/ld.conf.tmp
|
||
|
grep -v expat ${PKG_PREFIX}/lib/ocaml/ld.conf.tmp > ${PKG_PREFIX}/lib/ocaml/ld.conf
|
||
|
rm -f ${PKG_PREFIX}/lib/ocaml/ld.conf.tmp
|
||
|
fi
|