openbsd-ports/www/mod_geoip/Makefile
merdely ba8add3ebb Remove surrounding quotes from
COMMENT-*/ERRORS/NO_REGRESS/PERMIT_*/REGRESS_IS_INTERACTIVE

Change '.include "bsd.port.mk"' to '.include <bsd.port.mk>' while here
(ok naddy@)
2007-09-15 20:38:20 +00:00

41 lines
918 B
Makefile

# $OpenBSD: Makefile,v 1.10 2007/09/15 20:38:22 merdely Exp $
COMMENT= Apache module for finding the country of web requests
DISTNAME= mod_geoip_1.2.6
PKGNAME= mod_geoip-1.2.6p2
CATEGORIES= www geo
HOMEPAGE= http://www.maxmind.com/app/mod_geoip
MASTER_SITES= http://www.maxmind.com/download/geoip/api/mod_geoip/
MODULES+= apache-module
# Apache Software License
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODAPACHE_NAME= geoip
LIB_DEPENDS= GeoIP.>=4::net/GeoIP
FLAGS= -I${LOCALBASE}/include -L${LOCALBASE}/lib
NO_REGRESS= Yes
APXS= /usr/sbin/apxs
do-build:
cd ${WRKSRC} && \
${APXS} -c -o mod_geoip.so ${FLAGS} -lGeoIP mod_geoip.c
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_geoip
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mod_geoip
${MODAPACHE_INSTALL}
.include <bsd.port.mk>