2003-01-24 21:37:55 +01:00
|
|
|
# New ports collection makefile for: mod_geoip
|
|
|
|
# Date created: 24 Jan 2003
|
|
|
|
# Whom: Sean Chittenden <seanc@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mod_geoip
|
2008-11-02 21:53:28 +01:00
|
|
|
PORTVERSION= 1.3.4
|
2009-03-11 22:16:49 +01:00
|
|
|
PORTREVISION= 1
|
2007-07-22 21:53:52 +02:00
|
|
|
CATEGORIES= www geography
|
2003-01-24 21:37:55 +01:00
|
|
|
MASTER_SITES= http://www.maxmind.com/download/geoip/api/mod_geoip/
|
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
|
2008-03-25 09:18:31 +01:00
|
|
|
MAINTAINER= yarodin@gmail.com
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= An Apache module that provides the country code of the client's IP
|
2003-01-24 21:37:55 +01:00
|
|
|
|
2008-03-15 12:37:10 +01:00
|
|
|
BUILD_DEPENDS= GeoIP>=1.4.4:${PORTSDIR}/net/GeoIP
|
|
|
|
RUN_DEPENDS= GeoIP>=1.4.4:${PORTSDIR}/net/GeoIP
|
2003-01-24 21:37:55 +01:00
|
|
|
|
2009-05-21 22:45:34 +02:00
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
|
2008-03-19 08:47:40 +01:00
|
|
|
CONFLICTS= mod_geoip2-[0-9]*
|
|
|
|
|
2007-02-06 22:05:32 +01:00
|
|
|
USE_APACHE= 1.3
|
2008-03-15 12:37:10 +01:00
|
|
|
AP_FAST_BUILD= yes
|
|
|
|
AP_GENPLIST= yes
|
2008-03-19 08:47:40 +01:00
|
|
|
AP_INC+= ${LOCALBASE}/include
|
|
|
|
AP_LIB+= ${LOCALBASE}/lib -lGeoIP
|
2003-01-24 21:37:55 +01:00
|
|
|
|
2008-03-19 08:47:40 +01:00
|
|
|
SUB_FILES+= pkg-message
|
|
|
|
PORTDOCS= Changes INSTALL README README.php
|
2003-01-24 21:37:55 +01:00
|
|
|
|
2008-03-15 12:37:10 +01:00
|
|
|
post-install:
|
2003-01-24 21:37:55 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2008-03-19 08:47:40 +01:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
2003-01-24 21:37:55 +01:00
|
|
|
.endif
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2008-03-19 08:47:40 +01:00
|
|
|
.include <bsd.port.mk>
|