forked from Lainports/freebsd-ports
- adopt new Makefile header Port build fails on local exp-run with apache24 with error: 'conn_rec' has no member named 'remote_ip' or various other apache22 specific functions/parameters with hat apache@
27 lines
693 B
Makefile
27 lines
693 B
Makefile
# Created by: Hung-Yi Chen <gaod@hychen.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mod_memcache_block
|
|
PORTVERSION= 20120821
|
|
CATEGORIES= www
|
|
MASTER_SITES= https://github.com/netik/mod_memcache_block/tarball/${GITVERSION}/
|
|
DISTNAME= mod_memcache_block-${GITVERSION}
|
|
DIST_SUBDIR= apache2
|
|
|
|
MAINTAINER= gaod@hychen.org
|
|
COMMENT= An Apache 2 module to block ip from lists stored in memcache
|
|
|
|
LIB_DEPENDS+= memcached:${PORTSDIR}/databases/libmemcached
|
|
|
|
FETCH_ARGS= -Fpr
|
|
GITVERSION= 7b1fcec
|
|
WRKSRC= ${WRKDIR}/netik-${DISTNAME}
|
|
LATEST_LINK= mod_memcache_block
|
|
|
|
USE_APACHE= 22
|
|
AP_FAST_BUILD= yes
|
|
AP_GENPLIST= yes
|
|
AP_INC= ${LOCALBASE}/include/libmemcached
|
|
AP_LIB= ${LOCALBASE}/lib -lmemcached
|
|
|
|
.include <bsd.port.mk>
|