summaryrefslogtreecommitdiff
path: root/math/algotutor/files/patch-algotutor
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2005-01-19 04:28:37 +0000
committerKevin Lo <kevlo@FreeBSD.org>2005-01-19 04:28:37 +0000
commitda06aac91e1e56c409058e6789e6b3571c800fa0 (patch)
tree5cc83dc61b97a3d1de38bfd851085a1bb9c97cb3 /math/algotutor/files/patch-algotutor
parentUpdate to 7.4.6. (diff)
Initial import of algotutor 0.6.2
Algotutor is an interactive tutorial for algorithms and data structures.
Notes
Notes: svn path=/head/; revision=126758
Diffstat (limited to 'math/algotutor/files/patch-algotutor')
-rw-r--r--math/algotutor/files/patch-algotutor20
1 files changed, 20 insertions, 0 deletions
diff --git a/math/algotutor/files/patch-algotutor b/math/algotutor/files/patch-algotutor
new file mode 100644
index 000000000000..75e3b475a13d
--- /dev/null
+++ b/math/algotutor/files/patch-algotutor
@@ -0,0 +1,20 @@
+--- algotutor.orig Wed Jan 19 12:06:33 2005
++++ algotutor Wed Jan 19 12:09:25 2005
+@@ -4,7 +4,7 @@
+
+ use strict;
+ use Getopt::Std;
+-use lib '/usr/share/perl5/algotutor';
++use lib '!!PREFIX!!/lib/perl5/site_perl/5.8.5/algotutor';
+
+ BEGIN {
+ my ($path) = $0 =~ m#(.*/)#;
+@@ -24,7 +24,7 @@
+ );
+
+ getopts('a:s:', \%opts);
+-die "need exactly one data file. Example:\n\talgotutor -a bst /usr/share/algotutor/data/countries.gr\n"
++die "need exactly one data file. Example:\n\talgotutor -a bst !!PREFIX!!/share/algotutor/data/countries.gr\n"
+ unless $#ARGV == 0;
+ $dfn = $ARGV[0];
+ die "cannot read data file '$dfn'.\nDoes it exist and do you have read permissions?\n" unless -r $dfn;