diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2005-04-13 04:14:00 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2005-04-13 04:14:00 +0000 |
commit | 8d344d5fd52305ad0ea612972e5833e50bfdb211 (patch) | |
tree | 7c7800c17d1ef458e70ab733f4335eb4c6dff9b1 /math/algotutor | |
parent | d0a46500cf3c858fb0f5a35b466c9f0dbe010774 (diff) | |
download | ports-8d344d5fd52305ad0ea612972e5833e50bfdb211.tar.gz ports-8d344d5fd52305ad0ea612972e5833e50bfdb211.zip |
Notes
Diffstat (limited to 'math/algotutor')
-rw-r--r-- | math/algotutor/Makefile | 21 | ||||
-rw-r--r-- | math/algotutor/distinfo | 4 | ||||
-rw-r--r-- | math/algotutor/files/patch-algotutor | 12 | ||||
-rw-r--r-- | math/algotutor/pkg-plist | 20 |
4 files changed, 35 insertions, 22 deletions
diff --git a/math/algotutor/Makefile b/math/algotutor/Makefile index 62078a5f54cb..57d07dd824a0 100644 --- a/math/algotutor/Makefile +++ b/math/algotutor/Makefile @@ -1,12 +1,12 @@ # New ports collection makefile for: algotutor -# Date created: 19 January 2005 -# Whom: Kevin Lo <kevlo@FreeBSD.org> +# Date created: 19 January 2005 +# Whom: Kevin Lo <kevlo@FreeBSD.org> # # $FreeBSD$ # PORTNAME= algotutor -PORTVERSION= 0.7 +PORTVERSION= 0.8.2 CATEGORIES= math MASTER_SITES= http://www.cyut.edu.tw/~ckhung/dl/ EXTRACT_SUFX= .tgz @@ -22,9 +22,10 @@ NO_BUILD= yes MAN1= algotutor.1 gen_at_graph.1 BINFILES= algotutor gen_at_graph -LIBFILES= .algotutor BST.pm DCEdge.pm Edge.pm Graph.pm Heap.pm \ - PQueue.pm RBTree.pm RecCanvas.pm RecDialog.pm TreeNode.pm \ - Vector.pm Vertex.pm utilalgo +LIBFILES= BST.pm Board.pm Collection.pm Configurable.pm DCEdge.pm \ + Edge.pm Graph.pm Heap.pm PQueue.pm RBTree.pm RecCanvas.pm \ + RecDialog.pm TreeNode.pm Vector.pm Vertex.pm basic.pl \ + utilalgo post-patch: ${PERL} -pi -e "s'!!PREFIX!!'${PREFIX}'g" ${WRKSRC}/algotutor @@ -32,16 +33,18 @@ post-patch: do-install: ${MKDIR} ${PREFIX}/share/algotutor ${CP} -R ${WRKSRC}/data ${PREFIX}/share/algotutor - ${CP} -R ${WRKSRC}/graph ${PREFIX}/share/algotutor + ${CP} -R ${WRKSRC}/cgeom ${SITE_PERL}/algotutor/ + ${CP} -R ${WRKSRC}/dp ${SITE_PERL}/algotutor + ${CP} -R ${WRKSRC}/graph ${SITE_PERL}/algotutor .for file in ${MAN1} ${INSTALL_MAN} ${WRKSRC}/doc/${file} ${PREFIX}/man/man1 .endfor ${MKDIR} ${SITE_PERL}/algotutor .for file in ${BINFILES} - ${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin/ + ${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin .endfor .for file in ${LIBFILES} - ${INSTALL_DATA} ${WRKSRC}/${file} ${SITE_PERL}/algotutor/ + ${INSTALL_DATA} ${WRKSRC}/${file} ${SITE_PERL}/algotutor .endfor .include <bsd.port.mk> diff --git a/math/algotutor/distinfo b/math/algotutor/distinfo index 3fd2b62df259..1ceaea7dfdc2 100644 --- a/math/algotutor/distinfo +++ b/math/algotutor/distinfo @@ -1,2 +1,2 @@ -MD5 (algotutor-0.7.tgz) = b0e6f2fd093c587a77536934e8b7cdaa -SIZE (algotutor-0.7.tgz) = 102620 +MD5 (algotutor-0.8.2.tgz) = 22e39de94c8c40b25a53b9a90735d887 +SIZE (algotutor-0.8.2.tgz) = 104425 diff --git a/math/algotutor/files/patch-algotutor b/math/algotutor/files/patch-algotutor index 75e3b475a13d..cccb33fc1bf4 100644 --- a/math/algotutor/files/patch-algotutor +++ b/math/algotutor/files/patch-algotutor @@ -1,18 +1,18 @@ ---- algotutor.orig Wed Jan 19 12:06:33 2005 -+++ algotutor Wed Jan 19 12:09:25 2005 +--- algotutor.orig Tue Apr 12 21:35:39 2005 ++++ algotutor Wed Apr 13 11:50:11 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'; ++use lib '!!PREFIX!!/lib/perl5/site_perl/5.8.6/algotutor'; BEGIN { my ($path) = $0 =~ m#(.*/)#; -@@ -24,7 +24,7 @@ - ); +@@ -33,7 +33,7 @@ + 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 !!PREFIX!!/share/algotutor/data/countries.gr\n" unless $#ARGV == 0; diff --git a/math/algotutor/pkg-plist b/math/algotutor/pkg-plist index ecf1cd00f1ea..fe0b92e7d334 100644 --- a/math/algotutor/pkg-plist +++ b/math/algotutor/pkg-plist @@ -1,7 +1,9 @@ bin/algotutor bin/gen_at_graph -%%SITE_PERL%%/algotutor/.algotutor %%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 @@ -13,6 +15,15 @@ bin/gen_at_graph %%SITE_PERL%%/algotutor/TreeNode.pm %%SITE_PERL%%/algotutor/Vector.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/lcs +%%SITE_PERL%%/algotutor/dp/matrixchain +%%SITE_PERL%%/algotutor/graph/dfs +%%SITE_PERL%%/algotutor/graph/flwa +%%SITE_PERL%%/algotutor/graph/pfs %%SITE_PERL%%/algotutor/utilalgo share/algotutor/data/countries.gr share/algotutor/data/lv.gr @@ -21,10 +32,9 @@ share/algotutor/data/randgrid.gr share/algotutor/data/simple.gr share/algotutor/data/trc.gr share/algotutor/data/tt.gr -share/algotutor/graph/dfs -share/algotutor/graph/flwa -share/algotutor/graph/pfs -@dirrm share/algotutor/graph @dirrm share/algotutor/data @dirrm share/algotutor +@dirrm %%SITE_PERL%%/algotutor/graph +@dirrm %%SITE_PERL%%/algotutor/dp +@dirrm %%SITE_PERL%%/algotutor/cgeom @dirrm %%SITE_PERL%%/algotutor |