openbsd-ports/education/algotutor/Makefile

60 lines
1.7 KiB
Makefile
Raw Normal View History

2011-09-16 05:48:08 -04:00
# $OpenBSD: Makefile,v 1.11 2011/09/16 09:48:09 espie Exp $
2007-09-15 23:07:06 -04:00
COMMENT= interactive tutorial for algorithms and data structures
2008-12-21 06:51:01 -05:00
DISTNAME= algotutor-0.8.6
2011-09-16 05:48:08 -04:00
REVISION= 0
2005-02-17 21:20:55 -05:00
CATEGORIES= education math
2008-12-21 06:51:01 -05:00
HOMEPAGE= http://people.ofset.org/~ckhung/p/algotutor/
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
2008-12-21 06:51:01 -05:00
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2008-12-21 06:51:01 -05:00
MASTER_SITES= http://people.ofset.org/~ckhung/dl/
EXTRACT_SUFX= .tgz
2010-11-15 18:22:07 -05:00
RUN_DEPENDS= x11/p5-Tk
2010-10-18 14:00:15 -04:00
USE_GROFF = Yes
NO_BUILD= Yes
P5SITE= libdata/perl5/site_perl
P5INST= ${PREFIX}/${P5SITE}
SUBST_VARS= P5SITE
2008-12-21 06:51:01 -05:00
DOCS= ChangeLog gpl.html
2008-12-21 06:51:01 -05:00
do-configure:
${SUBST_CMD} ${WRKSRC}/algotutor
do-install:
2008-12-21 06:51:01 -05:00
${INSTALL_DATA_DIR} ${P5INST}/algotutor
2005-04-12 21:27:42 -04:00
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/algotutor
2008-12-21 06:51:01 -05:00
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/algotutor
2005-04-12 21:27:42 -04:00
${INSTALL_DATA} ${WRKSRC}/etc/algotutor \
${PREFIX}/share/examples/algotutor
${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
2008-12-21 06:51:01 -05:00
${INSTALL_DATA} ${WRKSRC}/doc/*.{php,png,css} \
${PREFIX}/share/doc/algotutor
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${DOCS} \
${PREFIX}/share/doc/algotutor
2005-04-12 21:27:42 -04:00
cp -R ${WRKSRC}/cgeom ${P5INST}/algotutor
cp -R ${WRKSRC}/data ${PREFIX}/share/algotutor
2005-04-12 21:27:42 -04:00
cp -R ${WRKSRC}/dp ${P5INST}/algotutor
cp -R ${WRKSRC}/graph ${P5INST}/algotutor
cp ${WRKSRC}/*.pm ${P5INST}/algotutor
2005-04-12 21:27:42 -04:00
cp ${WRKSRC}/basic.pl ${P5INST}/algotutor
cp ${WRKSRC}/utilalgo ${P5INST}/algotutor
.include <bsd.port.mk>