Files
ports/www/mod_maxminddb/Makefile
T
Jochen Neumeister 7ae0d54077 www/mod_maxminddb: update to 1.3.0
Upstream changes:
- Add support for libmaxminddb v1.8+
- Improve handling of database reloads
- Minor bug fixes and build system cleanups

Ports changes:
- Remove automatic module activation via apxs -a to avoid modifying httpd.conf during stage

Sponsored by:	Netzkommune GmbH
2026-01-07 16:19:15 +01:00

28 lines
641 B
Makefile

PORTNAME= mod_maxminddb
PORTVERSION= 1.3.0
PORTREVISION= 0
CATEGORIES= www
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
MAINTAINER= joneum@FreeBSD.org
COMMENT= MaxMind DB Apache Module
WWW= https://github.com/maxmind/mod_maxminddb
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb
USES= apache autoreconf compiler:c11 gmake localbase
GNU_CONFIGURE= yes
USE_GITHUB= yes
GH_ACCOUNT= maxmind
post-patch:
@${REINPLACE_CMD} -e 's|%%LIBEXECDEST%%|${STAGEDIR}${PREFIX}/${APACHEMODDIR}|g' ${WRKSRC}/src/Makefile.am
pre-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
.include <bsd.port.mk>