diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2017-06-07 17:01:21 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2017-06-07 17:01:21 +0800 |
commit | 559c19bba4f9598ce1b20b4fb3d93fe40f2bd078 (patch) | |
tree | efba251171dc79abae9b285423fa51ccdacc6555 /www | |
parent | c6f25a3104058fd0dfd390afa83c402ae0da6714 (diff) | |
download | freebsd-ports-gnome-559c19bba4f9598ce1b20b4fb3d93fe40f2bd078.tar.gz freebsd-ports-gnome-559c19bba4f9598ce1b20b4fb3d93fe40f2bd078.tar.zst freebsd-ports-gnome-559c19bba4f9598ce1b20b4fb3d93fe40f2bd078.zip |
- Add LICENSE
- Switch to USES=tar
- Unsilence installation commands
- Switch to options helpers
Approved by: portmgr blanket
Diffstat (limited to 'www')
-rw-r--r-- | www/mod_cband/Makefile | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/www/mod_cband/Makefile b/www/mod_cband/Makefile index b776edc13215..688c05f53820 100644 --- a/www/mod_cband/Makefile +++ b/www/mod_cband/Makefile @@ -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 + +OPTIONS_DEFINE= DOCS -post-install: +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> |