2005-10-02 17:47:43 +02:00
|
|
|
# New ports collection makefile for: mod_geoip2
|
|
|
|
# Date created: 26 Aug 2005
|
|
|
|
# Whom: Jukka A. Ukkonen <jau@iki.fi>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mod_geoip2
|
2011-11-13 20:26:48 +01:00
|
|
|
PORTVERSION= 1.2.7
|
2007-07-22 21:53:52 +02:00
|
|
|
CATEGORIES= www geography
|
2010-10-05 18:49:53 +02:00
|
|
|
MASTER_SITES= http://geolite.maxmind.com/download/geoip/api/mod_geoip2/
|
2005-10-02 17:47:43 +02:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= jau@iki.fi
|
|
|
|
COMMENT= An Apache module that provides the country code of the client's IP
|
|
|
|
|
2012-01-09 16:41:08 +01:00
|
|
|
LICENSE= AL2
|
2011-11-13 20:26:48 +01:00
|
|
|
|
2008-03-17 07:50:02 +01:00
|
|
|
BUILD_DEPENDS= GeoIP>=1.4.4:${PORTSDIR}/net/GeoIP
|
|
|
|
RUN_DEPENDS= GeoIP>=1.4.4:${PORTSDIR}/net/GeoIP
|
2005-10-02 17:47:43 +02:00
|
|
|
|
2011-11-13 20:26:48 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2009-05-21 22:45:34 +02:00
|
|
|
|
2005-10-02 17:47:43 +02:00
|
|
|
CONFLICTS= mod_geoip-[0-9]*
|
|
|
|
|
2008-10-12 07:03:23 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
|
2008-07-01 14:21:05 +02:00
|
|
|
|
2011-08-20 19:27:52 +02:00
|
|
|
USE_APACHE= 20+
|
2008-03-17 07:50:02 +01:00
|
|
|
MODULENAME= mod_geoip
|
|
|
|
AP_FAST_BUILD= yes
|
|
|
|
AP_GENPLIST= yes
|
2008-03-17 13:10:35 +01:00
|
|
|
AP_INC+= ${LOCALBASE}/include
|
|
|
|
AP_LIB+= ${LOCALBASE}/lib -lGeoIP
|
2005-10-02 17:47:43 +02:00
|
|
|
|
2008-03-17 07:50:02 +01:00
|
|
|
SUB_FILES+= pkg-message
|
2005-10-02 17:47:43 +02:00
|
|
|
PORTDOCS= Changes INSTALL README README.php
|
|
|
|
|
2008-03-17 07:50:02 +01:00
|
|
|
post-install:
|
2005-10-02 17:47:43 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|