mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-07 11:49:40 +00:00
![Philip M. Gollucci](/assets/img/avatar_default.png)
- This can be changed later as needed, if at all, either way we won't remove them until after 9.0 is released. With Hat: apache@ Reported by: dvl via freshports
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
# New ports collection makefile for: mod_geoip
|
|
# Date created: 24 Jan 2003
|
|
# Whom: Sean Chittenden <seanc@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mod_geoip
|
|
PORTVERSION= 1.3.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= www geography
|
|
MASTER_SITES= http://geolite.maxmind.com/download/geoip/api/mod_geoip/
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
MAINTAINER= yarodin@gmail.com
|
|
COMMENT= An Apache module that provides the country code of the client's IP
|
|
|
|
BUILD_DEPENDS= GeoIP>=1.4.4:${PORTSDIR}/net/GeoIP
|
|
RUN_DEPENDS= GeoIP>=1.4.4:${PORTSDIR}/net/GeoIP
|
|
|
|
DEPRECATED= apache13 is deprecated, migrate to 2.2.x+ now
|
|
EXPIRATION_DATE= 2011-11-01
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
CONFLICTS= mod_geoip2-[0-9]*
|
|
|
|
USE_APACHE= 13
|
|
AP_FAST_BUILD= yes
|
|
AP_GENPLIST= yes
|
|
AP_INC+= ${LOCALBASE}/include
|
|
AP_LIB+= ${LOCALBASE}/lib -lGeoIP
|
|
|
|
SUB_FILES+= pkg-message
|
|
PORTDOCS= Changes INSTALL README README.php
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|