Lines 2-12
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= mod_geoip2 |
4 |
PORTNAME= mod_geoip2 |
5 |
PORTVERSION= 1.2.8 |
5 |
PORTVERSION= 1.2.9 |
6 |
CATEGORIES= www geography |
6 |
CATEGORIES= www geography |
7 |
MASTER_SITES= http://geolite.maxmind.com/download/geoip/api/mod_geoip2/ |
7 |
MASTER_SITES= https://github.com/maxmind/geoip-api-mod_geoip2/archive/ |
8 |
DISTNAME= ${PORTNAME}_${PORTVERSION} |
8 |
DISTNAME= ${PORTVERSION} |
|
|
9 |
DIST_SUBDIR= mod_geoip2 |
9 |
|
10 |
|
|
|
11 |
WRKSRC= ${WRKDIR}/geoip-api-${PORTNAME}-${PORTVERSION} |
12 |
|
10 |
MAINTAINER= jau@iki.fi |
13 |
MAINTAINER= jau@iki.fi |
11 |
COMMENT= Apache module that provides the country code of the client IP |
14 |
COMMENT= Apache module that provides the country code of the client IP |
12 |
|
15 |
|
Lines 15-22
Link Here
|
15 |
BUILD_DEPENDS= GeoIP>=1.4.4:${PORTSDIR}/net/GeoIP |
18 |
BUILD_DEPENDS= GeoIP>=1.4.4:${PORTSDIR}/net/GeoIP |
16 |
RUN_DEPENDS= GeoIP>=1.4.4:${PORTSDIR}/net/GeoIP |
19 |
RUN_DEPENDS= GeoIP>=1.4.4:${PORTSDIR}/net/GeoIP |
17 |
|
20 |
|
18 |
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION} |
|
|
19 |
|
20 |
USE_APACHE= 22 |
21 |
USE_APACHE= 22 |
21 |
MODULENAME= mod_geoip |
22 |
MODULENAME= mod_geoip |
22 |
AP_FAST_BUILD= yes |
23 |
AP_FAST_BUILD= yes |
Lines 25-31
Link Here
|
25 |
AP_LIB+= ${LOCALBASE}/lib -lGeoIP |
26 |
AP_LIB+= ${LOCALBASE}/lib -lGeoIP |
26 |
|
27 |
|
27 |
SUB_FILES+= pkg-message |
28 |
SUB_FILES+= pkg-message |
28 |
PORTDOCS= Changes INSTALL README README.php |
29 |
PORTDOCS= Changes INSTALL README.md README.php |
29 |
|
30 |
|
30 |
post-install: |
31 |
post-install: |
31 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
32 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |