1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/www/boa/Makefile
Baptiste Daroussin 7990f81066 Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
2018-11-10 18:12:57 +00:00

57 lines
1.4 KiB
Makefile

# 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
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>