# New ports collection makefile for:	mail/imaptools
# Date created:				2010-10-26
# Whom:					bsam
#
# $FreeBSD: branches/RELEASE_8_4_0/mail/imaptools/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	imaptools
PORTVERSION=	1.135
CATEGORIES=	mail
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	bsam
DISTNAME=	imap_tools_V${PORTVERSION}

MAINTAINER=	bsam@FreeBSD.org
COMMENT=	A number of tools and scripts for use with IMAP servers

LICENSE=	ISCL
LICENSE_FILE=	${WRKDIR}/license.txt

CONFLICTS=	imaputils-[0-9]*

USE_PERL5_RUN=	yes

do-build:
	${REINPLACE_CMD} \
		-e 's|/usr/bin/perl|${PERL}|g' ${WRKDIR}/*.pl

do-install:
	${INSTALL_SCRIPT} ${WRKDIR}/*.pl ${PREFIX}/bin

.include <bsd.port.mk>
