# New ports collection makefile for:	squirrelmail-avelsieve-plugin
# Date created:		28 Jun 2007
# Whom:			Neil Darlow <neil@darlow.co.uk>
#
# $FreeBSD: ports/mail/squirrelmail-avelsieve-plugin/Makefile,v 1.3 2009/03/31 14:07:50 tabthorpe Exp $

PORTNAME=	avelsieve
PORTVERSION=	1.9.7
PORTREVISION=	2
DIST_SUBDIR=	squirrelmail

MAINTAINER=	neil@darlow.co.uk
COMMENT=	SquirrelMail plugin for Server-Side Mail Filtering management

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"

pre-install:
	${RM} -Rf ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/po
	${FIND} ${WRKSRC}/${SQUIRREL_PLUGIN_NAME} -type f \
		\( -name '.cvsignore' -o -name '*.bak' -o -name '*.orig' \) -exec ${RM} {} \;

.include <bsd.port.post.mk>
