- Add LICENSE

- Switch to USES=tar
- Unsilence installation commands
- Switch to options helpers

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2017-06-07 09:01:21 +00:00
parent 2ec0579d59
commit e7b77fc2dd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=442820

View File

@ -8,22 +8,28 @@ CATEGORIES= www
MASTER_SITES= http://fossies.org/linux/www/apache_httpd_modules/
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:C/_/-/}-${PORTVERSION}
EXTRACT_SUFX= .tgz
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= libpatricia.copyright documentation.txt faq.txt
PORTDOCS= documentation.txt faq.txt
post-install:
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/libpatricia.copyright ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/documentation.txt ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/faq.txt ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/documentation.txt ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/faq.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>