aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ruby16
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-02-10 20:39:31 +0800
committerknu <knu@FreeBSD.org>2001-02-10 20:39:31 +0800
commitbaa0b9a191d754c54bb726e55d8934cd74e2ec45 (patch)
tree6fcf002567fad86fd90ff4238d751f4f323f2cad /lang/ruby16
parentf22a9e70dccf73fa790161466fa475805b71a4fb (diff)
downloadfreebsd-ports-gnome-baa0b9a191d754c54bb726e55d8934cd74e2ec45.tar.gz
freebsd-ports-gnome-baa0b9a191d754c54bb726e55d8934cd74e2ec45.tar.zst
freebsd-ports-gnome-baa0b9a191d754c54bb726e55d8934cd74e2ec45.zip
Add %%PORTDOCS%%.
Diffstat (limited to 'lang/ruby16')
-rw-r--r--lang/ruby16/pkg-plist166
1 files changed, 83 insertions, 83 deletions
diff --git a/lang/ruby16/pkg-plist b/lang/ruby16/pkg-plist
index 42a0131f682a..e92da1a9197e 100644
--- a/lang/ruby16/pkg-plist
+++ b/lang/ruby16/pkg-plist
@@ -110,89 +110,89 @@ lib/lib%%RUBY_NAME%%.so.%%RUBY_SHLIBVER%%
@dirrm %%RUBY_LIBDIR%%/net
@dirrm %%RUBY_LIBDIR%%
@unexec rmdir %D/lib/ruby 2>/dev/null || true
-%%RUBY_DOCDIR%%/README
-%%RUBY_DOCDIR%%/README.EXT
-%%RUBY_DOCDIR%%/README.EXT.jp
-%%RUBY_DOCDIR%%/README.jp
-%%RUBY_DOCDIR%%/etc/etc.txt
-%%RUBY_DOCDIR%%/etc/etc.txt.jp
-%%RUBY_DOCDIR%%/md5/md5.txt
-%%RUBY_DOCDIR%%/md5/md5.txt.jp
-%%RUBY_DOCDIR%%/pty/README
-%%RUBY_DOCDIR%%/pty/README.expect
-%%RUBY_DOCDIR%%/pty/README.expect.jp
-%%RUBY_DOCDIR%%/pty/README.jp
-%%RUBY_DOCDIR%%/readline/README
-@dirrm %%RUBY_DOCDIR%%/etc
-@dirrm %%RUBY_DOCDIR%%/md5
-@dirrm %%RUBY_DOCDIR%%/pty
-@dirrm %%RUBY_DOCDIR%%/readline
-@unexec rmdir %D/%%RUBY_DOCDIR%% 2>/dev/null || true
-%%RUBY_EXAMPLESDIR%%/README
-%%RUBY_EXAMPLESDIR%%/biorhythm.rb
-%%RUBY_EXAMPLESDIR%%/cal.rb
-%%RUBY_EXAMPLESDIR%%/cbreak.rb
-%%RUBY_EXAMPLESDIR%%/clnt.rb
-%%RUBY_EXAMPLESDIR%%/dbmtest.rb
-%%RUBY_EXAMPLESDIR%%/dir.rb
-%%RUBY_EXAMPLESDIR%%/dualstack-fetch.rb
-%%RUBY_EXAMPLESDIR%%/dualstack-httpd.rb
-%%RUBY_EXAMPLESDIR%%/eval.rb
-%%RUBY_EXAMPLESDIR%%/export.rb
-%%RUBY_EXAMPLESDIR%%/exyacc.rb
-%%RUBY_EXAMPLESDIR%%/fact.rb
-%%RUBY_EXAMPLESDIR%%/fib.awk
-%%RUBY_EXAMPLESDIR%%/fib.pl
-%%RUBY_EXAMPLESDIR%%/fib.py
-%%RUBY_EXAMPLESDIR%%/fib.rb
-%%RUBY_EXAMPLESDIR%%/fib.scm
-%%RUBY_EXAMPLESDIR%%/freq.rb
-%%RUBY_EXAMPLESDIR%%/from.rb
-%%RUBY_EXAMPLESDIR%%/fullpath.rb
-%%RUBY_EXAMPLESDIR%%/getopts.test
-%%RUBY_EXAMPLESDIR%%/goodfriday.rb
-%%RUBY_EXAMPLESDIR%%/irb.rb
-%%RUBY_EXAMPLESDIR%%/less.rb
-%%RUBY_EXAMPLESDIR%%/list.rb
-%%RUBY_EXAMPLESDIR%%/list2.rb
-%%RUBY_EXAMPLESDIR%%/list3.rb
-%%RUBY_EXAMPLESDIR%%/mine.rb
-%%RUBY_EXAMPLESDIR%%/mkproto.rb
-%%RUBY_EXAMPLESDIR%%/mpart.rb
-%%RUBY_EXAMPLESDIR%%/mrshtest.rb
-%%RUBY_EXAMPLESDIR%%/observ.rb
-%%RUBY_EXAMPLESDIR%%/occur.pl
-%%RUBY_EXAMPLESDIR%%/occur.rb
-%%RUBY_EXAMPLESDIR%%/occur2.rb
-%%RUBY_EXAMPLESDIR%%/philos.rb
-%%RUBY_EXAMPLESDIR%%/pi.rb
-%%RUBY_EXAMPLESDIR%%/rcs.awk
-%%RUBY_EXAMPLESDIR%%/rcs.dat
-%%RUBY_EXAMPLESDIR%%/rcs.rb
-%%RUBY_EXAMPLESDIR%%/regx.rb
-%%RUBY_EXAMPLESDIR%%/rename.rb
-%%RUBY_EXAMPLESDIR%%/sieve.rb
-%%RUBY_EXAMPLESDIR%%/svr.rb
-%%RUBY_EXAMPLESDIR%%/test.rb
-%%RUBY_EXAMPLESDIR%%/time.rb
-%%RUBY_EXAMPLESDIR%%/trojan.rb
-%%RUBY_EXAMPLESDIR%%/tsvr.rb
-%%RUBY_EXAMPLESDIR%%/uumerge.rb
-%%RUBY_EXAMPLESDIR%%/misc/README
-%%RUBY_EXAMPLESDIR%%/misc/inf-ruby.el
-%%RUBY_EXAMPLESDIR%%/misc/ruby-mode.el
-%%RUBY_EXAMPLESDIR%%/misc/rubydb2x.el
-%%RUBY_EXAMPLESDIR%%/misc/rubydb3x.el
-%%RUBY_EXAMPLESDIR%%/curses/hello.rb
-%%RUBY_EXAMPLESDIR%%/curses/rain.rb
-%%RUBY_EXAMPLESDIR%%/curses/view.rb
-%%RUBY_EXAMPLESDIR%%/pty/expect_sample.rb
-%%RUBY_EXAMPLESDIR%%/pty/script.rb
-%%RUBY_EXAMPLESDIR%%/pty/shl.rb
-@dirrm %%RUBY_EXAMPLESDIR%%/misc
-@dirrm %%RUBY_EXAMPLESDIR%%/curses
-@dirrm %%RUBY_EXAMPLESDIR%%/pty
-@dirrm %%RUBY_EXAMPLESDIR%%
+%%PORTDOCS%%%%RUBY_DOCDIR%%/README
+%%PORTDOCS%%%%RUBY_DOCDIR%%/README.EXT
+%%PORTDOCS%%%%RUBY_DOCDIR%%/README.EXT.jp
+%%PORTDOCS%%%%RUBY_DOCDIR%%/README.jp
+%%PORTDOCS%%%%RUBY_DOCDIR%%/etc/etc.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/etc/etc.txt.jp
+%%PORTDOCS%%%%RUBY_DOCDIR%%/md5/md5.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/md5/md5.txt.jp
+%%PORTDOCS%%%%RUBY_DOCDIR%%/pty/README
+%%PORTDOCS%%%%RUBY_DOCDIR%%/pty/README.expect
+%%PORTDOCS%%%%RUBY_DOCDIR%%/pty/README.expect.jp
+%%PORTDOCS%%%%RUBY_DOCDIR%%/pty/README.jp
+%%PORTDOCS%%%%RUBY_DOCDIR%%/readline/README
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/etc
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/md5
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/pty
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/readline
+%%PORTDOCS%%@unexec rmdir %D/%%RUBY_DOCDIR%% 2>/dev/null || true
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/README
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/biorhythm.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/cal.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/cbreak.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/clnt.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dbmtest.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dir.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dualstack-fetch.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dualstack-httpd.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/eval.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/export.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/exyacc.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fact.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fib.awk
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fib.pl
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fib.py
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fib.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fib.scm
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/freq.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/from.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fullpath.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/getopts.test
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/goodfriday.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/irb.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/less.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/list.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/list2.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/list3.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/mine.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/mkproto.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/mpart.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/mrshtest.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/observ.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/occur.pl
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/occur.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/occur2.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/philos.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/pi.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rcs.awk
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rcs.dat
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rcs.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/regx.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rename.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sieve.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/svr.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/test.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/time.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/trojan.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/tsvr.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/uumerge.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/misc/README
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/misc/inf-ruby.el
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/misc/ruby-mode.el
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/misc/rubydb2x.el
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/misc/rubydb3x.el
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/curses/hello.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/curses/rain.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/curses/view.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/pty/expect_sample.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/pty/script.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/pty/shl.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/misc
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/curses
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/pty
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%
share/emacs/site-lisp/inf-ruby.el
share/emacs/site-lisp/ruby-mode.el
share/emacs/site-lisp/rubydb3x.el
5">, &dkey); /* Data dbt */ md5_get_digest (data, strlen (data), local_hash); md5_to_dbt (local_hash, &ddata); /* Add to database */ db->put (db, NULL, &dkey, &ddata, 0); } void e_dbhash_remove (EDbHash *edbh, const char *key) { DB *db; DBT dkey; g_return_if_fail (edbh != NULL); g_return_if_fail (edbh->priv != NULL); g_return_if_fail (key != NULL); db = edbh->priv->db; /* Key dbt */ string_to_dbt (key, &dkey); /* Remove from database */ db->del (db, NULL, &dkey, 0); } void e_dbhash_foreach_key (EDbHash *edbh, EDbHashFunc func, gpointer user_data) { DB *db; DBT dkey; DBT ddata; DBC *dbc; int db_error = 0; g_return_if_fail (edbh != NULL); g_return_if_fail (edbh->priv != NULL); g_return_if_fail (func != NULL); db = edbh->priv->db; db_error = db->cursor (db, NULL, &dbc, 0); if (db_error != 0) { return; } memset(&dkey, 0, sizeof(DBT)); memset(&ddata, 0, sizeof(DBT)); db_error = dbc->c_get(dbc, &dkey, &ddata, DB_FIRST); while (db_error == 0) { (*func) ((const char *)dkey.data, user_data); db_error = dbc->c_get(dbc, &dkey, &ddata, DB_NEXT); } dbc->c_close (dbc); } EDbHashStatus e_dbhash_compare (EDbHash *edbh, const char *key, const char *compare_data) { DB *db; DBT dkey; DBT ddata; guchar compare_hash[16]; g_return_val_if_fail (edbh != NULL, FALSE); g_return_val_if_fail (edbh->priv != NULL, FALSE); g_return_val_if_fail (key != NULL, FALSE); g_return_val_if_fail (compare_hash != NULL, FALSE); db = edbh->priv->db; /* Key dbt */ string_to_dbt (key, &dkey); /* Lookup in database */ memset (&ddata, 0, sizeof (DBT)); db->get (db, NULL, &dkey, &ddata, 0); /* Compare */ if (ddata.data) { md5_get_digest (compare_data, strlen (compare_data), compare_hash); if (memcmp (ddata.data, compare_hash, sizeof (guchar) * 16)) return E_DBHASH_STATUS_DIFFERENT; } else { return E_DBHASH_STATUS_NOT_FOUND; } return E_DBHASH_STATUS_SAME; } void e_dbhash_write (EDbHash *edbh) { DB *db; g_return_if_fail (edbh != NULL); g_return_if_fail (edbh->priv != NULL); db = edbh->priv->db; /* Flush database to disk */ db->sync (db, 0); } void e_dbhash_destroy (EDbHash *edbh) { DB *db; g_return_if_fail (edbh != NULL); g_return_if_fail (edbh->priv != NULL); db = edbh->priv->db; /* Close datbase */ db->close (db, 0); g_free (edbh->priv); g_free (edbh); }