aboutsummaryrefslogtreecommitdiffstats
path: root/www/fcgi/Makefile
blob: e0eb4a1e0efdff16f495c907710b4ace8bf8169f (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
41
42
# New ports collection makefile for:    fcgi-devkit
# Date created:        13 May 1999
# Whom:                kbyanc
#
# $FreeBSD$
#

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

MAINTAINER= kbyanc@posi.net
COMMENT=    FastCGI Development Kit

USE_PERL5=  yes
GNU_CONFIGURE=  yes
INSTALLS_SHLIB= 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>