blob: 1a47118a772200704008468531e92626578a31b9 (
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
|
# 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.5
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= sheepkiller@cultdeadsheep.org
COMMENT= Bandwidth management module for the Apache webserver
BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_PERL5= YES
APXS?= ${LOCALBASE}/sbin/apxs
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>
|