2013-09-21 01:36:50 +02:00
|
|
|
# Created by: Andrey Zakhvatov
|
1999-08-31 04:43:35 +02:00
|
|
|
# $FreeBSD$
|
1998-07-04 21:38:12 +02:00
|
|
|
|
2000-04-10 02:07:29 +02:00
|
|
|
PORTNAME= boa
|
2008-09-03 08:04:12 +02:00
|
|
|
PORTVERSION= 0.94.14.r21
|
2002-05-08 16:41:43 +02:00
|
|
|
PORTEPOCH= 1
|
|
|
|
CATEGORIES= www ipv6
|
1998-07-04 21:38:12 +02:00
|
|
|
MASTER_SITES= http://www.boa.org/
|
2003-01-31 14:13:41 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/}
|
1998-07-04 21:38:12 +02:00
|
|
|
|
2014-07-02 19:17:20 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 15:08:24 +01:00
|
|
|
COMMENT= High performance single-tasking web server
|
1998-07-04 21:38:12 +02:00
|
|
|
|
2014-06-26 09:32:36 +02:00
|
|
|
USES= gmake makeinfo tar:bzip2
|
2000-04-30 22:13:49 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2004-10-27 22:50:05 +02:00
|
|
|
INFO= boa
|
2000-08-23 10:09:25 +02:00
|
|
|
MAN8= boa.8
|
2000-04-30 22:13:49 +02:00
|
|
|
|
2004-10-27 22:50:05 +02:00
|
|
|
PORTDOCS= boa.texi boa.html boa.txt boa_banner.png
|
|
|
|
|
2013-09-21 01:36:50 +02:00
|
|
|
NO_STAGE= yes
|
2000-04-30 22:13:49 +02:00
|
|
|
post-patch:
|
2003-01-31 14:13:41 +01:00
|
|
|
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" \
|
|
|
|
${WRKSRC}/examples/boa.conf ${WRKSRC}/src/defines.h
|
2002-03-09 19:23:59 +01:00
|
|
|
|
1998-07-04 21:38:12 +02:00
|
|
|
do-install:
|
2003-01-31 14:13:41 +01:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/src/boa ${PREFIX}/sbin
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/src/boa_indexer ${PREFIX}/sbin
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/docs/boa.8 ${PREFIX}/man/man8
|
2002-02-25 06:38:30 +01:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2003-01-31 14:13:41 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/examples/boa.conf ${EXAMPLESDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/examples/cgi-test.cgi ${EXAMPLESDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/examples/nph-test.cgi ${EXAMPLESDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/examples/resolver.pl ${EXAMPLESDIR}
|
1998-07-04 21:38:12 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-02-25 06:38:30 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-10-27 22:50:05 +02:00
|
|
|
.for f in ${PORTDOCS}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
2003-01-31 14:13:41 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/docs/boa.info ${PREFIX}/info
|
1998-07-04 21:38:12 +02:00
|
|
|
|
2002-02-25 06:38:30 +01:00
|
|
|
post-install:
|
|
|
|
@if [ ! -f ${PREFIX}/etc/rc.d/boa.sh ]; then \
|
|
|
|
${ECHO} "Installing ${PREFIX}/etc/rc.d/boa.sh.sample \
|
|
|
|
startup file."; \
|
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/boa.sh.sample \
|
|
|
|
${PREFIX}/etc/rc.d; \
|
|
|
|
fi
|
|
|
|
|
1998-07-04 21:38:12 +02:00
|
|
|
.include <bsd.port.mk>
|