diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2003-10-14 07:21:23 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2003-10-14 07:21:23 +0000 |
commit | e10ee99bf3d0ee69437e0396845eb9259a8df24a (patch) | |
tree | 758525c2b9560a56d9ce7013fb16ba157c2637f8 /www | |
parent | Add CONFLICT for lang/njs (njs-*) (diff) |
- Resync with authors version (2.0.5)
- add cleanlink.pl
- fix package installation (module wasn't added to httpd.conf)
- use DIST_SUBDIR=apache
PR: 57915
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=91141
Diffstat (limited to 'www')
-rw-r--r-- | www/mod_bandwidth/Makefile | 14 | ||||
-rw-r--r-- | www/mod_bandwidth/distinfo | 2 | ||||
-rw-r--r-- | www/mod_bandwidth/pkg-plist | 3 |
3 files changed, 9 insertions, 10 deletions
diff --git a/www/mod_bandwidth/Makefile b/www/mod_bandwidth/Makefile index ae121d4b2559..1a47118a7722 100644 --- a/www/mod_bandwidth/Makefile +++ b/www/mod_bandwidth/Makefile @@ -6,11 +6,13 @@ # PORTNAME= mod_bandwidth -PORTVERSION= 2.0.4 +PORTVERSION= 2.0.5 CATEGORIES= www MASTER_SITES= http://sheepkiller.nerim.net/ports/${PORTNAME}/ \ http://www.cultdeadsheep.org/FreeBSD/ports/download/distfiles/ -EXTRACT_SUFX= .c +#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 @@ -18,19 +20,15 @@ COMMENT= Bandwidth management module for the Apache webserver BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 RUN_DEPENDS= ${BUILD_DEPENDS} -NO_WRKSUBDIR= YES - +USE_PERL5= YES APXS?= ${LOCALBASE}/sbin/apxs -do-extract: - @${MKDIR} ${WRKDIR} - @${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}/${PORTNAME}.c - 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> diff --git a/www/mod_bandwidth/distinfo b/www/mod_bandwidth/distinfo index 734aa1e4243e..a670167950b4 100644 --- a/www/mod_bandwidth/distinfo +++ b/www/mod_bandwidth/distinfo @@ -1 +1 @@ -MD5 (mod_bandwidth-2.0.4.c) = 00f0905d777f79485beb428b53191ecf +MD5 (apache/mod_bandwidth-2.0.5.tar.gz) = 036bd7a95b43b1dd5a77061fcf59aa27 diff --git a/www/mod_bandwidth/pkg-plist b/www/mod_bandwidth/pkg-plist index 82149cd49e09..11e47b9839d6 100644 --- a/www/mod_bandwidth/pkg-plist +++ b/www/mod_bandwidth/pkg-plist @@ -1,3 +1,4 @@ libexec/apache/mod_bandwidth.so -@exec %D/sbin/apxs -e -A -n mod_bandwidth %D/%F +@exec %D/sbin/apxs -e -A -n bandwidth %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." |