upgrade to algotutor 0.8.2

This commit is contained in:
kevlo 2005-04-13 01:27:42 +00:00
parent ff81d3019d
commit a171c6bb91
4 changed files with 37 additions and 20 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.2 2005/02/18 02:20:55 kevlo Exp $
# $OpenBSD: Makefile,v 1.3 2005/04/13 01:27:42 kevlo Exp $
COMMENT= "interactive tutorial for algorithms and data structures"
DISTNAME= algotutor-0.7
DISTNAME= algotutor-0.8.2
CATEGORIES= education math
HOMEPAGE= http://www.ofset.org/~ckhung/p/algotutor/
@ -33,15 +33,20 @@ pre-fake:
${INSTALL_DATA_DIR} ${P5INST}/algotutor
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/algotutor
${INSTALL_DATA} ${WRKSRC}/etc/algotutor \
${PREFIX}/share/examples/algotutor
${INSTALL_DATA_DIR} ${PREFIX}/share/algotutor
${INSTALL_SCRIPT} ${WRKSRC}/algotutor ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/gen_at_graph ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/algotutor.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/gen_at_graph.1 ${PREFIX}/man/man1
cp -R ${WRKSRC}/cgeom ${P5INST}/algotutor
cp -R ${WRKSRC}/data ${PREFIX}/share/algotutor
cp -R ${WRKSRC}/graph ${PREFIX}/share/algotutor
cp -R ${WRKSRC}/dp ${P5INST}/algotutor
cp -R ${WRKSRC}/graph ${P5INST}/algotutor
cp ${WRKSRC}/*.pm ${P5INST}/algotutor
cp ${WRKSRC}/.algotutor ${P5INST}/algotutor
cp ${WRKSRC}/basic.pl ${P5INST}/algotutor
cp ${WRKSRC}/utilalgo ${P5INST}/algotutor
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
MD5 (algotutor-0.7.tgz) = b0e6f2fd093c587a77536934e8b7cdaa
RMD160 (algotutor-0.7.tgz) = cfd505d3b05510534ed12f5fb3d8ee09c2003718
SHA1 (algotutor-0.7.tgz) = d83be8055c20a00528532f708154a46cbca32340
SIZE (algotutor-0.7.tgz) = 102620
MD5 (algotutor-0.8.2.tgz) = 22e39de94c8c40b25a53b9a90735d887
RMD160 (algotutor-0.8.2.tgz) = 67cc0e6afd82c1d62c4ac3d4c446d65591aa1c3d
SHA1 (algotutor-0.8.2.tgz) = 2da1d4b7cf92e82df79e485471478a33263cec51
SIZE (algotutor-0.8.2.tgz) = 104425

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-algotutor,v 1.1.1.1 2005/01/14 03:02:16 kevlo Exp $
--- algotutor.orig Fri Jan 14 11:09:27 2005
+++ algotutor Fri Jan 14 11:10:07 2005
$OpenBSD: patch-algotutor,v 1.2 2005/04/13 01:27:42 kevlo Exp $
--- algotutor.orig Tue Apr 12 13:35:39 2005
+++ algotutor Wed Apr 13 09:23:13 2005
@@ -4,7 +4,7 @@
use strict;
@ -10,10 +10,10 @@ $OpenBSD: patch-algotutor,v 1.1.1.1 2005/01/14 03:02:16 kevlo Exp $
BEGIN {
my ($path) = $0 =~ m#(.*/)#;
@@ -24,7 +24,7 @@ my (
);
@@ -33,7 +33,7 @@ if (grep { $opts{a} eq $_ } qw(lcs matc)
dynprog($opts{a});
}
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 /usr/local/share/algotutor/data/countries.gr\n"
unless $#ARGV == 0;

View File

@ -1,9 +1,11 @@
@comment $OpenBSD: PLIST,v 1.2 2005/02/18 02:20:55 kevlo Exp $
@comment $OpenBSD: PLIST,v 1.3 2005/04/13 01:27:42 kevlo Exp $
bin/algotutor
bin/gen_at_graph
${P5SITE}/algotutor/
${P5SITE}/algotutor/.algotutor
${P5SITE}/algotutor/BST.pm
${P5SITE}/algotutor/Board.pm
${P5SITE}/algotutor/Collection.pm
${P5SITE}/algotutor/Configurable.pm
${P5SITE}/algotutor/DCEdge.pm
${P5SITE}/algotutor/Edge.pm
${P5SITE}/algotutor/Graph.pm
@ -15,6 +17,18 @@ ${P5SITE}/algotutor/RecDialog.pm
${P5SITE}/algotutor/TreeNode.pm
${P5SITE}/algotutor/Vector.pm
${P5SITE}/algotutor/Vertex.pm
${P5SITE}/algotutor/basic.pl
${P5SITE}/algotutor/cgeom/
${P5SITE}/algotutor/cgeom/dom
${P5SITE}/algotutor/cgeom/graham
${P5SITE}/algotutor/cgeom/utils
${P5SITE}/algotutor/dp/
${P5SITE}/algotutor/dp/lcs
${P5SITE}/algotutor/dp/matrixchain
${P5SITE}/algotutor/graph/
${P5SITE}/algotutor/graph/dfs
${P5SITE}/algotutor/graph/flwa
${P5SITE}/algotutor/graph/pfs
${P5SITE}/algotutor/utilalgo
@man man/man1/algotutor.1
@man man/man1/gen_at_graph.1
@ -27,7 +41,5 @@ share/algotutor/data/randgrid.gr
share/algotutor/data/simple.gr
share/algotutor/data/trc.gr
share/algotutor/data/tt.gr
share/algotutor/graph/
share/algotutor/graph/dfs
share/algotutor/graph/flwa
share/algotutor/graph/pfs
share/examples/algotutor/
share/examples/algotutor/algotutor