# New ports collection makefile for:	mod_hosts_access
# Date created:				10 April 2001
# Whom:					will
#
# $FreeBSD: ports/www/mod_hosts_access/Makefile,v 1.1 2001/04/10 22:22:56 will Exp $
#

PORTNAME=	mod_hosts_access
PORTVERSION=	1.0.0
CATEGORIES=	www
MASTER_SITES=	http://www.klomp.org/mod_hosts_access/

MAINTAINER=	ports@FreeBSD.org

BUILD_DEPENDS=	${APXS}:${PORTSDIR}/www/apache13
RUN_DEPENDS=	${APXS}:${PORTSDIR}/www/apache13

APXS?=		${LOCALBASE}/sbin/apxs

do-build:
	@cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c

do-install:
	${APXS} -i -A -n ${PORTNAME:S/mod_//g} ${WRKSRC}/${PORTNAME}.so

.include <bsd.port.mk>
