freebsd-ports/converters/p5-JSON-PP/files/pkg-install.in
Sunpoet Po-Chuan Hsieh 8bb921a385 - Rename bin/json_pp to bin/p5json_pp to avoid CONFLICTS with lang/perl5.14
- Bump PORTREVISION for PLIST change

Reported by:	kwm
Obtained from:	lth (devel/p5-Module-CoreList)
2011-09-17 07:35:57 +00:00

9 lines
202 B
Bash

#!/bin/sh
case $2 in
POST-INSTALL)
if ! test -f %%PREFIX%%/bin/json_pp; then
echo "===> Reinstalling missing %%PREFIX%%/bin/json_pp"
cp -p %%PREFIX%%/bin/p5json_pp %%PREFIX%%/bin/json_pp
fi
esac