summaryrefslogtreecommitdiff
path: root/www/p5-CGI-SpeedyCGI/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-CGI-SpeedyCGI/Makefile')
-rw-r--r--www/p5-CGI-SpeedyCGI/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/p5-CGI-SpeedyCGI/Makefile b/www/p5-CGI-SpeedyCGI/Makefile
index d2e5d13c4b36..f2546fa25cac 100644
--- a/www/p5-CGI-SpeedyCGI/Makefile
+++ b/www/p5-CGI-SpeedyCGI/Makefile
@@ -7,7 +7,7 @@
PORTNAME= CGI-SpeedyCGI
PORTVERSION= 2.21
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= CGI
@@ -18,6 +18,9 @@ COMMENT= Speed up perl CGI scripts by running them persistently
PERL_CONFIGURE= yes
+post-configure:
+ @${PERL} -pi.bak -e 's,^PREFIX = /usr$$,PREFIX = ${PREFIX},g' ${WRKSRC}/*/Makefile
+
post-install:
@${INSTALL_PROGRAM} ${WRKSRC}/speedy/speedy ${PREFIX}/bin/speedy_suid
@${CHMOD} 4755 ${PREFIX}/bin/speedy_suid