forked from Lainports/freebsd-ports
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
28 lines
612 B
Makefile
28 lines
612 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= mod_maxminddb
|
|
PORTVERSION= 1.1.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= www
|
|
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= mmokhi@FreeBSD.org
|
|
COMMENT= MaxMind DB Apache Module
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb
|
|
|
|
USES= apache:2.4+ 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>
|