1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

- USE_APACHE=yes is deprecated

- Use PORTDOCS
- Convert to AP_FAST_BUILD/AP_GENPLIST

PR:		ports/133686
Submitted by:	pgollucci
This commit is contained in:
Alex Dupre 2009-04-28 06:08:31 +00:00
parent d94949e294
commit 553fe200be
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=232889
2 changed files with 11 additions and 25 deletions

View File

@ -13,23 +13,20 @@ MASTER_SITES= http://bertrand.demiddelaer.org/mod_tsunami/
MAINTAINER= ale@FreeBSD.org
COMMENT= Apache module which dynamically limits a site's slot usage
USE_APACHE= yes
DOCS= AUTHORS Changelog
USE_APACHE= 1.3
AP_FAST_BUILD= yes
AP_GENPLIST= yes
do-build:
@cd ${WRKSRC} && ${APXS} -c mod_tsunami.c
do-install:
${APXS} -i -A -n tsunami ${WRKSRC}/mod_tsunami.so
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for f in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
@${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
.endif
PORTDOCS= AUTHORS Changelog docs
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}/
.for f in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
@${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}/
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -1,11 +0,0 @@
libexec/apache/mod_tsunami.so
@exec %D/sbin/apxs -e -A -n tsunami %D/%F
@unexec %D/sbin/apxs -e -A -n tsunami %D/%F
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/Changelog
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/mod_tsunami_files/index.gif
%%PORTDOCS%%%%DOCSDIR%%/mod_tsunami_files/home.gif
%%PORTDOCS%%%%DOCSDIR%%/mod_tsunami_files/sub.gif
%%PORTDOCS%%@dirrm %%DOCSDIR%%/mod_tsunami_files
%%PORTDOCS%%@dirrm %%DOCSDIR%%