View | Details | Raw Unified | Return to bug 133686
Collapse All | Expand All

(-)Makefile (-12 / +9 lines)
Lines 13-35 Link Here
13
MAINTAINER=	ale@FreeBSD.org
13
MAINTAINER=	ale@FreeBSD.org
14
COMMENT=	Apache module which dynamically limits a site's slot usage
14
COMMENT=	Apache module which dynamically limits a site's slot usage
15
15
16
USE_APACHE=	yes
16
USE_APACHE=	1.3
17
DOCS=		AUTHORS Changelog
17
AP_FAST_BUILD=	yes
18
AP_GENPLIST=	yes
18
19
19
do-build:
20
PORTDOCS=		AUTHORS Changelog docs
20
	@cd ${WRKSRC} && ${APXS} -c mod_tsunami.c
21
21
22
do-install:
22
post-install:
23
	${APXS} -i -A -n tsunami ${WRKSRC}/mod_tsunami.so
24
.if !defined(NOPORTDOCS)
23
.if !defined(NOPORTDOCS)
25
	@${MKDIR} ${DOCSDIR}
24
	@${MKDIR} ${DOCSDIR}/
26
.for f in ${DOCS}
25
.for f in ${PORTDOCS}
27
	@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
26
	@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
28
.endfor
27
.endfor
29
	@${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
28
	@${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}/
30
.endif
29
.endif
31
32
post-install:
33
	@${CAT} ${PKGMESSAGE}
30
	@${CAT} ${PKGMESSAGE}
34
31
35
.include <bsd.port.mk>
32
.include <bsd.port.mk>
(-)pkg-plist (-11 lines)
Removed Link Here
1
libexec/apache/mod_tsunami.so
2
@exec %D/sbin/apxs -e -A -n tsunami %D/%F
3
@unexec %D/sbin/apxs -e -A -n tsunami %D/%F
4
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
5
%%PORTDOCS%%%%DOCSDIR%%/Changelog
6
%%PORTDOCS%%%%DOCSDIR%%/index.html
7
%%PORTDOCS%%%%DOCSDIR%%/mod_tsunami_files/index.gif
8
%%PORTDOCS%%%%DOCSDIR%%/mod_tsunami_files/home.gif
9
%%PORTDOCS%%%%DOCSDIR%%/mod_tsunami_files/sub.gif
10
%%PORTDOCS%%@dirrm %%DOCSDIR%%/mod_tsunami_files
11
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 133686