e7b77fc2dd
- Switch to USES=tar - Unsilence installation commands - Switch to options helpers Approved by: portmgr blanket
35 lines
917 B
Makefile
35 lines
917 B
Makefile
# Created by: Clement Laforet <clement@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mod_cband
|
|
PORTVERSION= 0.9.7.5
|
|
PORTREVISION= 3
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://fossies.org/linux/www/apache_httpd_modules/
|
|
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME:C/_/-/}-${PORTVERSION}
|
|
DIST_SUBDIR= apache2
|
|
|
|
MAINTAINER= apache@FreeBSD.org
|
|
COMMENT= Per-virtualhost bandwidth limiter module for Apache 2
|
|
|
|
LICENSE= GPLv2+ BSD4CLAUSE
|
|
LICENSE_COMB= multi
|
|
LICENSE_FILE_GPLv2+ = ${WRKSRC}/LICENSE
|
|
LICENSE_FILE_BSD4CLAUSE= ${WRKSRC}/libpatricia.copyright
|
|
|
|
USES= tar:tgz
|
|
USE_APACHE= 22
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-apxs=${APXS}
|
|
ALL_TARGET= #
|
|
PORTDOCS= documentation.txt faq.txt
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/documentation.txt ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/faq.txt ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|