aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_bw
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2013-12-15 21:54:30 +0800
committerohauer <ohauer@FreeBSD.org>2013-12-15 21:54:30 +0800
commit088796346d394a506a4e84096a62ddcbc3c94688 (patch)
tree8d9d75d320ffc47582311dc1b0da5b8d1dc23099 /www/mod_bw
parentd9ca43ca08930b47ae3844272bac3f91dc4c05a9 (diff)
downloadfreebsd-ports-gnome-088796346d394a506a4e84096a62ddcbc3c94688.tar.gz
freebsd-ports-gnome-088796346d394a506a4e84096a62ddcbc3c94688.tar.zst
freebsd-ports-gnome-088796346d394a506a4e84096a62ddcbc3c94688.zip
- allow staging
- change to new LIB_DEPENDS notation - s/LATEST_LINK/PKGNAMESUFFIX/ - fix MASTERSITE
Diffstat (limited to 'www/mod_bw')
-rw-r--r--www/mod_bw/Makefile13
-rw-r--r--www/mod_bw/pkg-descr2
2 files changed, 6 insertions, 9 deletions
diff --git a/www/mod_bw/Makefile b/www/mod_bw/Makefile
index ae0c89abcf1c..e157ef2ec944 100644
--- a/www/mod_bw/Makefile
+++ b/www/mod_bw/Makefile
@@ -5,13 +5,14 @@ PORTNAME= mod_bw
PORTVERSION= 0.8
PORTREVISION= 1
CATEGORIES= www
-MASTER_SITES= http://www.ivn.cl/apache/files/source/
+MASTER_SITES= http://legacy.ivn.cl/files/source/
EXTRACT_SUFX= .tgz
DIST_SUBDIR= apache2
MAINTAINER= apache@FreeBSD.org
COMMENT= Bandwidth and Connection control per Virtual Host or Directory
+LICENSE= AL2
WRKSRC= ${WRKDIR}/mod_bw
USE_APACHE= 22
@@ -19,14 +20,10 @@ AP_FAST_BUILD= yes
AP_GENPLIST= yes
SRC_FILE= mod_bw.c
-PORTDOCS= LICENSE mod_bw.txt
+PORTDOCS= mod_bw.txt
-NO_STAGE= yes
post-install:
-.ifndef NOPORTDOCS
- @${MKDIR} ${DOCSDIR}
- @cd ${WRKSRC} && \
- ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/www/mod_bw/pkg-descr b/www/mod_bw/pkg-descr
index 8c597384a814..671ffd06e95b 100644
--- a/www/mod_bw/pkg-descr
+++ b/www/mod_bw/pkg-descr
@@ -3,4 +3,4 @@ It can:
* Restrict the number of simultaneous connections per vhost/dir
* Limit the bandwidth for files on vhost/dir
-WWW: http://www.ivn.cl/apache/
+WWW: http://ivn.cl/category/apache/