# New ports collection makefile for:	mod_trigger
# Date created:				10 April 2001
# Whom:					will
#
# $FreeBSD: ports/www/mod_trigger/Makefile,v 1.4 2003/02/21 14:01:21 knu Exp $
#

PORTNAME=	mod_trigger
PORTVERSION=	1.1
CATEGORIES=	www
MASTER_SITES=	http://software.tangent.org/download/ \
		ftp://ftp.tangent.org/pub/apache/

MAINTAINER=	svenasse@polaris.ca
COMMENT=	Apache module to launch triggers if certain actions occur

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

APXS?=		${LOCALBASE}/sbin/apxs

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

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

.include <bsd.port.mk>
