summaryrefslogtreecommitdiff
path: root/www/p5-CGI-SpeedyCGI
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-04-29 15:58:06 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-04-29 15:58:06 +0000
commita459d01547d22acdcdb45c68a49b6afae6792310 (patch)
tree79272a94e5d5a554887de42d211b960a0ce44b4d /www/p5-CGI-SpeedyCGI
parentUse bsd.port.pre/post.mk, so Makefile.local does work. (diff)
Fix PREFIX under perl-5.005
bump PORTREVISION PR: 51507 Submitted by: leeym Approved by: Lars Thegler <lars@thegler.dk>
Notes
Notes: svn path=/head/; revision=79880
Diffstat (limited to 'www/p5-CGI-SpeedyCGI')
-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