mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 19:06:28 -04:00
apache22 and apache25 had been removed a long time ago however the apache.mk file has never been refactored and is out of sync from the file Mk/bsd.default-versions.mk. These changes refactors the removals of the older versions. In addition: - Move some keywords like USE_APACHE, USE_APACHE_BUILD, USE_APACHE_RUN from SANITY_DEPRECATED to SANITY_UNSUPPORTED - Remove apache versions from ports Makefiles as currently there is only one available version in the tree. However the version checks are still valid and should work flawlessly whenever a new version is added. For example USES=apache:2.2+ are simply replaced with USES=apache. As currently there are no other versions available for test this could not be checked on it's own ground. - Update FOO_USE=APACHE=yes to FOO_USES=apache - Remove trailing whitespaces Approved by: portmgr Differential Revision: https://reviews.freebsd.org/D38113
27 lines
641 B
Makefile
27 lines
641 B
Makefile
PORTNAME= mod_maxminddb
|
|
PORTVERSION= 1.2.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>
|