aboutsummaryrefslogtreecommitdiffstats
path: root/www/fcgi/Makefile
blob: 1af70fed78d9f8f21aef21abdd4695dff4fd2ec2 (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
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:    fcgi-devkit
# Date created:        13 May 1999
# Whom:                kbyanc
#
# $FreeBSD$
#

PORTNAME=   fcgi
PORTVERSION=    2.2.2
CATEGORIES= www
MASTER_SITES=   http://www.fastcgi.com/dist/
PKGNAMESUFFIX=  -devkit

MAINTAINER= kbyanc@posi.net

USE_PERL5=  yes
GNU_CONFIGURE=  yes

MAN1=       cgi-fcgi.1
MAN3=       FCGI_Accept.3 FCGI_Finish.3 FCGI_SetExitStatus.3 \
        FCGI_StartFilterData.3

post-install:
.for y in ${MAN1}
    @${INSTALL_MAN} ${WRKSRC}/doc/${y} ${MANPREFIX}/man/man1
.endfor
.for x in ${MAN3}
    @${INSTALL_MAN} ${WRKSRC}/doc/${x} ${MANPREFIX}/man/man3
.endfor
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/doc/*.htm* ${WRKSRC}/doc/*.gif \
        ${DOCSDIR}
.for i in fastcgi-prog-guide fastcgi-whitepaper
    @${MKDIR} ${DOCSDIR}/${i}
    @${INSTALL_DATA} ${WRKSRC}/doc/${i}/* ${DOCSDIR}/$i
.endfor
.endif

.include <bsd.port.mk>