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

PORTNAME=   mod_limitipconn
PORTVERSION=    0.22
CATEGORIES= www
MASTER_SITES=   http://dominia.org/djao/limit/
DIST_SUBDIR=    apache2

MAINTAINER= gslin@ccca.nctu.edu.tw
COMMENT=    Allows you to limit the number of simultaneous connexions

USE_APACHE= YES
WITH_APACHE2=   YES

PORTDOCS=   ChangeLog INSTALL README

do-build:
    @(cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c)

do-install:
    @(cd ${WRKSRC} && ${APXS} -i -A -n ${PORTNAME:S/mod_//} ${PORTNAME}.la)

.if !defined (NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.   for f in ${PORTDOCS}
    @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.   endfor
.endif

.include <bsd.port.mk>