summaryrefslogtreecommitdiff
path: root/www/mod_limitipconn/Makefile
blob: b1629c31d18756f2ebf8d590d3ff5020d984720e (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
# 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/

MAINTAINER=	gslin@ccca.nctu.edu.tw
COMMENT=	Limit the number of simultaneous connections from a single client IP address

BUILD_DEPENDS?=	${APXS}:${PORTSDIR}/www/apache13
RUN_DEPENDS?=	${BUILD_DEPENDS}

APXS?=		${LOCALBASE}/sbin/apxs

USE_REINPLACE=	yes

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

.include <bsd.port.mk>