aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_cband/Makefile
blob: 161942cb5ddeaad8253a9982e800fdac18872d8d (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
# 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=   1
CATEGORIES= www
MASTER_SITES=   http://cband.linux.pl/download/ \
        http://www.sfr-fresh.com/unix/privat/
DISTNAME=   ${PORTNAME:C/_/-/}-${PORTVERSION}
EXTRACT_SUFX=   .tgz
DIST_SUBDIR=    apache2

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

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

post-install:
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/libpatricia.copyright ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/doc/documentation.txt ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/doc/faq.txt ${DOCSDIR}

.include <bsd.port.mk>