1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/www/boa/Makefile
David W. Chapman Jr. fb38fae391 Update to 0.94.12
pkg_version -t 0.94.12.r5 0.94.12 dictated a PORTEPOCH was needed

PR:		37784
Submitted by:	maintainer
2002-05-08 14:41:43 +00:00

55 lines
1.5 KiB
Makefile

# New ports collection makefile for: boa
# Date created: 21 May 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= boa
PORTVERSION= 0.94.12
PORTEPOCH= 1
CATEGORIES= www ipv6
MASTER_SITES= http://www.boa.org/
MAINTAINER= sysadmin@alexdupre.com
WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAN8= boa.8
post-patch:
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/defines.h \
${WRKSRC}/../boa.conf
post-build:
@cd ${WRKSRC}/../docs && ${MAKE} boa.info boa.html boa.txt
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/boa ${PREFIX}/sbin
@${INSTALL_PROGRAM} ${WRKSRC}/boa_indexer ${PREFIX}/sbin
@${INSTALL_MAN} ${WRKSRC}/../docs/boa.8 ${PREFIX}/man/man8
@${INSTALL_DATA} ${WRKSRC}/../boa.conf ${PREFIX}/etc/boa.conf.sample
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/../examples/* ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/../docs/boa.texi ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/../docs/boa.html ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/../docs/boa.txt ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/../docs/boa_banner.png ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/../docs/boa.info ${PREFIX}/info
@install-info ${PREFIX}/info/boa.info ${PREFIX}/info/dir
.endif
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
.include <bsd.port.mk>