2001-04-11 00:22:56 +02:00
|
|
|
# New ports collection makefile for: mod_hosts_access
|
|
|
|
# Date created: 10 April 2001
|
|
|
|
# Whom: will
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mod_hosts_access
|
|
|
|
PORTVERSION= 1.0.0
|
2002-08-05 18:48:38 +02:00
|
|
|
PORTREVISION= 1
|
2001-04-11 00:22:56 +02:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://www.klomp.org/mod_hosts_access/
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= Apache module that makes Apache respect hosts.allow and hosts.deny
|
2001-04-11 00:22:56 +02:00
|
|
|
|
2003-11-07 10:12:58 +01:00
|
|
|
USE_APACHE= yes
|
2002-08-05 18:48:38 +02:00
|
|
|
APXS_FLAGS?= -S LDFLAGS_SHLIB="-shared -lwrap"
|
2001-04-11 00:22:56 +02:00
|
|
|
|
|
|
|
do-build:
|
2002-08-05 18:48:38 +02:00
|
|
|
@cd ${WRKSRC} && ${APXS} ${APXS_FLAGS} -c ${PORTNAME}.c
|
2001-04-11 00:22:56 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${APXS} -i -A -n ${PORTNAME:S/mod_//g} ${WRKSRC}/${PORTNAME}.so
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|