ports/security/modsecurity3-apache/Makefile
Dima Panov a8a9779df9 security/modsecurity3-apache: unbreak after 0b71d7d972
After security/modsecurity3 was updated to 3.0.5, it intriduce an API breakage for consumers.
Fix it by use corrected checkpoint of usptream repo.

With hat:	ports-secteam
2021-11-12 07:35:33 +10:00

36 lines
858 B
Makefile

PORTNAME= modsecurity3-apache
DISTVERSIONPREFIX= v
DISTVERSION= 0.0.9-beta1-20
DISTVERSIONSUFFIX= -gf692ea99
CATEGORIES= security www
MAINTAINER= joneum@FreeBSD.org
COMMENT= Intrusion detection and prevention engine / Apache Wrapper
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libmodsecurity.so:security/modsecurity3
USES= apache:2.4+ autoreconf
USE_GCC= yes
USE_GITHUB= yes
GH_ACCOUNT= SpiderLabs
GH_PROJECT= ModSecurity-apache
GNU_CONFIGURE= yes
CONFIGURE_ENV= V3LIB=${LOCALBASE}/lib V3INCLUDE=${LOCALBASE}/include
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
${INSTALL_LIB} ${WRKSRC}/src/.libs/mod_security3.so \
${STAGEDIR}${PREFIX}/${APACHEMODDIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>