diff options
Diffstat (limited to 'math/algotutor/Makefile')
-rw-r--r-- | math/algotutor/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/math/algotutor/Makefile b/math/algotutor/Makefile index e304a08..0466d1d 100644 --- a/math/algotutor/Makefile +++ b/math/algotutor/Makefile @@ -23,11 +23,13 @@ LIBFILES= BST.pm Board.pm Collection.pm Configurable.pm DCEdge.pm \ RecCanvas.pm RecDialog.pm TreeNode.pm Vector.pm Vector2.pm \ Vector3.pm Vertex.pm basic.pl utilalgo +USES= shebangfix +SHEBANG_FILES= algotutor + post-patch: - ${REINPLACE_CMD} -e 's,#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/algotutor - ${PERL} -pi -e "s'!!PREFIX!!'${PREFIX}'g" ${WRKSRC}/algotutor - ${REINPLACE_CMD} -e 's,!!SITE_PERL!!,${SITE_PERL},' \ - ${WRKSRC}/algotutor + @${REINPLACE_CMD} -e 's,!!SITE_PERL!!,${SITE_PERL},' \ + -e 's|!!PREFIX!!|${PREFIX}|g' \ + ${WRKSRC}/algotutor do-install: ${MKDIR} ${SITE_PERL}/algotutor |