diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-06-07 04:24:02 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-06-07 04:24:02 +0000 |
commit | 790a024ef1be72eb8d112f768a99e43d15962e0c (patch) | |
tree | c0c7f65d176be57895b6b81773bf09fe2413f3b4 /www | |
parent | 20b49e0244d37a4c371f354d3602615f8d37f3d5 (diff) |
Notes
Diffstat (limited to 'www')
-rw-r--r-- | www/mod_bandwidth/Makefile | 21 | ||||
-rw-r--r-- | www/mod_bandwidth/pkg-plist | 4 |
2 files changed, 11 insertions, 14 deletions
diff --git a/www/mod_bandwidth/Makefile b/www/mod_bandwidth/Makefile index 229e697ab1b7..ea9e700e3d77 100644 --- a/www/mod_bandwidth/Makefile +++ b/www/mod_bandwidth/Makefile @@ -5,30 +5,31 @@ # $FreeBSD$ # +#Orignal locations: ftp://ftp.cohprog.com/pub/apache/module/1.3.0/mod_bandwidth.c +# ftp://ftp.cohprog.com/pub/apache/module/cleanlink.pl + PORTNAME= mod_bandwidth PORTVERSION= 2.1.0 CATEGORIES= www MASTER_SITES= http://potatohead.estat.com/FreeBSD/ PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} -#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 -MAKE_JOBS_SAFE= yes - -USE_APACHE= 1.3 -USE_PERL5= YES +MAKE_JOBS_SAFE= yes CONFLICTS= apache-contrib-1.* -do-build: - @(cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c) +USE_PERL5= YES +USE_APACHE= 1.3 +AP_FAST_BUILD= yes +AP_GENPLIST= yes + +PLIST_FILES+= sbin/cleanlink.pl -do-install: - @(cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.so) +post-install: @${INSTALL_SCRIPT} ${WRKSRC}/cleanlink.pl ${LOCALBASE}/sbin ${CAT} ${PKGMESSAGE} diff --git a/www/mod_bandwidth/pkg-plist b/www/mod_bandwidth/pkg-plist deleted file mode 100644 index 151e108a4755..000000000000 --- a/www/mod_bandwidth/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -%%APACHEMODDIR%%/%%AP_MODULE%% -@exec %D/sbin/apxs -e -a -n %%AP_NAME%% %D/%f -sbin/cleanlink.pl -@unexec echo "===> If you do not plan on reinstalling mod_bandwidth, you must manually remove"; echo "===> references to it in httpd.conf." |