aboutsummaryrefslogtreecommitdiffstats
path: root/www/fcgi/Makefile
blob: 4b5125dc2f00dce735fe9a2614f4d3344daf3c3d (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
43
# 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= jlaffaye@FreeBSD.org
COMMENT=    FastCGI Development Kit

USE_AUTOTOOLS=  libtool
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
MAKE_JOBS_UNSAFE=   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>