1998-07-04 19:38:12 +00:00
|
|
|
# New ports collection makefile for: boa
|
|
|
|
# Date created: 21 May 1998
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-31 02:43:35 +00:00
|
|
|
# $FreeBSD$
|
1998-07-04 19:38:12 +00:00
|
|
|
#
|
|
|
|
|
2000-04-10 00:07:29 +00:00
|
|
|
PORTNAME= boa
|
2004-10-27 20:50:05 +00:00
|
|
|
PORTVERSION= 0.94.14.r20
|
|
|
|
PORTREVISION= 0
|
2002-05-08 14:41:43 +00:00
|
|
|
PORTEPOCH= 1
|
|
|
|
CATEGORIES= www ipv6
|
1998-07-04 19:38:12 +00:00
|
|
|
MASTER_SITES= http://www.boa.org/
|
2003-01-31 13:13:41 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/}
|
1998-07-04 19:38:12 +00:00
|
|
|
|
2004-01-18 10:50:15 +00:00
|
|
|
MAINTAINER= ale@FreeBSD.org
|
2003-02-21 14:08:24 +00:00
|
|
|
COMMENT= High performance single-tasking web server
|
1998-07-04 19:38:12 +00:00
|
|
|
|
2003-01-31 13:13:41 +00:00
|
|
|
USE_BZIP2= yes
|
2000-04-30 20:13:49 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2004-10-27 20:50:05 +00:00
|
|
|
INFO= boa
|
2000-08-23 08:09:25 +00:00
|
|
|
MAN8= boa.8
|
2000-04-30 20:13:49 +00:00
|
|
|
|
2004-10-27 20:50:05 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= boa.texi boa.html boa.txt boa_banner.png
|
|
|
|
.endif
|
|
|
|
|
2000-04-30 20:13:49 +00:00
|
|
|
post-patch:
|
2003-01-31 13:13:41 +00:00
|
|
|
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" \
|
|
|
|
${WRKSRC}/examples/boa.conf ${WRKSRC}/src/defines.h
|
2002-03-09 18:23:59 +00:00
|
|
|
|
1998-07-04 19:38:12 +00:00
|
|
|
do-install:
|
2003-01-31 13:13:41 +00: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 05:38:30 +00:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2003-01-31 13:13:41 +00: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 19:38:12 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-02-25 05:38:30 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-10-27 20:50:05 +00:00
|
|
|
.for f in ${PORTDOCS}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
2003-01-31 13:13:41 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/docs/boa.info ${PREFIX}/info
|
1998-07-04 19:38:12 +00:00
|
|
|
|
2002-02-25 05:38:30 +00: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 19:38:12 +00:00
|
|
|
.include <bsd.port.mk>
|