aboutsummaryrefslogtreecommitdiff
path: root/www/mod_bw
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2013-12-15 13:54:30 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2013-12-15 13:54:30 +0000
commit5b6e5fe1ae5a614a4cc089705ae23115b43d4667 (patch)
tree8d9d75d320ffc47582311dc1b0da5b8d1dc23099 /www/mod_bw
parent796a75c34a9ff57c87c88a712e1688a786f058fe (diff)
downloadports-5b6e5fe1ae5a614a4cc089705ae23115b43d4667.tar.gz
ports-5b6e5fe1ae5a614a4cc089705ae23115b43d4667.zip
- allow staging
- change to new LIB_DEPENDS notation - s/LATEST_LINK/PKGNAMESUFFIX/ - fix MASTERSITE
Notes
Notes: svn path=/head/; revision=336534
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/