summaryrefslogtreecommitdiff
path: root/www/mod_cband/Makefile
blob: ae69e351b10dc2f7022335945d2b2e06fe0100c7 (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
# New ports collection makefile for:	mod_cband
# Date created:				Sep 7 2005
# Whom:					Clement Laforet <clement@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	mod_cband
PORTVERSION=	0.9.7.5
PORTREVISION=	3
CATEGORIES=	www
MASTER_SITES=	http://www.sfr-fresh.com/unix/privat/
PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}
DISTNAME=	${PORTNAME:C/_/-/}-${PORTVERSION}
EXTRACT_SUFX=	.tgz
DIST_SUBDIR=	apache2

MAINTAINER=	apache@FreeBSD.org
COMMENT=	A per-virtualhost bandwidth limiter module for Apache 2

MAKE_JOBS_SAFE=  yes

USE_APACHE=	20+
GNU_CONFIGURE=	YES
CONFIGURE_ARGS=	--with-apxs=${APXS}
ALL_TARGET=	#
PORTDOCS=	libpatricia.copyright documentation.txt faq.txt

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/libpatricia.copyright ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/doc/documentation.txt ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/doc/faq.txt ${DOCSDIR}
.else
	@${DO_NADA}
.endif
.include <bsd.port.mk>