mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
e10ee99bf3
- add cleanlink.pl - fix package installation (module wasn't added to httpd.conf) - use DIST_SUBDIR=apache PR: 57915 Submitted by: maintainer
35 lines
993 B
Makefile
35 lines
993 B
Makefile
# 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>
|