aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-CGI-SpeedyCGI/Makefile
blob: 421d1208a053ca2ab9de71d9441c4158e360af63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# New ports collection makefile for:    CGI-SpeedyCGI
# Date created:             Sun Mar 10 16:44:06 CET 2002
# Whom:                 Lars Thegler <lars@thegler.dk>
#
# $FreeBSD$
#

PORTNAME=   CGI-SpeedyCGI
PORTVERSION=    2.21
PORTREVISION=   3
CATEGORIES= www perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= CGI
PKGNAMEPREFIX=  p5-

MAINTAINER= lars@thegler.dk
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

.include <bsd.port.mk>