mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
30a00f2227
hide actual commands executed and only show short summary line (like "CC foo.c"). CMake and ninja enable this by default, some autotools using ports do as well. This is unacceptable because we need complete build logs at any time, so we now switch to verbose build logs unconditionally. Note that this change deliberately affects ALL builds and not only package builds on cluster, because we need to be sure that user experiencing failure can always provide informative build log regardless of settings and without rerunning the build. Change summary: - Always do verbose builds for cmake, ninja and GNU configure (the latter includes check if --disable-silent-rules is actually supported by the configure script; there are isolated cases when it's not true) - Remove CMAKE_VERBOSE, NINJA_VERBOSE and CONFIGURE_ARGS=--disable-silent-rules from all ports which set them for this is no longer needed - Revert hacks for --disable-silent-rules support priorly committed to biology/ncbi-blast+ and net-p2p/mldonkey - no longer needed as well Submitted by: amdmi3 Reviewed by: mat Exp-run by: antoine Approved by: portmgr (mat, antoine) Differential Revision: D7534
47 lines
1.4 KiB
Makefile
47 lines
1.4 KiB
Makefile
# Created by: Mitsuru Yoshida <mitsuru@riken.go.jp>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tinyproxy
|
|
PORTVERSION= 1.8.3
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= www
|
|
MASTER_SITES= https://banu.com/pub/tinyproxy/${PORTVERSION:R}/ \
|
|
LOCAL/sunpoet
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Small, efficient HTTP proxy server
|
|
|
|
LICENSE= GPLv2 GPLv3
|
|
LICENSE_COMB= dual
|
|
|
|
OPTIONS_DEFINE= REVERSE TRANSPARENT XHEADER
|
|
REVERSE_DESC= Reverse proxy support
|
|
TRANSPARENT_DESC= Transparent proxy support
|
|
XHEADER_DESC= X-Tinyproxy header
|
|
|
|
CONFIGURE_ARGS= --bindir=${PREFIX}/sbin \
|
|
--program-transform-name=""
|
|
GNU_CONFIGURE= yes
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
USES= gmake
|
|
|
|
REVERSE_CONFIGURE_ENABLE= reverse
|
|
TRANSPARENT_CONFIGURE_ENABLE= transparent
|
|
XHEADER_CONFIGURE_ENABLE= xtinyproxy
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e 's|tinyproxy/tinyproxy|tinyproxy|g; s|/etc/tinyproxy|${PREFIX}&|' \
|
|
${WRKSRC}/docs/man5/tinyproxy.conf.txt.in \
|
|
${WRKSRC}/docs/man8/tinyproxy.txt.in \
|
|
${WRKSRC}/etc/tinyproxy.conf.in
|
|
@${REINPLACE_CMD} -e '/\/usr\/share\/tinyproxy/d' ${WRKSRC}/etc/tinyproxy.conf.in
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/etc/tinyproxy.conf ${STAGEDIR}${PREFIX}/etc/tinyproxy.conf.sample
|
|
${INSTALL_MAN} ${FILESDIR}/tinyproxy.conf.5 ${STAGEDIR}${PREFIX}/man/man5/
|
|
${INSTALL_MAN} ${FILESDIR}/tinyproxy.8 ${STAGEDIR}${PREFIX}/man/man8/
|
|
|
|
.include <bsd.port.mk>
|