aboutsummaryrefslogtreecommitdiffstats
path: root/www/fcgi/Makefile
blob: 42b068ab11f0c44fd62d2ca5148494f6fd1b8f31 (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
# Created by: kbyanc
# $FreeBSD$

PORTNAME=   fcgi
PORTVERSION=    2.4.0
PORTREVISION=   5
CATEGORIES= www
MASTER_SITES=   http://www.fastcgi.com/dist/ \
        http://www.skysmurf.nl/comp/FreeBSD/distfiles/
PKGNAMESUFFIX=  -devkit

MAINTAINER= freebsd@skysmurf.nl
COMMENT=    FastCGI Development Kit

LICENSE=    Open_Market_FastCGI_license
LICENSE_NAME=   Open Market FastCGI license
LICENSE_FILE=   ${WRKSRC}/LICENSE.TERMS
LICENSE_PERMS=  dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

USES=       cpe libtool
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
MAKE_JOBS_UNSAFE=   yes
CPE_VENDOR= fastcgi

OPTIONS_DEFINE= DOCS

.include <bsd.port.options.mk>

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libfcgi.so.0.0.0
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libfcgi++.so.0.0.0
    ${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${MANPREFIX}/man/man1/
    ${INSTALL_MAN} ${WRKSRC}/doc/*.3 ${STAGEDIR}${MANPREFIX}/man/man3/
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
    @${RM} -f ${STAGEDIR}${DOCSDIR}/*.[13]
.endif

.include <bsd.port.mk>