aboutsummaryrefslogtreecommitdiffstats
path: root/www/fcgiwrap/Makefile
blob: 15f50719530dcfa011b60e9220da47e12c13882b (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
# $FreeBSD$

PORTNAME=   fcgiwrap
PORTVERSION=    1.1.0
PORTREVISION=   3
CATEGORIES= www
MASTER_SITES=   http://www.skysmurf.nl/comp/FreeBSD/distfiles/

MAINTAINER= freebsd@skysmurf.nl
COMMENT=    Simple FastCGI wrapper for CGI scripts

LICENSE=    MIT

LIB_DEPENDS=    libfcgi.so:www/fcgi

USES=       autoreconf gmake pkgconfig

USE_GITHUB= yes
GH_ACCOUNT= gnosek

USE_RC_SUBR=    fcgiwrap

CFLAGS+=    -I${LOCALBASE}/include -L${LOCALBASE}/lib
GNU_CONFIGURE=  yes

PLIST_FILES=    sbin/fcgiwrap man/man8/fcgiwrap.8.gz

post-patch:
    @${REINPLACE_CMD} -e 's/@prefix@@mandir@/@mandir@/'\
    -e 's|-m 755 fcgiwrap|-s -m 755 fcgiwrap|' ${WRKSRC}/Makefile.in

.include <bsd.port.mk>