aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_bandwidth/Makefile
blob: 680c6f38ccc7905be5fc44d5c658670442db388a (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_bandwidth
# Date created:             2 July 2003
# Whom:                 Clement Laforet <sheepkiller@cultdeadsheep.org>
#
# $FreeBSD$
#

PORTNAME=   mod_bandwidth
PORTVERSION=    2.0.6
CATEGORIES= www
MASTER_SITES=   http://sheepkiller.nerim.net/ports/${PORTNAME}/ \
        http://www.cultdeadsheep.org/FreeBSD/ports/download/distfiles/
#Orignal locations: ftp://ftp.cohprog.com/pub/apache/module/1.3.0/mod_bandwidth.c
#                   ftp://ftp.cohprog.com/pub/apache/module/cleanlink.pl
DIST_SUBDIR=    apache

MAINTAINER= apache@FreeBSD.org
COMMENT=    Bandwidth management module for the Apache webserver

USE_APACHE= YES
USE_PERL5=  YES

CONFLICTS=  apache-contrib-1.*

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

do-install:
    @(cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.so)
    @${INSTALL_SCRIPT} ${WRKSRC}/cleanlink.pl ${LOCALBASE}/sbin
    ${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>