1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/devel/pear/pkg-install
Antoine Brodin 0b5f6f6e50 Preliminary work on devel/pear to allow staging of pear classes:
- create 3 empty directories when pkg_install is used
- regenerate .depdb post package install to prevent fs/stage violations
- add a note about staging this port, install-pear.php seems to be the way
- bump PORTREVISION

Reviewed by:	bapt, ports@
2013-11-08 21:37:06 +00:00

12 lines
222 B
Bash

#!/bin/sh
if [ "$2" != "POST-INSTALL" ]; then
exit 0
fi
# Regenerate %%PEARDIR%%/.depdb post-install
# This is to prevent fs or stage violation for first dependent port
${PKG_PREFIX}/bin/pear list > /dev/null
exit 0