blob: 19e45dbaefd2415f8050e832647b6038fe69fa73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $NetBSD: Makefile,v 1.5 2014/06/11 12:57:22 joerg Exp $
#
DISTNAME= mod_geoip2_1.2.5
PKGNAME= ${DISTNAME:S/mod_/${APACHE_PKG_PREFIX}-/:S/_/-/}
CATEGORIES= www
MASTER_SITES= http://geolite.maxmind.com/download/geoip/api/mod_geoip2/
MAINTAINER= msporleder@gmail.com
HOMEPAGE= http://www.maxmind.com/app/mod_geoip
COMMENT= Apache module to interact with the MaxMind geoip database
LICENSE= apache-1.1
APACHE_MODULE_NAME= mod_geoip.so
PKG_APACHE_ACCEPTED= apache22
NO_CONFIGURE= yes
CPPFLAGS+= -I${DESTDIR}/include
LDFLAGS+= -L${DESTDIR}/lib -lGeoIP
pre-install:
cp ${WRKDIR}/${DISTNAME}/.libs/mod_geoip.so ${WRKDIR}/${DISTNAME}/
.include "../../mk/apache.module.mk"
.include "../../net/GeoIP/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|