aboutsummaryrefslogtreecommitdiff
path: root/www/mod_limitipconn/Makefile
blob: af35d42203daa169a112bbe684fafea209af9622 (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
# New ports collection makefile for:	mod_limitipconn
# Date created:				18 April 2003
# Whom:					Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=	mod_limitipconn
PORTVERSION=	0.04
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	http://dominia.org/djao/limit/
PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}

MAINTAINER=	ychsiao@ychsiao.org
COMMENT=	Limit the number of simultaneous connections from a single IP address

MAKE_JOBS_SAFE=  yes

USE_APACHE=	13
PLIST_FILES=	${APACHEMODDIR}/mod_limitipconn.so

OPTIONS=	FIXCOUNT "Patch dangling browser connections counting" Off

.include <bsd.port.pre.mk>

.if defined(WITH_FIXCOUNT)
EXTRA_PATCHES+=	${PATCHDIR}/fixcounting.patch
.endif

post-patch:
	${REINPLACE_CMD} -e 's,^APXS = .*,APXS = ${APXS},' ${WRKSRC}/Makefile

.include <bsd.port.post.mk>