# New ports collection makefile for:	mod_snake
# Date created:				10 April 2001
# Whom:					will
#
# $FreeBSD: ports/www/mod_snake/Makefile,v 1.15 2007/09/24 18:00:07 pav Exp $
#

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

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

#BUILD_DEPENDS=	${PYTHON_CMD}:${PYTHON_PORTSDIR}
#RUN_DEPENDS=	${BUILD_DEPENDS}

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

CFLAGS+=	-fPIC

.include <bsd.port.pre.mk>

.if ${ARCH} != "i386"
BROKEN=		Does not compile
.endif

.include <bsd.port.post.mk>
