pkgsrc/misc/rubygems/INSTALL
taca 7b6fb22521 * Allow build on not only ruby18 but ruby19.
* Ugly hack to replace with already installed gem command.

Bump PKGREVISION.
2011-03-27 13:02:17 +00:00

12 lines
239 B
Text

# $NetBSD: INSTALL,v 1.1 2011/03/27 13:02:17 taca Exp $
RUBYGEM="@PREFIX@/bin/@RUBYGEM_NAME@"
case ${STAGE} in
POST-INSTALL)
if [ -f ${RUBYGEM} ]; then
${MV} ${RUBYGEM} ${RUBYGEM}.orig
fi
${CP} -p ${RUBYGEM}.new ${RUBYGEM}
;;
esac