7 MASTER_SITES= http://www.cyut.edu.tw/~ckhung/dl/
10 MAINTAINER= kevlo@FreeBSD.org
11 COMMENT= Interactive tutorial for algorithms and data structures
13 BUILD_DEPENDS= p5-Tk>=0:${PORTSDIR}/x11-toolkits/p5-Tk
14 RUN_DEPENDS:= ${BUILD_DEPENDS}
19 MANPAGES= algotutor.1 gen_at_graph.1
20 BINFILES= algotutor gen_at_graph
21 LIBFILES= BST.pm Board.pm Collection.pm Configurable.pm DCEdge.pm \
22 Edge.pm Graph.pm Heap.pm Line.pm PQueue.pm RBTree.pm \
23 RecCanvas.pm RecDialog.pm TreeNode.pm Vector.pm Vector2.pm \
24 Vector3.pm Vertex.pm basic.pl utilalgo
26 USES= shebangfix perl5
27 SHEBANG_FILES= algotutor
30 @${REINPLACE_CMD} -e 's,!!SITE_PERL!!,${SITE_PERL},' \
31 -e 's|!!PREFIX!!|${PREFIX}|g' \
35 ${MKDIR} ${STAGEDIR}${SITE_PERL}/algotutor
36 ${MKDIR} ${STAGEDIR}${PREFIX}/share/algotutor
37 ${CP} -R ${WRKSRC}/data ${STAGEDIR}${PREFIX}/share/algotutor
38 ${CP} -R ${WRKSRC}/cgeom ${STAGEDIR}${SITE_PERL}/algotutor
39 ${CP} -R ${WRKSRC}/dp ${STAGEDIR}${SITE_PERL}/algotutor
40 ${CP} -R ${WRKSRC}/graph ${STAGEDIR}${SITE_PERL}/algotutor
41 .for file in ${MANPAGES}
42 ${INSTALL_MAN} ${WRKSRC}/doc/${file} ${STAGEDIR}${PREFIX}/man/man1
44 .for file in ${BINFILES}
45 ${INSTALL_SCRIPT} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
47 .for file in ${LIBFILES}
48 ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${SITE_PERL}/algotutor
51 .include <bsd.port.mk>