summaryrefslogtreecommitdiff
path: root/lang/ruby200-base/DEINSTALL
diff options
context:
space:
mode:
authortaca <taca>2013-07-21 02:32:58 +0000
committertaca <taca>2013-07-21 02:32:58 +0000
commit0a4c70e9ab37ba7dd36bcf03675f1a575c05a66f (patch)
tree3c46b53b509f554db1e8f93e0411d1378867233f /lang/ruby200-base/DEINSTALL
parent9a9a625f86e55bee322ae21f6693d517571fe17c (diff)
downloadpkgsrc-0a4c70e9ab37ba7dd36bcf03675f1a575c05a66f.tar.gz
Add ruby200-base-2.0.0p247.
This is latest stable release of Ruby and it basically compatible with Ruby 1.9.3. Please refer full changes to NEWS/ChangeLog files or official Web site. Here is language changes: * Added keyword arguments. * Added %i and %I for symbol list creation (similar to %w and %W). * Default source encoding is changed to UTF-8. (was US-ASCII) * No warning for unused variables starting with '_'
Diffstat (limited to 'lang/ruby200-base/DEINSTALL')
-rw-r--r--lang/ruby200-base/DEINSTALL14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/ruby200-base/DEINSTALL b/lang/ruby200-base/DEINSTALL
new file mode 100644
index 00000000000..00702725f8e
--- /dev/null
+++ b/lang/ruby200-base/DEINSTALL
@@ -0,0 +1,14 @@
+# $NetBSD: DEINSTALL,v 1.1 2013/07/21 02:32:58 taca Exp $
+
+RUBY_GEM_BASE="${PREFIX}/@RUBY_GEM_BASE@"
+RUBY_SITERIDIR="${PREFIX}/@RUBY_SITERIDIR@"
+
+case ${STAGE} in
+DEINSTALL)
+ ${RM} -f ${RUBY_SITERIDIR}/created.rid
+ ;;
+POST-DEINSTALL)
+ ${RM} -rf ${GEM_HOME}
+ ${RMDIR} ${RUBY_GEM_BASE} 2>/dev/null || true
+ ;;
+esac