diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2005-01-19 04:28:37 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2005-01-19 04:28:37 +0000 |
commit | da06aac91e1e56c409058e6789e6b3571c800fa0 (patch) | |
tree | 5cc83dc61b97a3d1de38bfd851085a1bb9c97cb3 /math/algotutor/Makefile | |
parent | 6ecc1bda8f1e29c11bb120408bf9f3629894b9c1 (diff) |
Notes
Diffstat (limited to 'math/algotutor/Makefile')
-rw-r--r-- | math/algotutor/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/math/algotutor/Makefile b/math/algotutor/Makefile new file mode 100644 index 000000000000..28a8c16a2a18 --- /dev/null +++ b/math/algotutor/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: algotutor +# Date created: 19 January 2005 +# Whom: Kevin Lo <kevlo@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= algotutor +PORTVERSION= 0.6.2 +CATEGORIES= math +MASTER_SITES= http://www.cyut.edu.tw/~ckhung/dl/ +EXTRACT_SUFX= .tgz + +MAINTAINER= kevlo@FreeBSD.org +COMMENT= An interactive tutorial for algorithms and data structures + +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk +RUN_DEPENDS= ${BUILD_DEPENDS} + +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 + +post-patch: + ${PERL} -pi -e "s'!!PREFIX!!'${PREFIX}'g" ${WRKSRC}/algotutor + +do-install: + ${MKDIR} ${PREFIX}/share/algotutor + ${CP} -R ${WRKSRC}/data ${PREFIX}/share/algotutor + ${CP} -R ${WRKSRC}/graph ${PREFIX}/share/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/ +.endfor +.for file in ${LIBFILES} + ${INSTALL_DATA} ${WRKSRC}/${file} ${SITE_PERL}/algotutor/ +.endfor + +.include <bsd.port.mk> |