Initial import of algotutor 0.6.2
Algotutor is an interactive program for observing the intermediate steps of algorithms. The target audience is computer science students and/or anyone who studies algorithms and/or data structures.
This commit is contained in:
parent
1337fc6ca9
commit
02237fc803
47
education/algotutor/Makefile
Normal file
47
education/algotutor/Makefile
Normal file
@ -0,0 +1,47 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2005/01/14 03:02:16 kevlo Exp $
|
||||
|
||||
COMMENT= "interactive tutorial for algorithms and data structures"
|
||||
|
||||
DISTNAME= algotutor-0.6.2
|
||||
CATEGORIES= education
|
||||
|
||||
HOMEPAGE= http://www.cyut.edu.tw/~ckhung/p/algotutor/index.en.shtml
|
||||
|
||||
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://www.cyut.edu.tw/~ckhung/dl/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
BUILD_DEPENDS= :p5-Tk-*:x11/p5-Tk
|
||||
|
||||
NO_BUILD= Yes
|
||||
|
||||
P5SITE= libdata/perl5/site_perl
|
||||
P5INST= ${PREFIX}/${P5SITE}
|
||||
SUBST_VARS= P5SITE
|
||||
|
||||
do-configure:
|
||||
@perl -i -pe 's@%%P5INST%%@${P5INST}@g' ${WRKSRC}/algotutor
|
||||
|
||||
pre-fake:
|
||||
${INSTALL_DATA_DIR} ${P5INST}/algotutor
|
||||
|
||||
do-install:
|
||||
${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}/data ${PREFIX}/share/algotutor
|
||||
cp -R ${WRKSRC}/graph ${PREFIX}/share/algotutor
|
||||
cp ${WRKSRC}/*.pm ${P5INST}/algotutor
|
||||
cp ${WRKSRC}/.algotutor ${P5INST}/algotutor
|
||||
cp ${WRKSRC}/utilalgo ${P5INST}/algotutor
|
||||
|
||||
.include <bsd.port.mk>
|
4
education/algotutor/distinfo
Normal file
4
education/algotutor/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (algotutor-0.6.2.tgz) = ad85c604ab689fa4b4c38daf35803935
|
||||
RMD160 (algotutor-0.6.2.tgz) = b92e3f2da48183b59a3dbc77c44a8821a02ad37e
|
||||
SHA1 (algotutor-0.6.2.tgz) = 7ffb85436d69595fd95437050677274aabd9d3cf
|
||||
SIZE (algotutor-0.6.2.tgz) = 110169
|
21
education/algotutor/patches/patch-algotutor
Normal file
21
education/algotutor/patches/patch-algotutor
Normal file
@ -0,0 +1,21 @@
|
||||
$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
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
use strict;
|
||||
use Getopt::Std;
|
||||
-use lib '/usr/share/perl5/algotutor';
|
||||
+use lib '%%P5INST%%/algotutor';
|
||||
|
||||
BEGIN {
|
||||
my ($path) = $0 =~ m#(.*/)#;
|
||||
@@ -24,7 +24,7 @@ my (
|
||||
);
|
||||
|
||||
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;
|
||||
$dfn = $ARGV[0];
|
||||
die "cannot read data file '$dfn'.\nDoes it exist and do you have read permissions?\n" unless -r $dfn;
|
3
education/algotutor/pkg/DESCR
Normal file
3
education/algotutor/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
Algotutor is an interactive program for observing the intermediate
|
||||
steps of algorithms. The target audience is computer science students
|
||||
and/or anyone who studies algorithms and/or data structures.
|
31
education/algotutor/pkg/PLIST
Normal file
31
education/algotutor/pkg/PLIST
Normal file
@ -0,0 +1,31 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/01/14 03:02:16 kevlo Exp $
|
||||
bin/algotutor
|
||||
bin/gen_at_graph
|
||||
${P5SITE}/algotutor/
|
||||
${P5SITE}/algotutor/.algotutor
|
||||
${P5SITE}/algotutor/BST.pm
|
||||
${P5SITE}/algotutor/DCEdge.pm
|
||||
${P5SITE}/algotutor/Edge.pm
|
||||
${P5SITE}/algotutor/Graph.pm
|
||||
${P5SITE}/algotutor/Heap.pm
|
||||
${P5SITE}/algotutor/PQueue.pm
|
||||
${P5SITE}/algotutor/RBTree.pm
|
||||
${P5SITE}/algotutor/RecCanvas.pm
|
||||
${P5SITE}/algotutor/RecDialog.pm
|
||||
${P5SITE}/algotutor/TreeNode.pm
|
||||
${P5SITE}/algotutor/Vector.pm
|
||||
${P5SITE}/algotutor/Vertex.pm
|
||||
${P5SITE}/algotutor/utilalgo
|
||||
@man man/man1/algotutor.1
|
||||
@man man/man1/gen_at_graph.1
|
||||
share/algotutor/
|
||||
share/algotutor/data/
|
||||
share/algotutor/data/countries.gr
|
||||
share/algotutor/data/lv.gr
|
||||
share/algotutor/data/randgrid.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
|
Loading…
Reference in New Issue
Block a user