mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
b6ff4ae612
The main site indicates that module works with Apache 2.4 and the submitted has tested it on FreeBSD 10/i386 PR: 192127 Submitted by: John Marshall Approved by: maintainer timeout (3 weeks)
37 lines
882 B
Makefile
37 lines
882 B
Makefile
# Created by: Jukka A. Ukkonen <jau@iki.fi>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mod_geoip2
|
|
PORTVERSION= 1.2.9
|
|
PORTREVISION= 1
|
|
CATEGORIES= www geography
|
|
MASTER_SITES= https://github.com/maxmind/geoip-api-mod_geoip2/archive/
|
|
DISTNAME= ${PORTVERSION}
|
|
DIST_SUBDIR= mod_geoip2
|
|
|
|
MAINTAINER= jau@iki.fi
|
|
COMMENT= Apache module that provides the country code of the client IP
|
|
|
|
LICENSE= APACHE20
|
|
|
|
BUILD_DEPENDS= GeoIP>=1.4.4:${PORTSDIR}/net/GeoIP
|
|
RUN_DEPENDS= GeoIP>=1.4.4:${PORTSDIR}/net/GeoIP
|
|
|
|
USE_APACHE= 22+
|
|
MODULENAME= mod_geoip
|
|
AP_FAST_BUILD= yes
|
|
AP_GENPLIST= yes
|
|
AP_INC+= ${LOCALBASE}/include
|
|
AP_LIB+= ${LOCALBASE}/lib -lGeoIP
|
|
|
|
WRKSRC= ${WRKDIR}/geoip-api-${PORTNAME}-${PORTVERSION}
|
|
|
|
SUB_FILES+= pkg-message
|
|
PORTDOCS= Changes INSTALL README.md README.php
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|