mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
cc86f71219
Approved by: portmgr (blanket)
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
PORTNAME= pound
|
|
PORTVERSION= 4.11
|
|
PORTREVISION= 1
|
|
CATEGORIES= www net
|
|
MASTER_SITES= https://github.com/graygnuorg/pound/releases/download/v${PORTVERSION}/
|
|
|
|
MAINTAINER= zeus@gnu.org.ua
|
|
COMMENT= HTTP/HTTPS reverse-proxy and load-balancer
|
|
WWW= https://github.com/graygnuorg/pound
|
|
|
|
LICENSE= GPLv3+
|
|
|
|
TEST_DEPENDS= p5-IO-FDPass>=0:devel/p5-IO-FDPass \
|
|
p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL
|
|
|
|
USES= cpe gmake ssl
|
|
CPE_VENDOR= apsis
|
|
GNU_CONFIGURE= yes
|
|
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
|
|
CONFIGURE_ARGS= --disable-tcmalloc --disable-hoard
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
TEST_TARGET= check
|
|
|
|
SUB_FILES= ${PORTNAME}.cfg
|
|
SUB_LIST= NAME=${PORTNAME}
|
|
|
|
PORTDOCS= AUTHORS ChangeLog ChangeLog.apsis NEWS README THANKS
|
|
|
|
OPTIONS_DEFINE= DOCS DSAPARAM PCRE
|
|
OPTIONS_DEFAULT=PCRE
|
|
DSAPARAM_DESC= Generate DH parameters without using "safe" primes
|
|
|
|
PCRE_LIB_DEPENDS= libpcre2-posix.so:devel/pcre2
|
|
PCRE_USES= localbase
|
|
PCRE_CONFIGURE_ENABLE= pcreposix
|
|
|
|
post-patch-DSAPARAM-on:
|
|
@${REINPLACE_CMD} -e '/openssl dhparam/s,-5,-dsaparam,' \
|
|
${WRKSRC}/src/Makefile.in
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.cfg \
|
|
${STAGEDIR}${PREFIX}/etc/${PORTNAME}.cfg.sample
|
|
|
|
post-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|