# New ports collection makefile for:	mod_snake
# Date created:				10 April 2001
# Whom:					will
#
# $FreeBSD: ports/www/mod_snake/Makefile,v 1.8 2004/02/04 05:09:31 marcus Exp $
#

PORTNAME=	mod_snake
PORTVERSION=	0.5.0
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	modsnake

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A library to easily create flexible Apache modules

BUILD_DEPENDS=	${APXS}:${PORTSDIR}/${APACHE_PORT} \
		${PYTHON_CMD}:${PYTHON_PORTSDIR}
RUN_DEPENDS=	${BUILD_DEPENDS}

USE_BZIP2=	yes
USE_PYTHON=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-apxs="${APXS}"
USE_GMAKE=	yes

.include <bsd.port.pre.mk>

.if ${ARCH} != "i386" && ${ARCH} != "alpha"
BROKEN=		"Doesn't work on 64bit systems, see ports/57523"
.endif

.include <bsd.port.post.mk>
