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,!!PERL_VERSION!!,${PERL_VERSION},' ${WRKSRC}/algotutor
do-install:
${MKDIR} ${SITE_PERL}/algotutor
use strict;
use Getopt::Std;
-use lib '/usr/share/perl5/algotutor';
+use lib '!!PREFIX!!/lib/perl5/site_perl/5.8.8/algotutor';
+use lib '!!PREFIX!!/lib/perl5/site_perl/!!PERL_VERSION!!/algotutor';
BEGIN {
my ($path) = $0 =~ m#(.*/)#;