summaryrefslogtreecommitdiff
path: root/math/algotutor
diff options
context:
space:
mode:
Diffstat (limited to 'math/algotutor')
-rw-r--r--math/algotutor/Makefile56
-rw-r--r--math/algotutor/distinfo2
-rw-r--r--math/algotutor/files/patch-algotutor20
-rw-r--r--math/algotutor/pkg-descr5
-rw-r--r--math/algotutor/pkg-plist39
5 files changed, 0 insertions, 122 deletions
diff --git a/math/algotutor/Makefile b/math/algotutor/Makefile
deleted file mode 100644
index d5e38098a549..000000000000
--- a/math/algotutor/Makefile
+++ /dev/null
@@ -1,56 +0,0 @@
-# $FreeBSD$
-
-PORTNAME= algotutor
-PORTVERSION= 0.8.6
-PORTREVISION= 7
-CATEGORIES= math
-MASTER_SITES= http://www.cyut.edu.tw/~ckhung/dl/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Interactive tutorial for algorithms and data structures
-
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
-
-BUILD_DEPENDS= p5-Tk>=0:x11-toolkits/p5-Tk
-RUN_DEPENDS:= ${BUILD_DEPENDS}
-
-USE_PERL5= build
-NO_BUILD= yes
-NO_ARCH= yes
-
-MANPAGES= algotutor.1 gen_at_graph.1
-BINFILES= algotutor gen_at_graph
-LIBFILES= BST.pm Board.pm Collection.pm Configurable.pm DCEdge.pm \
- Edge.pm Graph.pm Heap.pm Line.pm PQueue.pm RBTree.pm \
- RecCanvas.pm RecDialog.pm TreeNode.pm Vector.pm Vector2.pm \
- Vector3.pm Vertex.pm basic.pl utilalgo
-
-USES= shebangfix perl5 tar:tgz
-SHEBANG_FILES= algotutor dp/flwa dp/lcs dp/matrixchain \
- gen_at_graph graph/flwa
-
-post-patch:
- @${REINPLACE_CMD} -e 's,!!SITE_PERL!!,${PREFIX}/${SITE_PERL_REL},' \
- -e 's|!!PREFIX!!|${PREFIX}|g' \
- ${WRKSRC}/algotutor
-
-do-install:
- ${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/algotutor
- ${MKDIR} ${STAGEDIR}${PREFIX}/share/algotutor
- ${CP} -R ${WRKSRC}/data ${STAGEDIR}${PREFIX}/share/algotutor
- ${CP} -R ${WRKSRC}/cgeom ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/algotutor
- ${CP} -R ${WRKSRC}/dp ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/algotutor
- ${CP} -R ${WRKSRC}/graph ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/algotutor
-.for file in ${MANPAGES}
- ${INSTALL_MAN} ${WRKSRC}/doc/${file} ${STAGEDIR}${PREFIX}/man/man1
-.endfor
-.for file in ${BINFILES}
- ${INSTALL_SCRIPT} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
-.endfor
-.for file in ${LIBFILES}
- ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/algotutor
-.endfor
-
-.include <bsd.port.mk>
diff --git a/math/algotutor/distinfo b/math/algotutor/distinfo
deleted file mode 100644
index 9d7c010f4876..000000000000
--- a/math/algotutor/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (algotutor-0.8.6.tgz) = 78e4779779e5a75ef8419c660cccbe9fcd4aac679bbd478e80133ff915414886
-SIZE (algotutor-0.8.6.tgz) = 176802
diff --git a/math/algotutor/files/patch-algotutor b/math/algotutor/files/patch-algotutor
deleted file mode 100644
index a12946b54e00..000000000000
--- a/math/algotutor/files/patch-algotutor
+++ /dev/null
@@ -1,20 +0,0 @@
---- algotutor.orig Tue Apr 10 18:55:36 2007
-+++ algotutor Tue Apr 10 18:56:10 2007
-@@ -4,7 +4,7 @@
-
- use strict;
- use Getopt::Std;
--use lib '/usr/share/perl5/algotutor';
-+use lib '!!SITE_PERL!!/algotutor';
-
- BEGIN {
- my ($path) = $0 =~ m#(.*/)#;
-@@ -58,7 +58,7 @@
- $tab->{$algo}{run}();
- } else {
- # algorithms other than dynamic programming
-- 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;
diff --git a/math/algotutor/pkg-descr b/math/algotutor/pkg-descr
deleted file mode 100644
index 2302fc4cb8d6..000000000000
--- a/math/algotutor/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-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.
-
-WWW: http://www.cyut.edu.tw/~ckhung/p/algotutor/
diff --git a/math/algotutor/pkg-plist b/math/algotutor/pkg-plist
deleted file mode 100644
index 5da9c7224b54..000000000000
--- a/math/algotutor/pkg-plist
+++ /dev/null
@@ -1,39 +0,0 @@
-bin/algotutor
-bin/gen_at_graph
-%%SITE_PERL%%/algotutor/BST.pm
-%%SITE_PERL%%/algotutor/Board.pm
-%%SITE_PERL%%/algotutor/Collection.pm
-%%SITE_PERL%%/algotutor/Configurable.pm
-%%SITE_PERL%%/algotutor/DCEdge.pm
-%%SITE_PERL%%/algotutor/Edge.pm
-%%SITE_PERL%%/algotutor/Graph.pm
-%%SITE_PERL%%/algotutor/Heap.pm
-%%SITE_PERL%%/algotutor/Line.pm
-%%SITE_PERL%%/algotutor/PQueue.pm
-%%SITE_PERL%%/algotutor/RBTree.pm
-%%SITE_PERL%%/algotutor/RecCanvas.pm
-%%SITE_PERL%%/algotutor/RecDialog.pm
-%%SITE_PERL%%/algotutor/TreeNode.pm
-%%SITE_PERL%%/algotutor/Vector.pm
-%%SITE_PERL%%/algotutor/Vector2.pm
-%%SITE_PERL%%/algotutor/Vector3.pm
-%%SITE_PERL%%/algotutor/Vertex.pm
-%%SITE_PERL%%/algotutor/basic.pl
-%%SITE_PERL%%/algotutor/cgeom/dom
-%%SITE_PERL%%/algotutor/cgeom/graham
-%%SITE_PERL%%/algotutor/cgeom/utils
-%%SITE_PERL%%/algotutor/dp/flwa
-%%SITE_PERL%%/algotutor/dp/lcs
-%%SITE_PERL%%/algotutor/dp/matrixchain
-%%SITE_PERL%%/algotutor/graph/flwa
-%%SITE_PERL%%/algotutor/graph/pfs
-%%SITE_PERL%%/algotutor/utilalgo
-man/man1/algotutor.1.gz
-man/man1/gen_at_graph.1.gz
-share/algotutor/data/countries.gr
-share/algotutor/data/lv.gr
-share/algotutor/data/pts1.gr
-share/algotutor/data/randgrid.gr
-share/algotutor/data/simple.gr
-share/algotutor/data/trc.gr
-share/algotutor/data/tt.gr