blob: 497299aa9b9b64abfdf04b58fdac1fecde8e0075 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# Created by: Andrey Zakhvatov
# $FreeBSD$
PORTNAME= boa
DISTVERSION= 0.94.14rc21
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www ipv6
MASTER_SITES= http://www.boa.org/
MAINTAINER= ports@FreeBSD.org
COMMENT= High performance single-tasking web server
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN= unfetchable
USES= cpe gmake makeinfo tar:bzip2
CPE_VENDOR= ${PORTVERSION:C/\.r/./}
GNU_CONFIGURE= yes
INFO= boa
PORTDOCS= boa.texi boa.html boa.txt boa_banner.png
PORTEXAMPLES= boa.conf cgi-test.cgi nph-test.cgi resolver.pl
OPTIONS_DEFINE= DOCS EXAMPLES
SUB_FILES= pkg-message
PLIST_FILES= etc/rc.d/boa.sh.sample \
man/man8/boa.8.gz \
sbin/boa \
sbin/boa_indexer \
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" \
${WRKSRC}/examples/boa.conf ${WRKSRC}/src/defines.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/boa ${STAGEDIR}${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/src/boa_indexer ${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/docs/boa.8 ${STAGEDIR}${PREFIX}/man/man8
${INSTALL_DATA} ${WRKSRC}/docs/boa.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
${INSTALL_SCRIPT} ${FILESDIR}/boa.sh.sample ${STAGEDIR}${PREFIX}/etc/rc.d
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/docs/${f} ${STAGEDIR}${DOCSDIR}
.endfor
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/examples/${f} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>
|